Header for getpass.c.
More...
Go to the source code of this file.
|
ssize_t | tor_getpass (const char *prompt, char *output, size_t buflen) |
|
Header for getpass.c.
Definition in file getpass.h.
◆ tor_getpass()
ssize_t tor_getpass |
( |
const char * |
prompt, |
|
|
char * |
output, |
|
|
size_t |
buflen |
|
) |
| |
Emit the password prompt prompt, then read up to buflen bytes of passphrase into output. Return the number of bytes in the passphrase, excluding terminating NUL.
Definition at line 50 of file getpass.c.