HP-UX Reference (11i v2 07/12) - 3 Library Functions A-M (vol 6)

g
getuts(3C) getuts(3C)
ERRORS
[EINVAL] The size parameter passed to the getuts functions does not match any of the structure
sizes supported by the server.
WARNINGS
If the size of a member of the
utmps structure changes in a future release, applications compiled with
older version of the
utmps structure will get truncated information for the structure fields that have
expanded. To get the complete information the applications have to be re-compiled.
The value returned by getutsent() , getutsid()
, getutsline() , pututsline() , and
getutspid() points to a single static area that is overwritten by each call to any of the functions, so it
must be copied if it is to be saved.
AUTHOR
The getuts() routines were developed by Hewlett-Packard Company.
FILES
/etc/utmps
SEE ALSO
utmpd(1M), bwtmps(3C), thread_safety(5).
HP-UX 11i Version 2: December 2007 Update 3 Hewlett-Packard Company 559