Home
last modified time | relevance | path

Searched refs:waitpid (Results 1 – 25 of 35) sorted by relevance

12

/original-bsd/lib/libc/gen/
H A Dwaitpid.c19 waitpid(pid_t pid, int *istat, int options) in waitpid() function
21 waitpid(pid, istat, options) in waitpid()
H A Dpopen.c127 pid = waitpid(cur->pid, &pstat, 0);
H A DMakefile.inc18 waitpid.c
/original-bsd/old/make/
H A Ddosys.c39 if((waitpid = vfork()) == 0)
68 while( (pid = wait(&status)) != waitpid) in await()
71 waitpid = 0; in await()
124 if((waitpid = vfork()) == 0)
H A Ddefs46 extern int waitpid;
H A Dmain.c29 int waitpid = 0; variable
/original-bsd/old/dump.4.1/
H A Ddumptape.c158 int waitpid; in otape() local
192 waitpid = wait(&status); in otape()
193 if (waitpid != childpid){ in otape()
195 parentpid, childpid, waitpid); in otape()
/original-bsd/usr.sbin/vipw/
H A Dpw_util.c126 pid = waitpid(pid, &pstat, 0); in pw_mkdb()
156 editpid = waitpid(editpid, (int *)&pstat, WUNTRACED);
/original-bsd/usr.bin/f77/f77.tahoe/
H A Df77.c819 int waitpid; local
845 if( (waitpid = fork()) == 0)
851 await(waitpid);
878 int waitpid; local
924 if((waitpid = fork()) == 0)
937 return( await(waitpid) );
1018 await(waitpid) in await() argument
1019 int waitpid; in await()
1032 while ( (w = wait(&status)) != waitpid)
/original-bsd/usr.bin/f77/f77.vax/
H A Df77.c850 int waitpid; local
876 if( (waitpid = fork()) == 0)
882 if( await(waitpid) )
910 int waitpid; local
956 if((waitpid = fork()) == 0)
971 return( await(waitpid) );
1052 await(waitpid) in await() argument
1053 int waitpid; in await()
1066 while ( (w = wait(&status)) != waitpid)
/original-bsd/lib/libc/stdlib/
H A Dsystem.c45 pid = waitpid(pid, (int *)&pstat, 0);
/original-bsd/games/cribbage/
H A Dinstr.c56 pid = waitpid(pid, (int *)&pstat, 0); in instructions()
/original-bsd/contrib/libg++-2.3/libg++/g++-include/sys/
H A Dwait.h32 extern pid_t waitpid _G_ARGS((pid_t, int*, int));
/original-bsd/bin/mv/
H A Dmv.c234 if (waitpid(pid, &status, 0) == -1) {
252 if (waitpid(pid, &status, 0) == -1) {
/original-bsd/sys/sys/
H A Dwait.h124 pid_t waitpid __P((pid_t, int *, int));
/original-bsd/sbin/init/
H A Dinit.c614 while (waitpid(-1, (int *) 0, WNOHANG) > 0) in single_user()
621 if ((wpid = waitpid(-1, &status, WUNTRACED)) != -1) in single_user()
692 while (waitpid(-1, (int *) 0, WNOHANG) > 0) in runcom()
702 if ((wpid = waitpid(-1, &status, WUNTRACED)) != -1) in runcom()
1153 if ((pid = waitpid(-1, (int *) 0, 0)) != -1) in multi_user()
1260 if ((pid = waitpid(-1, (int *)0, 0)) != -1) in death()
/original-bsd/bin/rcp/
H A Dutil.c101 if (waitpid(pid, &status, 0) < 0)
/original-bsd/local/ukc/dump/
H A Ddumptape.c245 int waitpid; in otape() local
273 while ((waitpid = wait(&status)) != childpid) in otape()
275 parentpid, childpid, waitpid); in otape()
/original-bsd/libexec/ftpd/
H A Dpopen.c136 while ((pid = waitpid(pids[fdes], &status, 0)) < 0 && errno == EINTR)
/original-bsd/sbin/mount_portal/
H A Dmount_portal.c54 while ((pid = waitpid((pid_t) -1, (int *) 0, WNOHANG)) > 0)
/original-bsd/usr.bin/apply/
H A Dapply.c194 pid = waitpid(pid, (int *)&pstat, 0);
/original-bsd/sbin/dump/
H A Dtape.c479 int waitpid; local
512 while ((waitpid = wait(&status)) != childpid)
514 parentpid, childpid, waitpid);
/original-bsd/usr.bin/xargs/
H A Dxargs.c251 pid = waitpid(pid, &status, 0);
/original-bsd/usr.sbin/sendmail/EPA/mldistrib/
H A Dmldistrib.c479 wpid = waitpid(pid, &pstat, 0);
/original-bsd/bin/rmail/
H A Drmail.c300 if ((waitpid(pid, &status, 0)) == -1)

12