Unix and Linux Discussions Tagged with for each |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
0 |
11,289 |
Programming |
|
|
|
4 |
3,858 |
Shell Programming and Scripting |
|
|
|
3 |
1,641 |
Shell Programming and Scripting |
|
|
|
41 |
13,511 |
Shell Programming and Scripting |
|
|
|
3 |
12,308 |
Programming |
|
|
|
0 |
943 |
UNIX and Linux RSS News |
|
|
|
3 |
18,901 |
AIX |
|
|
|
7 |
5,157 |
IP Networking |
|
|
|
9 |
6,740 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
8,926 |
Shell Programming and Scripting |
|
|
|
1 |
1,915 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
34,966 |
UNIX for Advanced & Expert Users |
|
|
|
2 |
3,491 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
4,602 |
UNIX for Advanced & Expert Users |
|
|
|
3 |
7,002 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
18,090 |
UNIX for Advanced & Expert Users |
|
|
|
1 |
2,253 |
UNIX for Dummies Questions & Answers |
|
|
|
8 |
15,298 |
UNIX for Dummies Questions & Answers |
|
|
|
10 |
6,474 |
UNIX for Advanced & Expert Users |
|
|
|
5 |
5,156 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
2,619 |
Post Here to Contact Site Administrators and Moderators |
|
|
|
1 |
2,854 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
4,318 |
IP Networking |
|
|
|
1 |
3,001 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
15,327 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
60,529 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
5,585 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
9,446 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
3,582 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
3,534 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
6,395 |
IP Networking |
|
|
|
9 |
11,033 |
Cybersecurity |
|
|
|
3 |
29,009 |
Where do I download LINUX & UNIX? |
|
|
|
3 |
2,586 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
5,280 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
22,373 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
3,531 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
2,568 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
5,584 |
UNIX for Dummies Questions & Answers |
FORK(3F) FORK(3F)
NAME
fork - create a copy of this process
SYNOPSIS
integer function fork()
DESCRIPTION
Fork creates a copy of the calling process. The only distinction between the 2 processes is that the value returned to one of them
(referred to as the `parent' process) will be the process id of the copy. The copy is usually referred to as the `child' process. The
value returned to the `child' process will be zero.
All logical units open for writing are flushed before the fork to avoid duplication of the contents of I/O buffers in the external file(s).
If the returned value is negative, it indicates an error and will be the negation of the system error code. See perror(3F).
A corresponding exec routine has not been provided because there is no satisfactory way to retain open logical units across the exec. How-
ever, the usual function of fork/exec can be performed using system(3F).
FILES
/usr/lib/libU77.a
SEE ALSO
fork(2), wait(3F), kill(3F), system(3F), perror(3F)
4.2 Berkeley Distribution May 27, 1986 FORK(3F)