Next: system group inspect, Previous: system group printing, Up: system group [Contents][Index]
We are meant to call these function after a call to mbfl_system_group_read()
. The following
functions inspect entries from /etc/group and locate them using numeric indexes; such indexes
are valid only until the next call to mbfl_system_group_reset()
.
Search the entries of /etc/group for one whose group name is name. When successful:
print to stdout
the index of the entry and return true; otherwise return false. We can use
the index with the functions described in Inspecting entries from
/etc/group.
The function variant _var
stores the result in the variable _RV, rather than print it;
Result variables.
Search the entries of /etc/group for one whose group id is gid. When successful: print
to stdout
the index of the entry and return true; otherwise return false. We can use the
index with the functions described in Inspecting entries from
/etc/group.
The function variant _var
stores the result in the variable _RV, rather than print it;
Result variables.
Next: system group inspect, Previous: system group printing, Up: system group [Contents][Index]