Home
last modified time | relevance | path

Searched refs:UTMPX_FILE (Results 1 – 11 of 11) sorted by relevance

/onnv-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.comsat.c60 #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 Din.rwhod.c225 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 Dttyslot.c79 if ((fp = fopen(UTMPX_FILE, "rF")) != NULL) { in ttyslot()
H A Dgetlogin.c74 if ((uf = open64(UTMPX_FILE, 0)) < 0) in getlogin_r()
H A Dgetutx.c126 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 Dw.c241 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 Dwhodo.c236 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 Dutmpx.h52 #define UTMPX_FILE _UTMPX_FILE macro
/onnv-gate/usr/src/cmd/ssh/include/
H A Ddefines.h575 #if defined(UTMPX_FILE) && !defined(DISABLE_UTMPX)
/onnv-gate/usr/src/cmd/syslogd/
H A Dsyslogd.c2000 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 Dinit.c478 static char *UTMPX = UTMPX_FILE; /* Snapshot record file */