Searched refs:UTMPX_FILE (Results 1 – 11 of 11) sorted by relevance
| /onnv-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
| H A D | in.comsat.c | 60 #ifndef UTMPX_FILE 61 #define UTMPX_FILE "/etc/utmpx" macro 171 if ((uf = open(UTMPX_FILE, 0)) < 0) { 172 syslog(LOG_ERR, "%s: %m", UTMPX_FILE);
|
| H A D | in.rwhod.c | 225 if (stat(UTMPX_FILE, &sb) < 0) { in main() 226 syslog(LOG_ERR, "main: stat: %s: %m", UTMPX_FILE); in main() 380 (void) stat(UTMPX_FILE, &stb); in onalrm()
|
| /onnv-gate/usr/src/lib/libc/port/gen/ |
| H A D | ttyslot.c | 79 if ((fp = fopen(UTMPX_FILE, "rF")) != NULL) { in ttyslot()
|
| H A D | getlogin.c | 74 if ((uf = open64(UTMPX_FILE, 0)) < 0) in getlogin_r()
|
| H A D | getutx.c | 126 static char utmpxfile[MAXFILE+1] = UTMPX_FILE; /* Name of the current */ 821 if (strcmp(utmpxfile, UTMPX_FILE) == 0 || in utmpxname() 1082 if ((lockfd = open(UTMPX_FILE, O_RDWR|O_CREAT, 0644)) < 0) in lockutx()
|
| /onnv-gate/usr/src/cmd/w/ |
| H A D | w.c | 241 if (stat(UTMPX_FILE, &sbuf) == ERR) { in main() 243 prog, UTMPX_FILE, strerror(errno)); in main() 250 prog, UTMPX_FILE, strerror(errno)); in main() 254 (void) utmpxname(UTMPX_FILE); in main()
|
| /onnv-gate/usr/src/cmd/whodo/ |
| H A D | whodo.c | 236 if (stat(UTMPX_FILE, &sbuf) == ERR) { in main() 238 prog, UTMPX_FILE, strerror(errno)); in main() 246 prog, UTMPX_FILE, strerror(errno)); in main() 250 (void) utmpxname(UTMPX_FILE); in main()
|
| /onnv-gate/usr/src/head/ |
| H A D | utmpx.h | 52 #define UTMPX_FILE _UTMPX_FILE macro
|
| /onnv-gate/usr/src/cmd/ssh/include/ |
| H A D | defines.h | 575 #if defined(UTMPX_FILE) && !defined(DISABLE_UTMPX)
|
| /onnv-gate/usr/src/cmd/syslogd/ |
| H A D | syslogd.c | 2000 if (access(UTMPX_FILE, R_OK) != 0 || stat(UTMPX_FILE, &statbuf) != 0) { in wallmsg() 2001 logerror(UTMPX_FILE); in wallmsg() 2004 (void) snprintf(line, sizeof (line), "%s %s", UTMPX_FILE, in wallmsg()
|
| /onnv-gate/usr/src/cmd/init/ |
| H A D | init.c | 478 static char *UTMPX = UTMPX_FILE; /* Snapshot record file */
|