2 * Copyright 2004-2012 Haiku, Inc. All Rights Reserved.
3 * Distributed under the terms of the MIT License.
24 extern struct group
*getgrgid(gid_t gid
);
25 extern struct group
*getgrnam(const char *name
);
26 extern int getgrgid_r(gid_t gid
, struct group
*group
, char *buffer
,
27 size_t bufferSize
, struct group
**_result
);
28 extern int getgrnam_r(const char *name
, struct group
*group
, char *buffer
,
29 size_t bufferSize
, struct group
**_result
);
31 extern struct group
*getgrent(void);
32 extern int getgrent_r(struct group
* group
, char* buffer
, size_t bufferSize
,
33 struct group
** _result
);
34 extern void setgrent(void);
35 extern void endgrent(void);