Searched refs:pids (Results 1 - 5 of 5) sorted by relevance

/ast/src/cmd/cs/
H A Dpid.c63 Hash_table_t* pids; /* Pid_t hash */ member in struct:__anon81
67 unsigned long active; /* number of active pids */
82 if (!(state->pids = hashalloc(NiL, HASH_set, HASH_ALLOCATE, HASH_namesize, sizeof(pid_t), HASH_name, "pids", 0)))
83 error(3, "out of space [pids]");
136 if (pos = hashscan(state->pids, 0))
163 else if (pp = (Pid_t*)hashlook(state->pids, (char*)&pid, HASH_LOOKUP, NiL))
176 hashlook(state->pids, NiL, HASH_DELETE, NiL);
192 else if (pp = (Pid_t*)hashlook(state->pids, NiL, HASH_CREATE|HASH_SIZE(sizeof(Pid_t)), NiL))
213 * poll expired pids
[all...]
/ast/src/cmd/ksh93/tests/
H A Dbasic.sh306 pids=$!
311 pids="$pids $!"
318 kill $pids
/ast/src/lib/libcmd/
H A DMakefile25 mkfifo.c mktemp.c mv.c paste.c pathchk.c pids.c rev.c rm.c \
/ast/src/cmd/std/
H A Dps.c95 "[p:pids?List processes in the \apid\a list.]:[pid...]"
222 List_t* pids; /* pid vectors */ member in struct:State_s
1429 p->next = state.pids;
1430 state.pids = p;
1434 * pop state.pids by calling addpid()
1446 while (p = state.pids)
1448 state.pids = p->next;
1687 if (state.children || state.parents || !state.pids)
1691 if (!state.pids && !state.pssdisc.match && !(state.pssdisc.flags & (PSS_ALL|PSS_ATTACHED|PSS_DETACHED|PSS_LEADER|PSS_NOLEADER)))
/ast/src/cmd/INIT/
H A Dpackage.sh4406 pids=
4421 trap 'kill $pids >/dev/null 2>&1' 1 2 3 15
4792 ?*) pids=
4802 pids="$pids $!"
4806 case $pids in
4807 ?*) wait $pids ;;
4812 pids="$pids $!"
4829 ?*) pids
[all...]

Completed in 24 milliseconds