Explorar o código

prototype for getpass

Rich Felker %!s(int64=14) %!d(string=hai) anos
pai
achega
ef839c73d7
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  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