|
NAMEutempter_add_record ,
utempter_remove_added_record ,
utempter_remove_record ,
addToUtmp , removeFromUtmp ,
removeLineFromUtmp —
utempter compatibility interface
LIBRARYUser Login Record Library (libulog, -lulog)SYNOPSIS#include <utempter.h>
int
int
int
void
void
void
DESCRIPTIONTheutempter_add_record () and
addToUtmp () functions add a login record to the
database for the TTY belonging to the pseudo-terminal master file descriptor
fd, using the username corresponding with the real user
ID of the calling process and the optional hostname
host. These functions are equivalent to
ulog_login_pseudo(3).
The The The pty arguments of
RETURN VALUESIn this implementation, theutempter_add_record (),
utempter_remove_added_record () and
utempter_remove_record () always return a value of 0.
SEE ALSOpututxline(3), ulog_login_pseudo(3)HISTORYThese functions appeared in FreeBSD 9.0.
Visit the GSP FreeBSD Man Page Interface. |