Unix and Linux Discussions Tagged with for each |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
0 |
11,687 |
Programming |
|
|
|
4 |
4,051 |
Shell Programming and Scripting |
|
|
|
3 |
1,808 |
Shell Programming and Scripting |
|
|
|
41 |
14,271 |
Shell Programming and Scripting |
|
|
|
3 |
14,093 |
Programming |
|
|
|
0 |
1,015 |
UNIX and Linux RSS News |
|
|
|
3 |
19,196 |
AIX |
|
|
|
7 |
5,942 |
IP Networking |
|
|
|
9 |
7,526 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
9,566 |
Shell Programming and Scripting |
|
|
|
1 |
2,102 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
36,895 |
UNIX for Advanced & Expert Users |
|
|
|
2 |
3,782 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
5,114 |
UNIX for Advanced & Expert Users |
|
|
|
3 |
7,445 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
18,451 |
UNIX for Advanced & Expert Users |
|
|
|
1 |
2,628 |
UNIX for Dummies Questions & Answers |
|
|
|
8 |
16,303 |
UNIX for Dummies Questions & Answers |
|
|
|
10 |
7,281 |
UNIX for Advanced & Expert Users |
|
|
|
5 |
5,718 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
2,983 |
Post Here to Contact Site Administrators and Moderators |
|
|
|
1 |
3,224 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
4,680 |
IP Networking |
|
|
|
1 |
3,375 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
15,984 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
61,286 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
6,210 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
10,169 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
4,327 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
3,912 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
7,053 |
IP Networking |
|
|
|
9 |
12,261 |
Cybersecurity |
|
|
|
3 |
29,594 |
Where do I download LINUX & UNIX? |
|
|
|
3 |
3,241 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
5,965 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
23,042 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
4,246 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
3,118 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
6,175 |
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)