diff options
author | Rich Felker <dalias@aerifal.cx> | 2011-03-28 20:43:51 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2011-03-28 20:43:51 -0400 |
commit | ef839c73d7ad51249550675defdcb24349e6ffd0 (patch) | |
tree | fbaa7195216fd1e223f2a3fab06609451a765572 /include/pwd.h | |
parent | 83b6c9e052ed8c813c03a5517943b61caef6b065 (diff) | |
download | musl-ef839c73d7ad51249550675defdcb24349e6ffd0.tar.gz musl-ef839c73d7ad51249550675defdcb24349e6ffd0.tar.bz2 musl-ef839c73d7ad51249550675defdcb24349e6ffd0.tar.xz musl-ef839c73d7ad51249550675defdcb24349e6ffd0.zip |
prototype for getpass
Diffstat (limited to 'include/pwd.h')
-rw-r--r-- | include/pwd.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/pwd.h b/include/pwd.h index 5abfbfd5..38e856d3 100644 --- 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 |