Searched defs:utmpp (Results 1 - 4 of 4) sorted by relevance
/illumos-gate/usr/src/cmd/who/ |
H A D | who.c | 100 static struct utmpx *utmpp; /* pointer for getutxent() */ variable in typeref:struct:utmpx 105 #define NMAX (sizeof (utmpp->ut_user)) 106 #define LMAX (sizeof (utmpp->ut_line)) 122 static char nameval[sizeof (utmpp->ut_user) + 1]; /* invoker's name */ 140 static char user[sizeof (utmpp->ut_user) + 1]; /* holds user name */ 479 char device[sizeof (utmpp->ut_line) + 1]; 483 char path[sizeof (utmpp->ut_line) + 6]; 492 if (utmpp->ut_user[0] == '\0') 495 (void) strncpy(user, utmpp->ut_user, sizeof (user)); 520 if (utmpp [all...] |
/illumos-gate/usr/src/cmd/svc/startd/ |
H A D | fork.c | 68 static struct utmpx *utmpp; /* pointer for getutxent() */ variable in typeref:struct:utmpx 290 while ((utmpp = getutxent()) != NULL) { 291 if (strcmp(utmpp->ut_user, "LOGIN") != 0) { 292 if (strcmp(utmpp->ut_line, "console") == 0) { 293 (void) kill(utmpp->ut_pid, 9);
|
/illumos-gate/usr/src/cmd/luxadm/ |
H A D | qlgcupdate.c | 152 static struct utmpx *utmpp = NULL; /* pointer for getutxent() */ local 228 while ((utmpp = getutxent()) != NULL) { 229 if (strstr(utmpp->ut_line, "run-level") && 230 (strcmp(utmpp->ut_line, "run-level S") && 231 strcmp(utmpp->ut_line, "run-level 1"))) { 1053 static struct utmpx *utmpp = NULL; local 1078 while ((utmpp = getutxent()) != NULL) { 1079 if (strstr(utmpp->ut_line, "run-level") && 1080 (strcmp(utmpp->ut_line, "run-level S") && 1081 strcmp(utmpp [all...] |
/illumos-gate/usr/src/cmd/smserverd/ |
H A D | smediad.c | 2819 struct utmpx *utmpp; local 2822 while ((utmpp = getutxent()) != NULL) { 2823 if (utmpp->ut_type == RUN_LVL) { 2825 &utmpp->ut_line[strlen("run-level ")]);
|
Completed in 215 milliseconds