Searched refs:UTMPX_FILE (Results 1 – 12 of 12) sorted by relevance
/titanic_44/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()
|
/titanic_44/usr/src/cmd/w/ |
H A D | w.c | 238 if (stat(UTMPX_FILE, &sbuf) == ERR) { in main() 240 prog, UTMPX_FILE, strerror(errno)); in main() 247 prog, UTMPX_FILE, strerror(errno)); in main() 251 (void) utmpxname(UTMPX_FILE); in main()
|
/titanic_44/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 | 92 if ((uf = open64(UTMPX_FILE, 0)) < 0) in getl_r_common()
|
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()
|
/titanic_44/usr/src/cmd/whodo/ |
H A D | whodo.c | 232 if (stat(UTMPX_FILE, &sbuf) == ERR) { in main() 234 prog, UTMPX_FILE, strerror(errno)); in main() 242 prog, UTMPX_FILE, strerror(errno)); in main() 246 (void) utmpxname(UTMPX_FILE); in main()
|
/titanic_44/usr/src/head/ |
H A D | utmpx.h | 52 #define UTMPX_FILE _UTMPX_FILE macro
|
/titanic_44/usr/src/cmd/wall/ |
H A D | wall.c | 302 (void) strlcat(root, UTMPX_FILE, sizeof (root)); in sendmes_tozone() 308 (void) utmpxname(UTMPX_FILE); in sendmes_tozone()
|
/titanic_44/usr/src/cmd/ssh/include/ |
H A D | defines.h | 575 #if defined(UTMPX_FILE) && !defined(DISABLE_UTMPX)
|
/titanic_44/usr/src/cmd/syslogd/ |
H A D | syslogd.c | 2004 if (access(UTMPX_FILE, R_OK) != 0 || stat(UTMPX_FILE, &statbuf) != 0) { in wallmsg() 2005 logerror(UTMPX_FILE); in wallmsg() 2008 (void) snprintf(line, sizeof (line), "%s %s", UTMPX_FILE, in wallmsg()
|
/titanic_44/usr/src/cmd/init/ |
H A D | init.c | 481 static char *UTMPX = UTMPX_FILE; /* Snapshot record file */
|