Searched refs:editpid (Results 1 - 4 of 4) sorted by relevance

/macosx-10.10/system_cmds-643.1.1/vifs.tproj/
H A Dvifs.c51 pid_t editpid; local
100 editpid = vfork();
101 if (editpid == 0) {
107 editpid = waitpid(editpid, (int *)&x, WUNTRACED);
108 if (editpid == -1)
/macosx-10.10/system_cmds-643.1.1/vipw.tproj/
H A Dpw_util.c87 static pid_t editpid = -1; variable
95 if (editpid != -1)
96 kill(editpid, sig);
197 if (!(editpid = vfork())) {
206 editpid = waitpid(editpid, (int *)&pstat, WUNTRACED);
207 if (editpid == -1)
216 editpid = -1;
/macosx-10.10/remote_cmds-47/rpc_yppasswdd.tproj/
H A Dpasswd.c145 static pid_t editpid = -1; variable
152 if (editpid != -1)
153 kill(editpid, sig);
237 if (!(editpid = vfork())) {
246 editpid = waitpid(editpid, (int *)&pstat, WUNTRACED);
247 if (editpid == -1)
256 editpid = -1;
/macosx-10.10/system_cmds-643.1.1/chpass.tproj/
H A Dutil.c261 pid_t editpid; local
280 switch ((editpid = fork())) {
299 if (waitpid(editpid, &pstat, WUNTRACED) == -1) {
303 editpid = -1;
308 editpid = -1;
312 editpid = -1;

Completed in 145 milliseconds