shishi_prompt_password(3)
β¨ NAME β¨
shishi_prompt_password β bestie, it's an API function π (from the shishi manual, section 3, iykyk)
πΈ SYNOPSIS πΈ
#include <shishi.h>
int shishi_prompt_password(Shishi * handle, char ** s, const char *
format, ...);
π ARGUMENTS π
Shishi * handleβ your shishi handle, the one you got fromshishi_init(). she's the main character, everything runs through her.char ** sβ pointer to a newly allocated output string, and inside that string lives the password you just read. fresh out the box, no cap π«Άconst char * formatβ aprintf(3)style format string. yes, that kind of format string....β theprintf(3)style arguments that go with it. the little squad trailing behind the format string π
π¦ DESCRIPTION π¦
okay so here's the vibe: this function formats and prints a prompt, then reads a password from the user. that's it, that's the whole thing β¨
and here's the lowkey important part β that password is possibly converted. like, converted from Latin-1 to UTF-8, or processed using a Stringprep profile, whatever the situation calls for. and this conversion follows any "stringprocess" keywords you've got hanging out in your configuration files. so if your config says something, this function is listening π
β RETURN VALUE β
Returns SHISHI_OK iff successful. that's the green flag, the good ending, the slay π
π REPORTING BUGS π
found a bug? not the moment, but also pls tell someone. report bugs to <bug-shishi@gnu.org>.
- GNU Shishi home page: http://www.gnu.org/software/shishi/
- General help using GNU software: http://www.gnu.org/gethelp/
π COPYRIGHT π
Copyright Β© 2002-2022 Simon Josefsson.
Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. (basically: keep the receipts, then do whatever π)
π SEE ALSO π
The full documentation for shishi is maintained as a Texinfo manual. If the info and shishi programs are properly installed at your site, the command
info shishi
should give you access to the complete manual. go read it, it's giving encyclopedia but make it iconic π§
and that's the whole page bestie β this was shishi_prompt_password(3) from shishi 1.0.3, and that's the version + source this came from, periodt π
β¨
π¦ where this page comes from
- debian bookworm: shishi-doc 1.0.3-1 Β· GPL-3.0-or-later
- debian trixie: shishi-doc 1.0.3-5 Β· GPL-3.0-or-later
- nixos 26.05: shishi 1.0.3
- nixpkgs unstable: shishi 1.0.3
- ubuntu noble: shishi-doc 1.0.3-2.1build2 Β· GPL-3.0-or-later
- ubuntu questing: shishi-doc 1.0.3-5
- ubuntu resolute: shishi-doc 1.0.3-5build1 Β· GPL-3.0-or-later
- ubuntu stonking: shishi-doc 1.0.3-7 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms