Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Segmentation fault

Name: Anonymous 2010-01-28 11:03

Can anyone tell me what's wrong with this code? It gives me segmentation fault.


#include <sys/types.h>
#include <signal.h>
#include <unistd.h>

#define start kill(getpid
#define end ,11); fork

int main (int argc, char **argv)
{
    start()
    end();
}

Name: Anonymous 2010-01-28 16:18

>>3
Well... I don't really remember if it was <void.h> or "void.h". I guess he was just copying it all over for every fucking project.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List