Changeset 3232 in MondoRescue for branches/3.2/mindi-busybox/include/grp_.h
- Timestamp:
- Jan 1, 2014, 12:47:38 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.2/mindi-busybox/include/grp_.h
r2725 r3232 30 30 * so that function calls are directed to bb_internal_XXX replacements 31 31 */ 32 32 #undef endgrent 33 33 #define setgrent bb_internal_setgrent 34 34 #define endgrent bb_internal_endgrent … … 65 65 /* Write the given entry onto the given stream. */ 66 66 extern int putgrent(const struct group *__restrict __p, 67 67 FILE *__restrict __f); 68 68 #endif 69 69 … … 83 83 84 84 extern int getgrent_r(struct group *__restrict __resultbuf, 85 86 85 char *__restrict __buffer, size_t __buflen, 86 struct group **__restrict __result); 87 87 88 88 /* Search for an entry with a matching group ID. */ 89 89 extern int getgrgid_r(gid_t __gid, struct group *__restrict __resultbuf, 90 91 90 char *__restrict __buffer, size_t __buflen, 91 struct group **__restrict __result); 92 92 93 93 /* Search for an entry with a matching group name. */ 94 94 extern int getgrnam_r(const char *__restrict __name, 95 96 97 95 struct group *__restrict __resultbuf, 96 char *__restrict __buffer, size_t __buflen, 97 struct group **__restrict __result); 98 98 99 99 /* Read a group entry from STREAM. This function is not standardized 100 100 an probably never will. */ 101 101 extern int fgetgrent_r(FILE *__restrict __stream, 102 103 104 102 struct group *__restrict __resultbuf, 103 char *__restrict __buffer, size_t __buflen, 104 struct group **__restrict __result); 105 105 106 106 /* Store at most *NGROUPS members of the group set for USER into … … 108 108 returned in *NGROUPS. Return -1 if the if *NGROUPS is too small. */ 109 109 extern int getgrouplist(const char *__user, gid_t __group, 110 110 gid_t *__groups, int *__ngroups); 111 111 112 112 /* Initialize the group set for the current user
Note:
See TracChangeset
for help on using the changeset viewer.