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

/illumos-gate/usr/src/lib/libc/port/gen/
H A Dgetutx.c1258 static struct futmpx *utmpbuf = NULL; variable in typeref:struct:futmpx
1266 static size_t idx = 0; /* Current index in the utmpbuf */
1267 static size_t nidx = 0; /* Max entries in this utmpbuf */
1271 if (utmpbuf == NULL)
1272 if ((utmpbuf = malloc(bufsz)) == NULL) {
1279 * We have read all entries in the utmpbuf. Read
1282 if ((nbytes = read(fd, utmpbuf, bufsz)) < bufsz) {
1296 idx = 0; /* reset index within utmpbuf */
1307 * utmpbuf to be passed to the caller.
1309 return (&utmpbuf[id
[all...]
/illumos-gate/usr/src/cmd/init/
H A Dinit.c2662 struct utmpx utmpbuf, *u, *oldu; local
2674 u = &utmpbuf;

Completed in 72 milliseconds