Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

crypt(3c)



GETPASS(3C)             COMMAND REFERENCE             GETPASS(3C)



NAME
     getpass - read a password

SYNOPSIS
     char *getpass(prompt)
     char *prompt;

DESCRIPTION
     Getpass reads a password from the file /dev/tty, or if that
     cannot be opened, from the standard input, after prompting
     with the null-terminated string prompt and disabling
     echoing.  A pointer is returned to a null-terminated string
     of at most eight characters.

     Upon receiving an interrupt, the terminal state is restored,
     and an interrupt is sent to the process for further
     handling.  The return value in this case will be a pointer
     to a null string.

FILES
     /dev/tty     The user's terminal.

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

SEE ALSO
     crypt(3c).



























Printed 3/13/89                                                 1



%%index%%
na:336,77;
sy:413,456;
de:869,714;
fi:1583,108;
ca:1691,171;
se:1862,133;
%%index%%000000000107

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026