Operating systems, development tools, and professional services
for connected embedded systems
for connected embedded systems
![]() |
![]() |
![]() |
![]() |
endutent()
Close the current user-information file
Synopsis:
#include <utmp.h> void endutent( void );
Library:
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). |
Description:
The endutent() function closes the currently open file specified in _PATH_UTMP.
Files:
- _PATH_UTMP
- The name of the user information file.
Classification:
| Safety: | |
|---|---|
| Cancellation point | Yes |
| Interrupt handler | No |
| Signal handler | No |
| Thread | No |
See also:
getutent(), getutid(), getutline(), pututline(), setutent(), utmp, utmpname()
login in the Utilities Reference
![]() |
![]() |
![]() |
![]() |

![[Previous]](../prev.gif)
![[Contents]](../contents.gif)
![[Index]](../keyword_index.gif)
![[Next]](../next.gif)
