Home
last modified time | relevance | path

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

/titanic_41/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++) in load_tables()
352 pidcnt = 0; in load_tables()
401 while ((ret_val = poll(fdtable, pidcnt, WTMPX_ufreq*1000)) < 0) in wait_for_pids()
449 for (i = pidcnt - 1; i > 0; i--) { in wait_for_pids()
713 if (pidcnt != 0 && (find_pid(pid, &j) == 1 || pid == 0)) in add_pid()
716 if (pidcnt >= Max_fds) { in add_pid()
741 if (pidcnt != 0) { in add_pid()
742 for (i = 0; i < pidcnt; i++) { in add_pid()
751 if (i != pidcnt && pid != pidtable[i].pl_pid) { in add_pid()
[all …]