Query: logwtmpx
OS: netbsd
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
LOGINX(3) BSD Library Functions Manual LOGINX(3)NAMEloginx, logoutx, logwtmpx -- login utility functionsLIBRARYSystem Utilities Library (libutil, -lutil)SYNOPSIS#include <util.h> 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);DESCRIPTIONThe loginx(), logoutx(), and logwtmpx() operate on the utmpx(5) database of currently logged in users, and the wtmpx(5) database of logins and logouts. 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.RETURN VALUESlogoutx() returns 1 on success, and 0 if no corresponding entry was found.SEE ALSOendutxent(3), utmpx(5)BSDSeptember 26, 2002 BSD
Related Man Pages |
---|
logout(3) - mojave |
logwtmp(3) - mojave |
utmpx(4) - opensolaris |
utmpx(5) - netbsd |
logwtmp(3) - osx |
Similar Topics in the Unix Linux Community |
---|
Unix File Permissions |
Memory Leaks |
How to install PGX32 on Sparc 10 Ultra? |
Grandpa returning to UNIX |
Grep command to show the number of results |