summaryrefslogtreecommitdiff
path: root/gnulib/doc/glibc-functions/getpass.texi
blob: 111344edc57c66048c474c1c7796a5b1d3b16049 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
@node getpass
@subsection @code{getpass}
@findex getpass

Gnulib module: getpass or getpass-gnu

Portability problems fixed by either Gnulib module @code{getpass} or @code{getpass-gnu}:
@itemize
@item
This function is missing on some platforms:
mingw, MSVC 9, BeOS.
@end itemize

Portability problems fixed by Gnulib module @code{getpass-gnu}:
@itemize
@item
The returned password is truncated to PASS_MAX characters on some platforms:
MacOS X 10.5 (128), FreeBSD 6.2 (128), NetBSD 3.0 (128), OpenBSD 4.0 (128), AIX 5.1 (32), HP-UX 11 (8), IRIX 6.5 (32), OSF/1 5.1 (80), Solaris 11 2010-11 (8, even less than PASS_MAX), Cygwin (128).
The gnulib implementation returns the password untruncated.
@end itemize

Portability problems not fixed by Gnulib:
@itemize
@end itemize