#include <utmp.h>
void endutent(void);
void endutent
endutent() closes the utmp file. It should be called when the user code is done accessing the file with the other functions.