LOGINX(3) | Library Functions Manual | LOGINX(3) |
void
loginx(const struct utmpx *ut);
int
logoutx(const char *line, int status, int type);
void
logwtmpx(const char *line, const char *name, const char *host, int status, int type);
The loginx() function updates the /var/run/utmpx and /var/log/wtmpx databases with the information from ut.
logoutx() updates the entry corresponding to line with the type and status from type and status.
logwtmpx() writes an entry filled with data from line, name, host, status, and type to the wtmpx(5) database.
September 26, 2002 | NetBSD 6.1 |