Home
last modified time | relevance | path

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

/titanic_44/usr/src/cmd/utmpd/
H A Dutmpd.c136 static pollfd_t *fdtable = NULL; variable
283 if ((fdtable = malloc(Max_fds * sizeof (pollfd_t))) == NULL) in main()
350 (void) close(fdtable[i].fd); in load_tables()
393 fdtable[0].events = POLLRDNORM; in wait_for_pids()
401 while ((ret_val = poll(fdtable, pidcnt, WTMPX_ufreq*1000)) < 0) in wait_for_pids()
433 if (fdtable[0].revents & POLLRDNORM) { in wait_for_pids()
435 fdtable[0].revents = 0; in wait_for_pids()
456 pfd = &fdtable[i]; in wait_for_pids()
634 fdtable[0].fd = Pfd; /* Pfd could be -1, should be okay */ in setup_pipe()
635 fdtable[0].events = POLLRDNORM; in setup_pipe()
[all …]