ultrix man page for getpass

Query: getpass

OS: ultrix

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

getpass(3)						     Library Functions Manual							getpass(3)

Name
       getpass - read a password

Syntax
       char *getpass(prompt)
       char *prompt;

Description
       The  subroutine	reads  a password from the file or if that cannot be opened, from the standard input, after prompting with the null-termi-
       nated string prompt and disabling echoing.  The subroutine can return up to characters.	is defined in A pointer is returned to a null-ter-
       minated string of at most 16 characters.

Environment
       When  your program is compiled using the System V environment, if the file cannot be opened, a NULL pointer is returned.  An interrupt will
       terminate input and send an interrupt signal to the calling process before returning.

Restrictions
       The return value points to static data whose content is overwritten by each call.

Files
See Also
																	getpass(3)
Related Man Pages
getpass(3) - netbsd
getpass(3c) - sunos
getpassphrase(3c) - sunos
getpass(3) - freebsd
getpassphrase(3c) - plan9
Similar Topics in the Unix Linux Community
Tweaked getpass() function gives an untraceable bug