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

/illumos-gate/usr/src/cmd/utmpd/
H A Dutmpd.c138 static int pidcnt = 0; /* Number of procs being watched */ variable
349 for (i = 0; i < pidcnt; i++)
352 pidcnt = 0;
401 while ((ret_val = poll(fdtable, pidcnt, WTMPX_ufreq*1000)) < 0)
449 for (i = pidcnt - 1; i > 0; i--) {
713 if (pidcnt != 0 && (find_pid(pid, &j) == 1 || pid == 0))
716 if (pidcnt >= Max_fds) {
741 if (pidcnt != 0) {
742 for (i = 0; i < pidcnt; i++) {
751 if (i != pidcnt
[all...]

Completed in 58 milliseconds