Home
last modified time | relevance | path

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

/titanic_50/usr/src/cmd/utmpd/
H A Dutmpd.c147 static int Max_fds = MAX_FDS; variable
245 if (validate_default(defp, &Max_fds) == -1) { in main()
251 dprintf(("Max fds set to %d\n", Max_fds)); in main()
281 if ((pidtable = malloc(Max_fds * sizeof (struct pidentry))) == NULL) in main()
283 if ((fdtable = malloc(Max_fds * sizeof (pollfd_t))) == NULL) in main()
290 rlim.rlim_cur = Max_fds + EXTRA_MARGIN + 1; in main()
291 rlim.rlim_max = Max_fds + EXTRA_MARGIN + 1; in main()
716 if (pidcnt >= Max_fds) { in add_pid()