libexplain  1.4.D001
Functions
libexplain/string_to/gid.c File Reference
#include <libexplain/ac/grp.h>
#include <libexplain/ac/stdlib.h>
#include <libexplain/ac/string.h>
#include <libexplain/fstrcmp.h>
#include <libexplain/output.h>
#include <libexplain/string_to_thing.h>

Go to the source code of this file.

Functions

gid_t explain_parse_gid_t_or_die (const char *text)

Function Documentation

gid_t explain_parse_gid_t_or_die ( const char *  text)

The explain_parse_gid_t_or_die function may be used to convert text to a group ID.

Parameters:
textThe text to be converted.
Returns:
On success, a gid. On error, prints an error message and does not return.

Definition at line 30 of file gid.c.