Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/utmpd/
H A Dutmpd.c130 struct pidentry { struct
135 static struct pidentry *pidtable = NULL; argument
282 if ((pidtable = malloc(Max_fds * sizeof (struct pidentry))) == NULL) in main()
760 move_amt * sizeof (struct pidentry)); in add_pid()
825 move_amt * sizeof (struct pidentry)); in rem_pid()
848 struct pidentry pe; in find_pid()
849 struct pidentry *p; in find_pid()
852 p = bsearch(&pe, pidtable, pidcnt, sizeof (struct pidentry), pidcmp); in find_pid()
857 *i = p - (struct pidentry *)pidtable; in find_pid()
868 pidcmp(struct pidentry *a, struct pidentry *b) in pidcmp()