Next: POSIX host OS and machine identification, Previous: POSIX process environment, Up: POSIX interface
User ids & group ids are boxed integers that represent Unix
users & groups. Also, every user & group has a corresponding user
info or group info record, which contains miscellaneous
information about the user or group. The procedures in this section
are exported by the structures posix-users
& posix
.
User-id?
&group-id?
are the disjoint type predicates for user & group ids.User-id=?
&group-id=?
test whether two user or group ids, respectively, are the same, i.e. whether their numbers are equal.User-id->integer
,group-id->integer
,integer->user-id
, &integer->group-id
convert between user or group ids and integers.
These provide access for the user or group info records that correspond with the given user or group ids or names.
User-info?
&group-info?
are the disjoint type predicates for user info & group info records. The others are accessors for the various data available in those records.