Skip to content

Instantly share code, notes, and snippets.

@javawolfpack
Created February 11, 2014 18:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save javawolfpack/8941595 to your computer and use it in GitHub Desktop.
Save javawolfpack/8941595 to your computer and use it in GitHub Desktop.
#include <stdio.h>
#include <unistd.h>
int main()
{
/* fork a child process */
fork();
/* fork another child process */
fork();
/* and fork another */
fork();
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment