Last active
January 29, 2016 15:33
-
-
Save dulimarta/ae8c921292a97e5e6522 to your computer and use it in GitHub Desktop.
CS452 Lab02 - Sample 1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <sys/types.h> | |
#include <unistd.h> | |
int main() | |
{ | |
puts("Before fork"); | |
fork(); | |
puts("After fork"); | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment