aboutsummaryrefslogtreecommitdiff
path: root/include/grp_.h
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2013-01-15 13:58:01 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2013-01-15 13:58:01 +0100
commit6830ade6aa91dad5afe6abf9d1e4f696f5641bf1 (patch)
tree0b7de8e0cbaa864f742901814f734549270e5ff9 /include/grp_.h
parent30a8652fbf16884490cee4a624f039a9ab587269 (diff)
downloadbusybox-w32-6830ade6aa91dad5afe6abf9d1e4f696f5641bf1.tar.gz
busybox-w32-6830ade6aa91dad5afe6abf9d1e4f696f5641bf1.tar.bz2
busybox-w32-6830ade6aa91dad5afe6abf9d1e4f696f5641bf1.zip
whitespace fixes. no code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include/grp_.h')
-rw-r--r--include/grp_.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/include/grp_.h b/include/grp_.h
index 82ad90492..e5075e5a0 100644
--- a/include/grp_.h
+++ b/include/grp_.h
@@ -64,7 +64,7 @@ extern struct group *fgetgrent(FILE *__stream);
64 64
65/* Write the given entry onto the given stream. */ 65/* Write the given entry onto the given stream. */
66extern int putgrent(const struct group *__restrict __p, 66extern int putgrent(const struct group *__restrict __p,
67 FILE *__restrict __f); 67 FILE *__restrict __f);
68#endif 68#endif
69 69
70/* Search for an entry with a matching group ID. */ 70/* Search for an entry with a matching group ID. */
@@ -82,32 +82,32 @@ extern struct group *getgrnam(const char *__name);
82 POSIX people would choose. */ 82 POSIX people would choose. */
83 83
84extern int getgrent_r(struct group *__restrict __resultbuf, 84extern int getgrent_r(struct group *__restrict __resultbuf,
85 char *__restrict __buffer, size_t __buflen, 85 char *__restrict __buffer, size_t __buflen,
86 struct group **__restrict __result); 86 struct group **__restrict __result);
87 87
88/* Search for an entry with a matching group ID. */ 88/* Search for an entry with a matching group ID. */
89extern int getgrgid_r(gid_t __gid, struct group *__restrict __resultbuf, 89extern int getgrgid_r(gid_t __gid, struct group *__restrict __resultbuf,
90 char *__restrict __buffer, size_t __buflen, 90 char *__restrict __buffer, size_t __buflen,
91 struct group **__restrict __result); 91 struct group **__restrict __result);
92 92
93/* Search for an entry with a matching group name. */ 93/* Search for an entry with a matching group name. */
94extern int getgrnam_r(const char *__restrict __name, 94extern int getgrnam_r(const char *__restrict __name,
95 struct group *__restrict __resultbuf, 95 struct group *__restrict __resultbuf,
96 char *__restrict __buffer, size_t __buflen, 96 char *__restrict __buffer, size_t __buflen,
97 struct group **__restrict __result); 97 struct group **__restrict __result);
98 98
99/* Read a group entry from STREAM. This function is not standardized 99/* Read a group entry from STREAM. This function is not standardized
100 an probably never will. */ 100 an probably never will. */
101extern int fgetgrent_r(FILE *__restrict __stream, 101extern int fgetgrent_r(FILE *__restrict __stream,
102 struct group *__restrict __resultbuf, 102 struct group *__restrict __resultbuf,
103 char *__restrict __buffer, size_t __buflen, 103 char *__restrict __buffer, size_t __buflen,
104 struct group **__restrict __result); 104 struct group **__restrict __result);
105 105
106/* Store at most *NGROUPS members of the group set for USER into 106/* Store at most *NGROUPS members of the group set for USER into
107 *GROUPS. Also include GROUP. The actual number of groups found is 107 *GROUPS. Also include GROUP. The actual number of groups found is
108 returned in *NGROUPS. Return -1 if the if *NGROUPS is too small. */ 108 returned in *NGROUPS. Return -1 if the if *NGROUPS is too small. */
109extern int getgrouplist(const char *__user, gid_t __group, 109extern int getgrouplist(const char *__user, gid_t __group,
110 gid_t *__groups, int *__ngroups); 110 gid_t *__groups, int *__ngroups);
111 111
112/* Initialize the group set for the current user 112/* Initialize the group set for the current user
113 by reading the group database and using all groups 113 by reading the group database and using all groups