def METHOD_NAME():
    """
    ctypes wrapper for:
        void endpwent(void)
    """
    func = nss_sss_ctypes_loader("_nss_sss_endpwent")
    func.argtypes = []
    res = func()
    assert res == NssReturnCode.SUCCESS
    errno = get_errno()
    if errno != 0:
        raise SssdNssError(errno, "endpwent")