The Open Source Swiss Army Knife
/code/c/unix_c/fork/
/code/c/unix_c/fork/
+
sub-categories
http://www.sirfsup.com/
web directory content
Not logged in
Chat
Register
Login
unix
sql_servers
cryptography
code
web_servers
xml
programmingToolBox
miscellany
windows
web_design
return to:
http:/www.sirfsup.com
/
code
/
c
/
unix_c
/
fork
Permalink:
mkzombie.c
Title: makes a zombie visible running ps command with lifetime of 60 seconds
article options : please login
|
raw source view
#include
<stdio.h>
main
()
{
switch
(
fork
())
{
case
0
:
exit
(
0
);
default
:
sleep
(
60
);
}
}
Leave a Reply
Your Name:
anonymous
Your Email:
Website:
Comments:
The author will be notified of your reply.
return to top