Lines Matching defs:ubuf
184 struct utmpx *ubuf;
192 while (ubuf = getutxent()) {
193 if (ubuf->ut_type == USER_PROCESS &&
194 strncmp(ubuf->ut_user, name, sizeof (ubuf->ut_user)) == 0) {
199 sizeof (ubuf->ut_line), ubuf->ut_line);
207 sizeof (ubuf->ut_line), ubuf->ut_line);
222 (void) strlcpy(tty, ubuf->ut_line, TTY_SIZE);
227 if (strcmp(ubuf->ut_line, tty) == 0) {