Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
fork()
main() {
int i = 2;
int ret_val;
while(i > 0) {
ret_val = fork();
if (ret_val==0) {
printf(“In child %d. \n”, i);
} else{
printf(“In parent %d. \n”, i);}
i=i-1;
}
}
}
✍: Guest
2009-04-19, 6025👍, 0💬
Popular Posts:
An application needs to load a library before it starts to run, how to code? One option is to use a ...
How To Export Data to an XML File? - Oracle DBA FAQ - Introduction to Oracle SQL Developer If you wa...
What is the difference between Session State and ViewState? ViewState is specific to a page in a ses...
How To Create an Add-to-Bloglines Button on Your Website? - RSS FAQs - Adding Your Feeds to RSS News...
WHat will be the result of the following code? #define TRUE 0 // some code while (TRUE) { // some co...