Archive for April, 2009

Happy Zombie Jesus day!

Sunday, April 12th, 2009

Today is zombie jesus day! So in the spirit of the day, I thought I’d write a little program so your computer too can have a zombie jesus.

File: jesus.c

#include <stdio.h>
#include <string.h>
#include <sys/types.h>
#include <unistd.h>

int main(int argc, char **argv)
    pid_t  pid;

    pid = getpid();
    if (pid == getpid()) {
    } else {

    return 0;

And then…

$ ./jesus &
$ ps ax | grep jesus
19565 pts/0    Z      0:00 [jesus] <defunct>

VoilĂ ! Your very own zombie jesus! (for 30 seconds)

(See also: