Home
last modified time | relevance | path

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

/illumos-gate/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()
/illumos-gate/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()
/illumos-gate/usr/src/cmd/date/
H A Ddate.c360 (void) updwtmpx(WTMPX_FILE, &wtmpx[0]); in setdate()
361 (void) updwtmpx(WTMPX_FILE, &wtmpx[1]); in setdate()
/illumos-gate/usr/src/head/
H A Dutmpx.h53 #define WTMPX_FILE _WTMPX_FILE macro
/illumos-gate/usr/src/cmd/utmpd/
H A Dutmpd.c301 if ((WTMPXfd = open(WTMPX_FILE, O_RDONLY)) < 0) in main()
302 nonfatal("WARNING: unable to open " WTMPX_FILE " for update."); in main()
975 updwtmpx(WTMPX_FILE, u); in clean_utmpx_ent()
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dgetutx.c945 updwtmpx(WTMPX_FILE, up); in modutx()
1194 updwtmpx(WTMPX_FILE, (struct utmpx *)utmp); in makeutx()
1216 updwtmpx(WTMPX_FILE, (struct utmpx *)utmp); in makeutx()
1225 updwtmpx(WTMPX_FILE, utp); in makeutx()
/illumos-gate/usr/src/cmd/bnu/
H A Din.uucpd.c403 updwtmpx(WTMPX_FILE, &ut);
461 updwtmpx(WTMPX_FILE, &ut);
H A Dct.c661 if ((fd = open(WTMPX_FILE, O_WRONLY | O_APPEND)) != -1) { in startat()
719 if ((fd = open(WTMPX_FILE, O_WRONLY | O_APPEND)) != -1) {
/illumos-gate/usr/src/cmd/psradm/
H A Dpsradm.c189 updwtmpx(WTMPX_FILE, &ut); in psr_set_state()
/illumos-gate/usr/src/cmd/halt/
H A Dhalt.c1618 (void) updwtmpx(WTMPX_FILE, &wtmpx); in main()
/illumos-gate/usr/src/cmd/login/
H A Dlogin.c2108 updwtmpx(WTMPX_FILE, &utmpx); in update_utmpx_entry()
/illumos-gate/usr/src/cmd/init/
H A Dinit.c486 static char *WTMPX = WTMPX_FILE; /* Long term record file */