![]()  | 
![]()  | 
![]()  | 
![]()  | 
Close the current user-information file
#include <utmp.h> void endutent( void );
libc
Use the -l c option to qcc to link against this library. This library is usually included automatically.
![]()  | 
This function is in libc.a, but not in libc.so (in order to save space). | 
The endutent() function closes the currently open file specified in _PATH_UTMP.
| Safety: | |
|---|---|
| Cancellation point | Yes | 
| Interrupt handler | No | 
| Signal handler | No | 
| Thread | No | 
getutent(), getutid(), getutline(), pututline(), setutent(), utmp, utmpname()
login in the Utilities Reference
![]()  | 
![]()  | 
![]()  | 
![]()  |