Skip to content

Instantly share code, notes, and snippets.

@joe9
joe9 / init.c
Created August 6, 2014 04:56 — forked from rofl0r/init.c
#define _XOPEN_SOURCE 700
#include <signal.h>
#include <unistd.h>
int main()
{
sigset_t set;
int status;
if (getpid() != 1) return 1;
@joe9
joe9 / init.c
Created August 6, 2014 04:56 — forked from rofl0r/init.c
#define _XOPEN_SOURCE 700
#include <signal.h>
#include <unistd.h>
int main()
{
sigset_t set;
int status;
if (getpid() != 1) return 1;
@joe9
joe9 / init.c
Created August 6, 2014 04:57 — forked from rofl0r/init.c
#define _XOPEN_SOURCE 700
#include <signal.h>
#include <unistd.h>
int main()
{
sigset_t set;
int status;
if (getpid() != 1) return 1;