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, 6044👍, 0💬
Popular Posts:
What is a delegate ? Delegate is a class that can hold a reference to a method or a function. Delega...
What is the version information in XML? “version” tag shows which version of XML is used.
What Tools to Use to View HTML Documents? The basic tool you need to view HTML documents is any Web ...
How do you target a specific frame from a hyperlink? Include the name of the frame in the target att...
How To Decrement Dates by 1? - MySQL FAQs - Introduction to SQL Date and Time Handling If you have a...