/ast/src/cmd/3d/ |
H A D | kill3d.c | 29 kill3d(pid_t pid, int sig) argument 35 if (KILL(pid, sig)) 40 fscall(mp, MSG_kill, 0, pid, sig);
|
H A D | fork3d.c | 35 forked(pid_t pid) argument 49 ppid = state.pid; 50 state.pid = pid; 106 pid_t pid; local 109 if (!(pid = FORK()) || pid == state.pid || pid == getpid()) 111 pid [all...] |
/ast/src/lib/libast/misc/ |
H A D | procclose.c | 36 int pid; local 63 while ((pid = waitpid(p->pid, &status, flags)) == -1 && errno == EINTR); 64 if (pid != p->pid && (flags & WNOHANG))
|
/ast/src/cmd/tests/sfio/ |
H A D | ttmp.c | 51 int pid; local 81 if((pid = fork()) < 0) 155 if(pid != 0) 156 wait(&pid);
|
H A D | tmprocess.c | 74 int i, r, n, pid; local 113 if((pid = (int)FORK()) < 0 ) 115 else if(pid == 0)
|
/ast/src/cmd/tests/aso/ |
H A D | tproc.c | 40 static void workload(unsigned int pid) argument 62 pid_t pid, cpid[N_PROC]; local 100 if((pid = fork()) < 0) 102 else if(pid > 0) /* parent process */ 103 { cpid[k] = pid;
|
H A D | tlock.c | 54 terror("Process %3d(pid=%d): unlocking %d(pid=%d)?", 63 terror("Process %3d(pid=%d): unlocking CAS error %d", 79 terror("Process %3d(pid=%d): locking CAS error %d", 82 twarn("Process %3d(pid=%d): locking loop %d blocked by %d", 93 terror("Process %3d(pid=%d): at step %d lock=%d?", 107 tinfo("Process %3d(pid=%d): progress to %d", Pnum, Pid[Pnum], k); 112 terror("Process %3d(pid=%d): bad int lock %d", 119 terror("Process %3d(pid=%d): bad short lock %d", 126 terror("Process %3d(pid 138 pid_t pid; local [all...] |
/ast/src/lib/libcs/ |
H A D | cslocal.c | 51 pid_t pid; local 66 if ((pid = spawnveg(av[0], av, environ, 0)) == -1) 71 while ((n = waitpid(pid, NiL, 0)) == -1 && errno == EINTR);
|
H A D | cslib.h | 133 long pid; member in struct:csfdhdr
|
H A D | csslib.h | 105 int pid; member in struct:Common_s
|
/ast/src/lib/libtksh/tcl/ |
H A D | tclIOUtil.c | 34 int pid; /* Id of process that's been detached member in struct:Detached 479 detPtr->pid = pidPtr[i]; 512 int pid; 515 pid = (int) Tcl_WaitPid(detPtr->pid, &status, WNOHANG); 516 if ((pid == 0) || ((pid == -1) && (errno != ECHILD))) { 565 int i, pid, abnormalExit, anyErrorInfo; 571 pid = (int) Tcl_WaitPid(pidPtr[i], (int *) &waitStatus, 0); 572 if (pid [all...] |
/ast/src/lib/libast/path/ |
H A D | pathtemp.c | 93 pid_t pid; member in struct:__anon300 291 if (!tmp.rng || !tmp.seed && (attempt || tmp.pid != getpid())) 299 tmp.pid = getpid(); 300 tmp.rng = (uint32_t)tmp.pid * ((uint32_t)time(NiL) ^ (((uint32_t)integralof(&attempt)) >> 3) ^ (((uint32_t)integralof(tmp.dir)) >> 3));
|
/ast/src/lib/libast/sfio/ |
H A D | sfmode.c | 214 int _sfpopen(reg Sfio_t* f, int fd, int pid, int stdio) argument 216 int _sfpopen(f, fd, pid, stdio) 219 int pid; 231 p->pid = pid; 235 p->sigp = (!stdio && pid >= 0 && (f->flags&SF_WRITE)) ? 1 : 0; 261 int pid, status; local 270 if(p->pid < 0) 282 while ((pid = waitpid(p->pid, [all...] |
/ast/src/lib/libcoshell/ |
H A D | colib.h | 38 int pid; /* pid */ \ 64 int pid; /* pid */ \ 86 int pid; /* pid */ member in struct:Coservice_s
|
/ast/src/lib/libmam/ |
H A D | mam.c | 62 getproc(struct mam* mp, long pid) argument 67 if (pp->pid == pid) return(pp); 78 pp->pid = pid; 220 errorf(mp, mp, 1, "%s: process %d is finished", op, pp->pid); 320 if (!pp->pid) pp->pid = n;
|
H A D | mam.h | 111 long pid; /* pid (invalid now) */ member in struct:proc
|
/ast/src/cmd/std/ |
H A D | pss-ps.c | 96 ps_read(Pss_t* pss, Pss_id_t pid) argument 105 if (pid || !state->scan) 115 if (!pid) 146 if (pid) 149 s += sfsprintf(s, e - s, " -p %lu", (unsigned long)pid); 263 pe->pid = number(s, &e, 10);
|
H A D | pss.c | 97 * return the pss entry for pid 98 * if pid==0 then return the next pid 102 pssread(register Pss_t* pss, Pss_id_t pid) argument 114 if ((*pss->meth->readf)(pss, pid) <= 0) 128 pe->pid = pss->pid; 131 if (pid) 157 if ((fields & PSS_sid) && pe->pid != pe->sid) 159 if ((fields & PSS_tgrp) && pe->pid ! [all...] |
/ast/src/cmd/tests/vmalloc/ |
H A D | tsharemem.c | 52 pid_t pid = getpid(); local 54 tinfo("Process %s[pid=%d]: about to open region for %s", num, pid, store); 56 terror("Process %s[pid=%d]: can't open %s allocation region on %s", num, pid, type, store); 57 tinfo("Process %s[pid=%d]: %s region successfully opened for %s", num, pid, type, store); 61 terror("Process %s[pid=%d]: vmalloc failed", num, pid); 70 terror("Process %s[pid 88 pid_t pid; local 112 pid_t pid; local [all...] |
/ast/src/cmd/cs/vcs_src/ |
H A D | vcs.c | 75 char pid[ 80 ]; local 81 sfsprintf( pid, sizeof(pid), "%d", getpid() ); 82 GetUserFile( pidfile, "vcs.pid" ); 84 symlink( pid, pidfile ); 99 "\n-- connect( fd=%d hid=%s pid=%d uid=%d gid=%d )\n", 100 fd, csntoa(id->hid), id->pid, id->uid, id->gid );
|
/ast/src/lib/libast/include/ |
H A D | proc.h | 86 pid_t pid; /* process id */ member in struct:__anon273
|
/ast/src/lib/libast/uwin/ |
H A D | rcmd.c | 100 pid_t pid; local 117 pid = getpid(); 171 fcntl(s, F_SETOWN, pid);
|
/ast/src/cmd/mailx/ |
H A D | send.c | 456 int pid; local 532 else if ((pid = start_command(s, SIG_REG_EXEC|SIG_REG_TERM, fileno(letter.fp), -1, NiL, (char*)args.argv, NiL)) < 0) { 537 wait_command(pid); 539 free_command(pid);
|
/ast/src/cmd/tests/cdt/ |
H A D | trehash.c | 104 { pid_t pid; local 108 pid = wait(&status); 118 tinfo("Child process %d exited (%s)", pid, st); 126 pid_t pid = getpid(); local 136 tinfo("\tProcess %d(%d): insertion passing %d", p, pid, k); 140 tinfo("\t\tProcess %d(%d): Insert %s, get %0x", p,pid,or->str,os); 143 tinfo("\t\tProcess %d(%d): Just inserted %s but not found", p,pid,or->str); 153 p,pid, or->str, proc->obj[k].str, os); 157 tinfo("Process %d(%d): insertion done", p,pid); 168 tinfo("\tProcess %d(%d): deletion passing %d", p, pid, 192 pid_t pid[N_PROC]; local [all...] |
H A D | tsafehash.c | 104 { pid_t pid; local 108 pid = wait(&status); 118 tinfo("Child process %d exited (%s)", pid, st); 126 pid_t pid = getpid(); local 136 tinfo("\tProcess %d(%d): insertion passing %d", p, pid, k); 140 tinfo("\t\tProcess %d(%d): Insert %s, get %0x", p,pid,or->str,os); 143 tinfo("\t\tProcess %d(%d): Just inserted %s but not found", p,pid,or->str); 153 p,pid, or->str, proc->obj[k].str, os); 157 tinfo("Process %d(%d): insertion done", p,pid); 168 tinfo("\tProcess %d(%d): deletion passing %d", p, pid, 192 pid_t pid[N_PROC]; local [all...] |