| | 409 | * manpage of getutid(3) |
| | 410 | {{{ |
| | 411 | SYNOPSIS |
| | 412 | |
| | 413 | struct utmp *getutid(struct utmp *ut); |
| | 414 | |
| | 415 | DESCRIPTION |
| | 416 | |
| | 417 | getutid() searches forward from the current file position in the utmp |
| | 418 | file based upon ut. If ut->ut_type is one of RUN_LVL, BOOT_TIME, |
| | 419 | NEW_TIME, or OLD_TIME, getutid() will find the first entry whose |
| | 420 | ut_type field matches ut->ut_type. If ut->ut_type is one of INIT_PRO- |
| | 421 | CESS, LOGIN_PROCESS, USER_PROCESS, or DEAD_PROCESS, getutid() will find |
| | 422 | the first entry whose ut_id field matches ut->ut_id. |
| | 423 | }}} |