Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ getpass(3) — NEWS-os 3.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

crypt(3)

GETPASS(3)  —  UNIX Programmer’s Manual

名称

getpass  −  パスワードを読み込む

形式

char ∗getpass(prompt)
char ∗prompt;

解説

getpass は、 ナルで終わる文字列 prompt を使ってプロンプトを出し、 エコーを禁止した後、 /dev/tty ファイルから、 オープンできない場合には標準入力からパスワードを 読み込みます。 ポインタは、 多くとも 8 バイトのナルで終わる文字列に返されます。

関連ファイル

/dev/tty

関連事項

crypt(3)

バグ

リターン値は、 各呼び出しによって内容が上書きされる、 静的データを ポイントします。

NEWS-OSRelease 3.3

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