Back to index

glibc  2.9
Defines | Functions | Variables
grp.h File Reference
#include <grp/grp.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define DECLARE_NSS_PROTOTYPES(service)

Functions

 libc_hidden_proto (setgroups) extern int __getgrent_r(struct group *__resultbuf
int __old_getgrent_r (struct group *__resultbuf, char *buffer, size_t __buflen, struct group **__result)
int __fgetgrent_r (FILE *__stream, struct group *__resultbuf, char *buffer, size_t __buflen, struct group **__result)
int __getgrgid_r (__gid_t __gid, struct group *__resultbuf, char *__buffer, size_t __buflen, struct group **__result)
int __old_getgrgid_r (__gid_t __gid, struct group *__resultbuf, char *__buffer, size_t __buflen, struct group **__result)
int __getgrnam_r (__const char *__name, struct group *__resultbuf, char *__buffer, size_t __buflen, struct group **__result)
int __old_getgrnam_r (__const char *__name, struct group *__resultbuf, char *__buffer, size_t __buflen, struct group **__result)
int _nss_files_parse_grent (char *line, struct group *result, struct parser_data *data, size_t datalen, int *errnop)

Variables

char * buffer
char size_t __buflen
char size_t struct group **__result attribute_hidden

Define Documentation

#define DECLARE_NSS_PROTOTYPES (   service)
Value:
extern enum nss_status _nss_ ## service ## _setgrent (int);              \
extern enum nss_status _nss_ ## service ## _endgrent (void);             \
extern enum nss_status _nss_ ## service ## _getgrgid_r                   \
                       (gid_t gid, struct group *grp, char *buffer,      \
                     size_t buflen, int *errnop);                        \
extern enum nss_status _nss_ ## service ## _getgrnam_r                   \
                       (const char *name, struct group *grp,             \
                     char *buffer, size_t buflen, int *errnop);          \
extern enum nss_status _nss_ ## service ##_getgrent_r                    \
                       (struct group *result, char *buffer, size_t buflen, \
                     int *errnop);                                \
extern enum nss_status _nss_ ## service ##_initgroups_dyn                \
                       (const char *user, gid_t group, long int *start,         \
                     long int *size, gid_t **groupsp, long int limit,   \
                     int *errnop);

Function Documentation

int __fgetgrent_r ( FILE __stream,
struct group __resultbuf,
char *  buffer,
size_t  __buflen,
struct group **  __result 
)

Here is the caller graph for this function:

int __getgrgid_r ( __gid_t  __gid,
struct group __resultbuf,
char *  __buffer,
size_t  __buflen,
struct group **  __result 
)

Here is the caller graph for this function:

int __getgrnam_r ( __const char *  __name,
struct group __resultbuf,
char *  __buffer,
size_t  __buflen,
struct group **  __result 
)

Here is the caller graph for this function:

int __old_getgrent_r ( struct group __resultbuf,
char *  buffer,
size_t  __buflen,
struct group **  __result 
)
int __old_getgrgid_r ( __gid_t  __gid,
struct group __resultbuf,
char *  __buffer,
size_t  __buflen,
struct group **  __result 
)
int __old_getgrnam_r ( __const char *  __name,
struct group __resultbuf,
char *  __buffer,
size_t  __buflen,
struct group **  __result 
)
int _nss_files_parse_grent ( char *  line,
struct group result,
struct parser_data data,
size_t  datalen,
int errnop 
)

Here is the caller graph for this function:


Variable Documentation

Definition at line 7 of file grp.h.

Definition at line 8 of file grp.h.

char* buffer

Definition at line 7 of file grp.h.