loginx man page on NetBSD

Man page or keyword search:  
man Server   9087 pages
apropos Keyword Search (all sections)
Output format
NetBSD logo
[printable version]

LOGINX(3)		 BSD 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 data‐
     bases with the information from ut.

     logoutx() updates the entry corresponding to line with the type and sta‐
     tus 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)

BSD			      September 26, 2002			   BSD
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server NetBSD

List of man pages available for NetBSD

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net