/* Append entry UTMP to the wtmp-like file WTMP_FILE. */ void updwtmp32 (const char *wtmp_file, const struct utmp32 *utmp) { struct utmp in32; utmp_convert32to64 (utmp, &in32); __updwtmp (wtmp_file, &in32); }
void updwtmpx (const char *wtmpx_file, const struct utmpx *utmpx) { struct utmp tmp; if (__utmpx_to_utmp (utmpx, &tmp) >= 0) __updwtmp (wtmpx_file, &tmp); }
void updwtmpx (const char *wtmpx_file, const struct utmpx *utmpx) { __updwtmp (wtmpx_file, (const struct utmp *) utmpx); }