2 @subsection @code{getpass}
9 @ref{getpass,,Reading Passphrases,libc},
12 @url{https://www.gnu.org/software/libc/manual/html_node/getpass.html},
15 @uref{https://www.kernel.org/doc/man-pages/online/pages/man3/getpass.3.html,,man getpass}.
18 Gnulib module: getpass or getpass-gnu
22 Portability problems fixed by either Gnulib module @code{getpass} or @code{getpass-gnu}:
25 This function is missing on some platforms:
26 mingw, MSVC 14, Android 9.0.
28 This function cannot be called from plain inline or extern inline functions
33 Portability problems fixed by Gnulib module @code{getpass-gnu}:
36 The returned password is truncated to PASS_MAX characters on some platforms:
37 uClibc (256), musl (128), macOS 14 (128), FreeBSD 14.0 (128), NetBSD 3.0 (128), OpenBSD 4.0 (128), AIX 5.1 (32), HP-UX 11 (8), Solaris 11 2010-11 (8, even less than PASS_MAX), Cygwin (128).
38 The gnulib implementation returns the password untruncated.
41 Portability problems not fixed by Gnulib: