HomeSort by relevance Sort by last modified time
    Searched defs:pid (Results 1 - 25 of 561) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /onnv/onnv-gate/usr/src/cmd/bnu/
shio.c 51 register pid_t pid, ret; local
62 if ((pid = fork()) == 0) {
88 if (pid == -1)
91 while ((ret = wait(&status)) != pid)
  /onnv/onnv-gate/usr/src/cmd/mailx/
temp.c 62 register pid_t pid = mypid; local
66 snprintf(tempMail, TMPSIZ, "/tmp/Rs%-ld", pid);
67 snprintf(tempQuit, TMPSIZ, "/tmp/Rm%-ld", pid);
68 snprintf(tempEdit, TMPSIZ, "/tmp/Re%-ld", pid);
69 snprintf(tempMesg, TMPSIZ, "/tmp/Rx%-ld", pid);
70 snprintf(tempZedit, TMPSIZ, "/tmp/Rz%-ld", pid);
  /onnv/onnv-gate/usr/src/lib/libmail/common/
systemvp.c 53 pid_t pid, w; local
56 if ((pid = fork()) == 0) {
68 } while (w != pid && w != (pid_t)-1);
  /onnv/onnv-gate/usr/src/lib/libast/common/misc/
procclose.c 38 int pid; local
61 while ((pid = waitpid(p->pid, &status, flags)) == -1 && errno == EINTR);
62 if (pid != p->pid && (flags & WNOHANG))
  /onnv/onnv-gate/usr/src/cmd/dtrace/test/tst/common/pid/
tst.gcc.c 35 pid_t pid; local
37 (void) posix_spawn(&pid, "/usr/bin/ls", NULL, NULL, NULL, NULL);
39 (void) waitpid(pid, NULL, 0);
  /onnv/onnv-gate/usr/src/cmd/fmli/proc/
pclose.c 52 pid_t pid; /* EFT abs k16 */ local
58 pid = PR_all[id].pid;
60 _debug(stderr, "closing process table %d, pid=%d\n", id, pid);
62 if (pid != NOPID) { /* force the user to close by resuming it */
64 _debug(stderr, "FORCING CLOSE ON PID %d\n", pid);
pcurrent.c 56 pid_t pid, w; /* EFT abs k16 */ local
70 if (PR_all[p].pid == NOPID) {
74 switch (pid = fork()) {
95 PR_all[p].pid = PR_all[p].respid = pid;
99 pid = PR_all[p].pid;
101 _debug(stderr, "resuming pid %d by signaling %d\n", pid, PR_all[p].respid);
130 _debug(stderr, "Waiting for pid %d\n", pid)
    [all...]
proc.h 47 pid_t pid; /* actual process id. EFT k16 */ member in struct:proc_rec
  /onnv/onnv-gate/usr/src/cmd/lp/filter/postscript/common/
tempnam.c 34 int pid; local
39 pid = getpid();
46 sprintf(tnm, "%s/%s%d%d", dir, pfx, pid, seq++);
  /onnv/onnv-gate/usr/src/cmd/mail/
pipletr.c 71 pid_t pid; local
79 if ((pid = fork()) == CHILD) {
89 return (dowait(pid));
  /onnv/onnv-gate/usr/src/lib/libbc/libc/gen/common/
mkstemp.c 15 unsigned int pid; local
18 pid = getpid();
24 *s = (pid % 10) + '0';
25 pid /= 10;
mktemp.c 54 register unsigned pid; local
58 pid = getpid();
61 *s = (pid%10) + '0';
62 pid /= 10;
  /onnv/onnv-gate/usr/src/cmd/fs.d/nfs/lib/
daemon.c 59 pid_t pid; local
82 if ((pid = fork()) == -1) {
87 if (pid != 0) {
93 if (waitpid(pid, &status, 0) == pid && WIFEXITED(status))
  /onnv/onnv-gate/usr/src/lib/libbc/libc/gen/4.2/
system.c 46 pid_t pid, w; local
86 if ((pid = vfork()) == 0) {
90 if (pid == -1) {
95 w = waitpid(pid, &status, 0);
  /onnv/onnv-gate/usr/src/lib/libbc/libc/gen/sys5/
system.c 46 pid_t pid, w; local
84 if ((pid = vfork()) == 0) {
88 if (pid == -1) {
93 w = waitpid(pid, &status, 0);
  /onnv/onnv-gate/usr/src/lib/libc/port/gen/
plock.c 51 static pid_t state_pid = -1; /* pid to which state belongs */
61 pid_t pid; /* current pid */ local
70 if ((pid = getpid()) != state_pid) {
72 state_pid = pid;
  /onnv/onnv-gate/usr/src/uts/common/io/drm/
drm_fops.c 52 pid_t pid = ddi_get_pid(); local
56 if (priv->pid == pid)
81 pid_t pid; local
88 pid = ddi_get_pid();
89 DRM_DEBUG("drm_open_helper :pid = %d", pid);
104 priv->pid = pid;
  /onnv/onnv-gate/usr/src/cmd/lms/tools/
daemonize.cpp 68 pid_t pid, sid, parent; local
85 pid = fork();
86 if (pid < 0) {
91 /* If we got a good PID, then we can exit the parent process. */
92 if (pid > 0) {
  /onnv/onnv-gate/usr/src/cmd/ypcmd/ypupdated/
openchild.c 65 * returns pid, or -1 for failure
74 int pid; local
86 switch (pid = fork()) {
123 return (pid);
  /onnv/onnv-gate/usr/src/lib/brand/lx/lx_brand/common/
pgrp.c 55 int pid = (int)p1; local
58 if (pid < 0)
62 * If the supplied pid matches that of the init process, return
65 if (pid == zoneinit_pid)
68 if ((ret = lx_lpid_to_spid(pid, &spid)) < 0)
86 pid_t pid = (pid_t)p1; local
91 if (pid < 0)
97 if ((ret = lx_lpid_to_spid(pid, &spid)) < 0)
114 int pid = (int)p1; local
117 if (pid < 0
    [all...]
  /onnv/onnv-gate/usr/src/lib/libc/port/sys/
libc_fcntl.c 76 int pid; local
86 pid = (int)arg;
87 return (ioctl(fd, FIOSETOWN, &pid));
  /onnv/onnv-gate/usr/src/lib/libcontract/common/
process_dump.c 50 pid_t pid; local
54 if (ct_pr_event_get_pid(ev, &pid) != 0) {
86 (void) fprintf(file, s, pid);
96 if (ct_pr_event_get_ppid(ev, &pid) == 0)
98 "\tparent pid: %d\n"), pid);
148 if (ct_pr_event_get_sender(ev, &pid) == 0)
150 "\tsender pid: %d\n"), pid);
  /onnv/onnv-gate/usr/src/lib/libgen/common/
p2open.c 47 extern int _insert(pid_t pid, int fd);
74 pid_t pid; local
87 if ((pid = fork()) == 0) {
99 if (pid == (pid_t)-1)
101 (void) _insert(pid, tocmd[1]);
102 (void) _insert(pid, fromcmd[0]);
116 pid_t pid, r; local
128 pid = _delete(fds[0]);
129 if (pid != _delete(fds[1]))
132 if (pid == (pid_t)-1
    [all...]
  /onnv/onnv-gate/usr/src/cmd/cmd-inet/usr.sbin/
in.fingerd.c 58 pid_t pid, w; local
117 if ((pid = fork()) == 0) {
128 if (pid == (pid_t)-1)
139 while ((w = wait(&status)) != pid && w != (pid_t)-1)
  /onnv/onnv-gate/usr/src/cmd/fs.d/cachefs/cachefspack/
subr.c 89 int pid; local
94 pid = getpid();
100 sprintf(rulesnam, "./%s.%d", TMPRULES, pid);
115 sprintf(rulesnam, "/tmp/%s.%d", TMPRULES, pid);

Completed in 1020 milliseconds

1 2 3 4 5 6 7 8 91011>>