123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- #ifndef _CONFIG_GRP_H
- #define _CONFIG_GRP_H
- #include <features.h>
- #include <pwd.h>
- #include <grp.h>
- #include <shadow.h>
- #define PWD_BUFFER_SIZE 256
- #define GRP_BUFFER_SIZE 256
- extern int __getgrent_r (struct group *__restrict group,
- char *__restrict line_buff, size_t buflen, int grp_fd);
- extern int __getpwent_r(struct passwd * passwd, char * line_buff,
- size_t buflen, int pwd_fd);
- extern int __getspent_r(struct spwd * spwd, char * line_buff,
- size_t buflen, int spwd_fd);
- extern int __sgetspent_r(const char * string, struct spwd * spwd,
- char * line_buff, size_t buflen);
- #endif
|