Browse Source

prototype for getpass

Rich Felker 14 years ago
parent
commit
ef839c73d7
1 changed files with 4 additions and 0 deletions
  1. 4 0
      include/pwd.h

+ 4 - 0
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