aboutsummaryrefslogtreecommitdiff
path: root/include/pwd_.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/pwd_.h')
-rw-r--r--include/pwd_.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/include/pwd_.h b/include/pwd_.h
index ea158da45..625b6f5a2 100644
--- a/include/pwd_.h
+++ b/include/pwd_.h
@@ -63,7 +63,7 @@ extern struct passwd *fgetpwent(FILE *__stream);
63 63
64/* Write the given entry onto the given stream. */ 64/* Write the given entry onto the given stream. */
65extern int putpwent(const struct passwd *__restrict __p, 65extern int putpwent(const struct passwd *__restrict __p,
66 FILE *__restrict __f); 66 FILE *__restrict __f);
67#endif 67#endif
68 68
69/* Search for an entry with a matching user ID. */ 69/* Search for an entry with a matching user ID. */
@@ -81,25 +81,25 @@ extern struct passwd *getpwnam(const char *__name);
81 POSIX people would choose. */ 81 POSIX people would choose. */
82 82
83extern int getpwent_r(struct passwd *__restrict __resultbuf, 83extern int getpwent_r(struct passwd *__restrict __resultbuf,
84 char *__restrict __buffer, size_t __buflen, 84 char *__restrict __buffer, size_t __buflen,
85 struct passwd **__restrict __result); 85 struct passwd **__restrict __result);
86 86
87extern int getpwuid_r(uid_t __uid, 87extern int getpwuid_r(uid_t __uid,
88 struct passwd *__restrict __resultbuf, 88 struct passwd *__restrict __resultbuf,
89 char *__restrict __buffer, size_t __buflen, 89 char *__restrict __buffer, size_t __buflen,
90 struct passwd **__restrict __result); 90 struct passwd **__restrict __result);
91 91
92extern int getpwnam_r(const char *__restrict __name, 92extern int getpwnam_r(const char *__restrict __name,
93 struct passwd *__restrict __resultbuf, 93 struct passwd *__restrict __resultbuf,
94 char *__restrict __buffer, size_t __buflen, 94 char *__restrict __buffer, size_t __buflen,
95 struct passwd **__restrict __result); 95 struct passwd **__restrict __result);
96 96
97/* Read an entry from STREAM. This function is not standardized and 97/* Read an entry from STREAM. This function is not standardized and
98 probably never will. */ 98 probably never will. */
99extern int fgetpwent_r(FILE *__restrict __stream, 99extern int fgetpwent_r(FILE *__restrict __stream,
100 struct passwd *__restrict __resultbuf, 100 struct passwd *__restrict __resultbuf,
101 char *__restrict __buffer, size_t __buflen, 101 char *__restrict __buffer, size_t __buflen,
102 struct passwd **__restrict __result); 102 struct passwd **__restrict __result);
103 103
104POP_SAVED_FUNCTION_VISIBILITY 104POP_SAVED_FUNCTION_VISIBILITY
105 105