| 総合手引 | セクション 3 | オプション |
#include <sys/types.h>
#include <libutil.h>
host で指定するホスト名の長さが wtmp(5) ファイルのホスト名フィールドと合わない場合、最初は、 gethostbyname(3) により数値の IP アドレスに変換しようとします。 これに失敗した場合、ホスト名は "invalid hostname" (不正ホスト名) として記録されます。
呼び出しプロセスは、 wtmp(5) ファイルに対し、読み込み、書き込みの両方の権限を持っている必要があります。
| LOGWTMP (3) | December 29, 1996 |
| 総合手引 | セクション 3 | オプション |
このマニュアルページサービスについてのご意見は Ben Bullock にお知らせください。 Privacy policy.
| “ | Do you laugh when the waiter drops a tray full of dishes? Unix weenies do. They're the first ones to laugh at hapless users, trying to figure out an error message that doesn't have anything to do with what they just typed. | ” |
| — The Unix Haters' handbook | ||