grp.h (05f98035ee9621a9dc87e02ab9536390aa9025cb) grp.h (6fb888fc07e61b2e9d2b9ee751d2bddb94fe9c3c)
1/*-
2 * Copyright (c) 1989, 1993
3 * The Regents of the University of California. All rights reserved.
4 * (c) UNIX System Laboratories, Inc.
5 * All or some portions of this file are derived from material licensed
6 * to the University of California by American Telephone and Telegraph
7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with
8 * the permission of UNIX System Laboratories, Inc.

--- 60 unchanged lines hidden (view full) ---

69void endgrent(void);
70struct group *getgrent(void);
71#endif
72struct group *getgrgid(gid_t);
73struct group *getgrnam(const char *);
74#if __BSD_VISIBLE
75const char *group_from_gid(gid_t, int);
76#endif
1/*-
2 * Copyright (c) 1989, 1993
3 * The Regents of the University of California. All rights reserved.
4 * (c) UNIX System Laboratories, Inc.
5 * All or some portions of this file are derived from material licensed
6 * to the University of California by American Telephone and Telegraph
7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with
8 * the permission of UNIX System Laboratories, Inc.

--- 60 unchanged lines hidden (view full) ---

69void endgrent(void);
70struct group *getgrent(void);
71#endif
72struct group *getgrgid(gid_t);
73struct group *getgrnam(const char *);
74#if __BSD_VISIBLE
75const char *group_from_gid(gid_t, int);
76#endif
77#if __BSD_VISIBLE || __POSIX_VISIBLE >= 200112 || __XSI_VISIBLE
77#if __BSD_VISIBLE || __XSI_VISIBLE
78/* XXX IEEE Std 1003.1, 2003 specifies `void setgrent(void)' */
79int setgrent(void);
78/* XXX IEEE Std 1003.1, 2003 specifies `void setgrent(void)' */
79int setgrent(void);
80#endif
81#if __BSD_VISIBLE || __POSIX_VISIBLE >= 200112 || __XSI_VISIBLE
80int getgrgid_r(gid_t, struct group *, char *, size_t,
81 struct group **);
82int getgrnam_r(const char *, struct group *, char *, size_t,
83 struct group **);
84#endif
85#if __BSD_VISIBLE
86int getgrent_r(struct group *, char *, size_t, struct group **);
87int setgroupent(int);
88#endif
89__END_DECLS
90
91#endif /* !_GRP_H_ */
82int getgrgid_r(gid_t, struct group *, char *, size_t,
83 struct group **);
84int getgrnam_r(const char *, struct group *, char *, size_t,
85 struct group **);
86#endif
87#if __BSD_VISIBLE
88int getgrent_r(struct group *, char *, size_t, struct group **);
89int setgroupent(int);
90#endif
91__END_DECLS
92
93#endif /* !_GRP_H_ */