Home
last modified time | relevance | path

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

/titanic_44/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()
/titanic_44/usr/src/cmd/w/
H A Dw.c238 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 Dttyslot.c79 if ((fp = fopen(UTMPX_FILE, "rF")) != NULL) { in ttyslot()
H A Dgetlogin.c92 if ((uf = open64(UTMPX_FILE, 0)) < 0) in getl_r_common()
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()
/titanic_44/usr/src/cmd/whodo/
H A Dwhodo.c232 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 Dutmpx.h52 #define UTMPX_FILE _UTMPX_FILE macro
/titanic_44/usr/src/cmd/wall/
H A Dwall.c302 (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 Ddefines.h575 #if defined(UTMPX_FILE) && !defined(DISABLE_UTMPX)
/titanic_44/usr/src/cmd/syslogd/
H A Dsyslogd.c2004 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 Dinit.c481 static char *UTMPX = UTMPX_FILE; /* Snapshot record file */