cosmopolitan/libc/stdio/readpassphrase.h
Jōshin 4292348707
Import libbsd readpassphrase (#1182)
Included from:

https://gitlab.freedesktop.org/libbsd/libbsd

At commit 04a24db27ad1572f766bad772cdd9c146e6d9cf0.
2024-05-20 03:37:30 -04:00

17 lines
471 B
C

#ifndef COSMOPOLITAN_LIBC_STDIO_READPASSPHRASE_H_
#define COSMOPOLITAN_LIBC_STDIO_READPASSPHRASE_H_
#define RPP_ECHO_OFF 0x00
#define RPP_ECHO_ON 0x01
#define RPP_REQUIRE_TTY 0x02
#define RPP_FORCELOWER 0x04
#define RPP_FORCEUPPER 0x08
#define RPP_SEVENBIT 0x10
#define RPP_STDIN 0x20
COSMOPOLITAN_C_START_
char *readpassphrase(const char *, char *, size_t, int) libcesque;
COSMOPOLITAN_C_END_
#endif /* COSMOPOLITAN_LIBC_STDIO_READPASSPHRASE_H_ */