Unix and Linux Discussions Tagged with for each |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
0 |
11,408 |
Programming |
|
|
|
4 |
3,902 |
Shell Programming and Scripting |
|
|
|
3 |
1,698 |
Shell Programming and Scripting |
|
|
|
41 |
13,628 |
Shell Programming and Scripting |
|
|
|
3 |
12,950 |
Programming |
|
|
|
0 |
956 |
UNIX and Linux RSS News |
|
|
|
3 |
19,011 |
AIX |
|
|
|
7 |
5,470 |
IP Networking |
|
|
|
9 |
7,025 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
9,129 |
Shell Programming and Scripting |
|
|
|
1 |
1,969 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
35,546 |
UNIX for Advanced & Expert Users |
|
|
|
2 |
3,606 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
4,700 |
UNIX for Advanced & Expert Users |
|
|
|
3 |
7,134 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
18,195 |
UNIX for Advanced & Expert Users |
|
|
|
1 |
2,365 |
UNIX for Dummies Questions & Answers |
|
|
|
8 |
15,645 |
UNIX for Dummies Questions & Answers |
|
|
|
10 |
6,718 |
UNIX for Advanced & Expert Users |
|
|
|
5 |
5,305 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
2,776 |
Post Here to Contact Site Administrators and Moderators |
|
|
|
1 |
3,000 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
4,416 |
IP Networking |
|
|
|
1 |
3,129 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
15,548 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
60,797 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
5,790 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
9,619 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
3,784 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
3,626 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
6,567 |
IP Networking |
|
|
|
9 |
11,392 |
Cybersecurity |
|
|
|
3 |
29,218 |
Where do I download LINUX & UNIX? |
|
|
|
3 |
2,770 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
5,400 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
22,508 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
3,648 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
2,670 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
5,730 |
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)