.SH DESCRIPTION
New applications should use the POSIX.1-specified "utmpx" versions of
these functions; see CONFORMING TO.
-
+.PP
.BR utmpname ()
sets the name of the utmp-format file for the other utmp
functions to access.
and NULL on failure (which includes the "record not found" case).
This \fIstruct utmp\fP is allocated in static storage, and may be
overwritten by subsequent calls.
-
+.PP
On success
.BR pututline ()
returns
.IR ut ;
on failure, it returns NULL.
-
+.PP
.BR utmpname ()
returns 0 if the new name was successfully stored, or \-1 on failure.
-
+.PP
In the event of an error, these functions
.I errno
set to indicate the cause.
.BR utmpname ()
T} Thread safety MT-Unsafe race:utent
.TE
-
+.sp 1
In the above table,
.I utent
in