|
@ -43,6 +43,9 @@ |
|
|
#ifndef _GRP_H_ |
|
|
#ifndef _GRP_H_ |
|
|
#define _GRP_H_ |
|
|
#define _GRP_H_ |
|
|
|
|
|
|
|
|
|
|
|
#include <sys/cdefs.h> |
|
|
|
|
|
#include <sys/types.h> |
|
|
|
|
|
|
|
|
#if !defined(_POSIX_SOURCE) && !defined(_XOPEN_SOURCE) |
|
|
#if !defined(_POSIX_SOURCE) && !defined(_XOPEN_SOURCE) |
|
|
#define _PATH_GROUP "/etc/group" |
|
|
#define _PATH_GROUP "/etc/group" |
|
|
#endif |
|
|
#endif |
|
@ -54,8 +57,6 @@ struct group { |
|
|
char **gr_mem; /* group members */ |
|
|
char **gr_mem; /* group members */ |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
#include <sys/cdefs.h> |
|
|
|
|
|
|
|
|
|
|
|
__BEGIN_DECLS |
|
|
__BEGIN_DECLS |
|
|
struct group *getgrgid __P((gid_t)); |
|
|
struct group *getgrgid __P((gid_t)); |
|
|
struct group *getgrnam __P((const char *)); |
|
|
struct group *getgrnam __P((const char *)); |
|
|