Changes and additions migrated from cvs.devel.redhat.com:/cvs/devel/glibc to fedora...
[glibc.git] / glibc-compat / include / pwd.h
bloba0e94e663122fbc72fda6b6df50e545e6363e9b6
1 #ifndef _PWD_H
2 #include <pwd/pwd.h>
4 /* Now define the internal interfaces. */
5 extern int __getpwent_r (struct passwd *__resultbuf, char *__buffer,
6 size_t __buflen, struct passwd **__result);
7 extern int __old_getpwent_r (struct passwd *__resultbuf, char *__buffer,
8 size_t __buflen, struct passwd **__result);
9 extern int __getpwuid_r (__uid_t __uid, struct passwd *__resultbuf,
10 char *__buffer, size_t __buflen,
11 struct passwd **__result);
12 extern int __old_getpwuid_r (__uid_t __uid, struct passwd *__resultbuf,
13 char *__buffer, size_t __buflen,
14 struct passwd **__result);
15 extern int __getpwnam_r (__const char *__name, struct passwd *__resultbuf,
16 char *__buffer, size_t __buflen,
17 struct passwd **__result);
18 extern int __old_getpwnam_r (__const char *__name, struct passwd *__resultbuf,
19 char *__buffer, size_t __buflen,
20 struct passwd **__result);
21 extern int __fgetpwent_r (FILE * __stream, struct passwd *__resultbuf,
22 char *__buffer, size_t __buflen,
23 struct passwd **__result);
25 #endif