Home
last modified time | relevance | path

Searched refs:WTMPX_FILE (Results 1 – 16 of 16) sorted by relevance

/titanic_41/usr/src/cmd/acct/
H A Dutmp2wtmp.c50 fp = fopen(WTMPX_FILE, "a+"); in main()
53 WTMPX_FILE, strerror(errno)); in main()
H A Dclosewtmp.c51 (void) updwtmpx(WTMPX_FILE, utmpx); in main()
/titanic_41/usr/src/cmd/svc/startd/
H A Dutmpx.c119 updwtmpx(WTMPX_FILE, &ut); in utmpx_mark_init()
163 updwtmpx(WTMPX_FILE, up); in utmpx_mark_dead()
298 updwtmpx(WTMPX_FILE, &u); in utmpx_set_runlevel()
347 updwtmpx(WTMPX_FILE, &u); in utmpx_write_entry()
372 if (stat(WTMPX_FILE, &stbuf) == 0 && stbuf.st_size != 0) { in utmpx_write_boottime()
/titanic_41/usr/src/cmd/ssh/sshd/
H A Dloginrec.c1172 if ((fd = open(WTMPX_FILE, O_WRONLY|O_APPEND, 0)) < 0) { in wtmpx_write()
1174 WTMPX_FILE, strerror(errno)); in wtmpx_write()
1182 WTMPX_FILE, strerror(errno)); in wtmpx_write()
1256 if ((fd = open(WTMPX_FILE, O_RDONLY)) < 0) {
1258 WTMPX_FILE, strerror(errno));
1263 WTMPX_FILE, strerror(errno));
1278 WTMPX_FILE, strerror(errno));
/titanic_41/usr/src/cmd/date/
H A Ddate.c322 (void) updwtmpx(WTMPX_FILE, &wtmpx[0]); in setdate()
323 (void) updwtmpx(WTMPX_FILE, &wtmpx[1]); in setdate()
/titanic_41/usr/src/head/
H A Dutmpx.h53 #define WTMPX_FILE _WTMPX_FILE macro
/titanic_41/usr/src/cmd/utmpd/
H A Dutmpd.c300 if ((WTMPXfd = open(WTMPX_FILE, O_RDONLY)) < 0) in main()
301 nonfatal("WARNING: unable to open " WTMPX_FILE " for update."); in main()
974 updwtmpx(WTMPX_FILE, u); in clean_utmpx_ent()
/titanic_41/usr/src/lib/libc/port/gen/
H A Dgetutx.c946 updwtmpx(WTMPX_FILE, up); in modutx()
1195 updwtmpx(WTMPX_FILE, (struct utmpx *)utmp); in makeutx()
1217 updwtmpx(WTMPX_FILE, (struct utmpx *)utmp); in makeutx()
1226 updwtmpx(WTMPX_FILE, utp); in makeutx()
/titanic_41/usr/src/cmd/bnu/
H A Din.uucpd.c403 updwtmpx(WTMPX_FILE, &ut);
461 updwtmpx(WTMPX_FILE, &ut);
H A Dct.c659 if ((fd = open(WTMPX_FILE, O_WRONLY | O_APPEND)) != -1) { in startat()
717 if ((fd = open(WTMPX_FILE, O_WRONLY | O_APPEND)) != -1) {
/titanic_41/usr/src/cmd/psradm/
H A Dpsradm.c183 updwtmpx(WTMPX_FILE, &ut); in psr_set_state()
/titanic_41/usr/src/cmd/ssh/include/
H A Ddefines.h581 #if defined(WTMPX_FILE) && !defined(DISABLE_WTMPX)
/titanic_41/usr/src/cmd/rexd/
H A Dunix_login.c406 updwtmpx(WTMPX_FILE, &set_utmp); in LoginUser()
/titanic_41/usr/src/cmd/halt/
H A Dhalt.c1614 (void) updwtmpx(WTMPX_FILE, &wtmpx); in main()
/titanic_41/usr/src/cmd/login/
H A Dlogin.c2102 updwtmpx(WTMPX_FILE, &utmpx); in update_utmpx_entry()
/titanic_41/usr/src/cmd/init/
H A Dinit.c482 static char *WTMPX = WTMPX_FILE; /* Long term record file */