Author: das Date: Sat Mar 14 19:13:01 2009 New Revision: 189819 URL: http://svn.freebsd.org/changeset/base/189819
Log: Namespace: endpwent, getpwent, and setpwent are XSI extensions. Modified: head/include/pwd.h Modified: head/include/pwd.h ============================================================================== --- head/include/pwd.h Sat Mar 14 19:12:11 2009 (r189818) +++ head/include/pwd.h Sat Mar 14 19:13:01 2009 (r189819) @@ -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, _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"