Namespace: endpwent, getpwent, and setpwent are XSI extensions.

This commit is contained in:
David Schultz 2009-03-14 19:13:01 +00:00
parent 44bf9512a8
commit 32f1a59174
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=189819

View File

@ -152,10 +152,13 @@ __BEGIN_DECLS
struct passwd *getpwnam(const char *);
struct passwd *getpwuid(uid_t);
#if __POSIX_VISIBLE >= 200112 || __XSI_VISIBLE >= 500
#if __XSI_VISIBLE >= 500
void endpwent(void);
struct passwd *getpwent(void);
void setpwent(void);
#endif
#if __POSIX_VISIBLE >= 200112 || __XSI_VISIBLE >= 500
int getpwnam_r(const char *, struct passwd *, char *, size_t,
struct passwd **);
int getpwuid_r(uid_t, struct passwd *, char *, size_t,