COHERENT manpages

This page displays the COHERENT manpage for setutent() [Rewind the input stream for a login logging file].

List of available manpages
Index


setutent() -- General Function (libc)

Rewind the input stream for a login logging file
#include <utmp.h>
void setutent()

Function setutent()  rewinds the input  stream that is reads  the file that
records  login  events.  This  lets  you search  this  file multiple  times
without having to close and reopen it.

By default,  setutent() manipulates a stream that  reads file /etc/utmp. If
you wish to manipulate another logging file, use the function utmpname().

See Also

libc,
utmp.h