home *** CD-ROM | disk | FTP | other *** search
-
-
-
- GETPASS(3) MINTLIB LIBRARY FUNCTIONS GETPASS(3)
-
-
- N✓NA✓AM✓ME✓E
- getpass - read a password
-
- S✓SY✓YN✓NO✓OP✓PS✓SI✓IS✓S
- #include <unistd.h>
-
- char *getpass(const char *prompt);
-
- D✓DE✓ES✓SC✓CR✓RI✓IP✓PT✓TI✓IO✓ON✓N
- getpass reads up to a newline or EOF from standard input
- (TOS) or /dev/tty (MiNT), after prompting on the standard
- error output with the null-terminated string prompt and
- disabling echoing. A pointer is returned to a null-
- terminated string of at most PASS_MAX characters. PASS_MAX
- is defined in <limits.h> and has curently been set to 8.
-
- W✓WA✓AR✓RN✓NI✓IN✓NG✓G
- getpass uses <stdio.h>, which may cause an unexpected
- increase in the size of a program not otherwise using
- standard I/O.
-
- The return value points to static data whose contents is
- overwritten by each call.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- MiNT docs 0.1 3 March 1993 1
-
-
-