login man page on FreeBSD

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

LOGIN(3)		 BSD Library Functions Manual		      LOGIN(3)

NAME
     login — log a new login record to the utmp and wtmp files

LIBRARY
     System Utilities Library (libutil, -lutil)

SYNOPSIS
     #include <sys/types.h>
     #include <utmp.h>
     #include <libutil.h>

     void
     login(struct utmp *ut);

DESCRIPTION
     The function login() records the ut entry being passed into the appropri‐
     ate slot of the utmp(5) file, and appends it to the wtmp(5) file.	The
     calling process must have permission to write to both files.

RETURN VALUES
     None.

SEE ALSO
     logout(3), ttyslot(3), utmp(5), wtmp(5)

BUGS
     The interface provided by login() is rather crude.	 The caller must know
     about the details of a struct utmp.  Some better abstraction needs to be
     worked out.

BSD			       December 29, 1996			   BSD
[top]

List of man pages available for FreeBSD

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