Update contrib.
1 /** @file ../include/grp.h
7 Refer to getgrent() for the documentation
16 /** @fn *getgrent(void)
18 Note: This description also covers the following functions -
19 getgrnam() getgrnam_r() getgrgid() getgrgid_r() setgroups() setgrent() endgrent()
26 These APIs are build supported but not available functionally. Symbian OS
27 does not support multiple users and groups.
36 /** @fn *getgrgid(gid_t gid)
38 Refer to getgrent() for the documentation
40 @return The functions getgrent, getgrnam, and getgrgid, return a pointer to a group structure on success or NULL if the entry is not found or if an error occurs. If an error does occur, errno will be set. The functions getgrnam_r and getgrgid_r return 0 if no error occurred, or an error number to indicate failure. It is not an error if a matching entry is not found. (Thus, if result is set to NULL and the return value is 0, no matching entry exists.)
41 The setgrent return the value 1 if successful, otherwise the value 0 is returned. The endgrent API has no return value.
49 /** @fn *getgrnam(const char *)
51 Refer to getgrent() for the documentation
60 /** @fn setgrent(void)
62 Refer to getgrent() for the documentation
71 /** @fn getgrgid_r(gid_t gid, struct group *grp, char *, size_t, struct group **result)
75 Refer to getgrent() for the documentation
84 /** @fn getgrnam_r(const char *name, struct group *grp, char *, size_t, struct group **result)
89 Refer to getgrent() for the documentation
100 Includes the following members,
103 @externallyDefinedApi
106 /** @var group::gr_name
110 /** @var group::gr_passwd
114 /** @var group::gr_gid
118 /** @var group::gr_mem