Rechercher une page de manuel
nscd_flush_cache
Langue: en
Version: 10/05/2006 (openSuse - 09/10/07)
Section: 3 (Bibliothèques de fonctions)
NAME
nscd_flush_cache - flush cache of Name Service Cache Daemon (nscd)SYNOPSIS
#include <libnscd.h>
- int nscd_flush_cache(const char *service);
DESCRIPTION
nscd_flush_cache() flushes the specified cache of nscd(8)
- for the given service. This is important if user or group entries are modified, so that nscd does not continue to work with old data.
Allowed values for service are passwd, group or hosts.
RETURN VALUE
nscd_flush_cache() returns zero on success. On error, -1 is returned, and errno is set appropriately.
ERRORS
- ENOENT
- The nscd daemon is not running.
- EINVAL
- service does not contain a valid value.
NOTES
Old nscd implementations don't return an error if the service value is invalid.
SEE ALSO
nscd(8)
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre