projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83b6c9e
)
prototype for getpass
author
Rich Felker
<dalias@aerifal.cx>
Tue, 29 Mar 2011 00:43:51 +0000
(20:43 -0400)
committer
Rich Felker
<dalias@aerifal.cx>
Tue, 29 Mar 2011 00:43:51 +0000
(20:43 -0400)
include/pwd.h
patch
|
blob
|
history
diff --git
a/include/pwd.h
b/include/pwd.h
index 5abfbfd56aa606db2d87a650ea271eb5ecc6ea52..38e856d381731b18277e25aff520ccbdab67d8c1 100644
(file)
--- a/
include/pwd.h
+++ b/
include/pwd.h
@@
-31,6
+31,10
@@
struct passwd *getpwnam (const char *);
int getpwuid_r (uid_t, struct passwd *, char *, size_t, struct passwd **);
int getpwnam_r (const char *, struct passwd *, char *, size_t, struct passwd **);
+#ifdef _GNU_SOURCE
+char *getpass(const char *);
+#endif
+
#ifdef __cplusplus
}
#endif