GNU Rush – a restricted user shell (split by section):   Section:   Chapter:FastBack: Accounting Database   Up: Accounting Database   FastForward: Reporting Bugs   Contents: Table of ContentsIndex: Concept Index

11.2 The utmp file

The utmp file consists of a fixed-size records of the following structure:

struct rush_utmp {
        int status;
        off_t offset;
};

The fields have the following meaning:

status

Status of the record: ‘0’ if the record is unused, and ‘1’ if it represents an active session.

offset

Offset of the corresponding record in wtmp (see previous section).

GNU Rush – a restricted user shell (split by section):   Section:   Chapter:FastBack: Accounting Database   Up: Accounting Database   FastForward: Reporting Bugs   Contents: Table of ContentsIndex: Concept Index