*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: logwtmpx | Section: 3 | Source: MINIX | File: logwtmpx.3
LOGINX(3) FreeBSD Library Functions Manual LOGINX(3) NAME loginx, logoutx, logwtmpx - login utility functions LIBRARY System 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); DESCRIPTION The 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 VALUES logoutx() returns 1 on success, and 0 if no corresponding entry was found. SEE ALSO endutxent(3), utmpx(5) FreeBSD 14.1-RELEASE-p8 September 26, 2002 FreeBSD 14.1-RELEASE-p8

Navigation Options