New function to find a group by its GID on the local database.

This commit is contained in:
nekral-guest
2008-02-03 16:51:08 +00:00
parent 7344e055be
commit be7c51d27a
3 changed files with 16 additions and 0 deletions

View File

@@ -1,5 +1,7 @@
#include <grp.h>
extern int gr_close (void);
extern const struct group *gr_locate (const char *);
extern const struct group *gr_locate_gid (gid_t gid);
extern int gr_lock (void);
extern int gr_name (const char *);
extern const struct group *gr_next (void);