Skip to content

Instantly share code, notes, and snippets.

@joehakimrahme
Created February 2, 2011 22:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joehakimrahme/808608 to your computer and use it in GitHub Desktop.
Save joehakimrahme/808608 to your computer and use it in GitHub Desktop.
First use of the fork() function
#include <stdio.h>
#include <stdlib.h>
int main (int argc, char** argv){
fork();
fprintf(stdout, "Hello World");
return EXIT_SUCCESS;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment