Searched refs:WTMPX_FILE (Results 1 – 13 of 13) sorted by relevance
/illumos-gate/usr/src/cmd/acct/ |
H A D | utmp2wtmp.c | 50 fp = fopen(WTMPX_FILE, "a+"); in main() 53 WTMPX_FILE, strerror(errno)); in main()
|
H A D | closewtmp.c | 51 (void) updwtmpx(WTMPX_FILE, utmpx); in main()
|
/illumos-gate/usr/src/cmd/svc/startd/ |
H A D | utmpx.c | 119 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 D | date.c | 360 (void) updwtmpx(WTMPX_FILE, &wtmpx[0]); in setdate() 361 (void) updwtmpx(WTMPX_FILE, &wtmpx[1]); in setdate()
|
/illumos-gate/usr/src/head/ |
H A D | utmpx.h | 53 #define WTMPX_FILE _WTMPX_FILE macro
|
/illumos-gate/usr/src/cmd/utmpd/ |
H A D | utmpd.c | 301 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 D | getutx.c | 945 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 D | in.uucpd.c | 403 updwtmpx(WTMPX_FILE, &ut); 461 updwtmpx(WTMPX_FILE, &ut);
|
H A D | ct.c | 661 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 D | psradm.c | 189 updwtmpx(WTMPX_FILE, &ut); in psr_set_state()
|
/illumos-gate/usr/src/cmd/halt/ |
H A D | halt.c | 1618 (void) updwtmpx(WTMPX_FILE, &wtmpx); in main()
|
/illumos-gate/usr/src/cmd/login/ |
H A D | login.c | 2108 updwtmpx(WTMPX_FILE, &utmpx); in update_utmpx_entry()
|
/illumos-gate/usr/src/cmd/init/ |
H A D | init.c | 486 static char *WTMPX = WTMPX_FILE; /* Long term record file */
|