utmpx_write_entry
utmpx_write_entry(DOWN_TIME, DOWN_MSG, tstamp);
utmpx_write_entry(BOOT_TIME, BOOT_MSG, tstamp);