Closes the user database and any private stream used by getpwent. Format #include <pwd.h> void endpwent (void);