Run Code  | Code Wall  | Users  | Misc  | Feedback  | About  | Login  | Theme  | Privacy 

fork() System call

Language: Layout:
+ ] Compiler args + ] Show input
Compilation time: 0.12 sec, absolute running time: 0.07 sec, cpu time: 0.01 sec, memory peak: 3 Mb, absolute service time: 0,21 sec   
edit mode |  history  | discussion
My process id is 5814
Fork returned is 0
Child process having pid=5816
Parent process having pid=5816
My process id is 5814
Fork returned is 5816
Child process completed