mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-13 05:41:26 +01:00
Namespace: endpwent, getpwent, and setpwent are XSI extensions.
This commit is contained in:
parent
44bf9512a8
commit
32f1a59174
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=189819
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user