getpass
-------

Documentation:

  * Reading Passphrases (libc),

  * man getpass.

Gnulib module: getpass or getpass-gnu

Portability problems fixed by either Gnulib module getpass or getpass-gnu:

  * This function is missing on some platforms: mingw, MSVC 14, Android 9.0.

Portability problems fixed by Gnulib module getpass-gnu:

  * The returned password is truncated to PASS_MAX characters on some platforms: uClibc (256), musl (128), Mac OS 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), Solaris 11 2010-11 (8, even less than PASS_MAX), Cygwin (128). The gnulib implementation returns the password untruncated.

Portability problems not fixed by Gnulib: