Home
last modified time | relevance | path

Searched refs:childpid (Results 1 – 4 of 4) sorted by relevance

/original-bsd/old/dump.4.1/
H A Ddumptape.c156 int childpid; in otape() local
174 childpid = fork(); in otape()
175 if (childpid < 0){ in otape()
179 if (childpid != 0){ in otape()
189 tapeno+1, parentpid, childpid); in otape()
193 if (waitpid != childpid){ in otape()
195 parentpid, childpid, waitpid); in otape()
201 childpid, status&0xFF); in otape()
207 msg("Child %d finishes X_FINOK\n", childpid); in otape()
210 msg("Child %d finishes X_ABORT\n", childpid); in otape()
[all …]
/original-bsd/local/ukc/dump/
H A Ddumptape.c243 int childpid; in otape() local
256 childpid = fork(); in otape()
257 if (childpid < 0) { in otape()
261 if (childpid != 0) { in otape()
271 tapeno+1, parentpid, childpid); in otape()
273 while ((waitpid = wait(&status)) != childpid) in otape()
275 parentpid, childpid, waitpid); in otape()
278 childpid, status&0xFF); in otape()
284 msg("Child %d finishes X_FINOK\n", childpid); in otape()
287 msg("Child %d finishes X_ABORT\n", childpid); in otape()
[all …]
/original-bsd/sbin/dump/
H A Dtape.c477 int childpid; local
495 childpid = fork();
496 if (childpid < 0) {
500 if (childpid != 0) {
510 tapeno+1, parentpid, childpid);
512 while ((waitpid = wait(&status)) != childpid)
514 parentpid, childpid, waitpid);
517 childpid, status&0xFF);
523 msg("Child %d finishes X_FINOK\n", childpid);
526 msg("Child %d finishes X_ABORT\n", childpid);
[all …]
/original-bsd/usr.sbin/sendmail/src/
H A Dsrvrsmtp.c1202 int childpid; local
1206 childpid = dofork();
1207 if (childpid < 0)
1212 if (childpid > 0)
1218 st = waitfor(childpid);