libexplain  1.4.D001
Functions
libexplain/string_to/uid.c File Reference
#include <libexplain/ac/pwd.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

uid_t explain_parse_uid_t_or_die (const char *text)

Function Documentation

uid_t explain_parse_uid_t_or_die ( const char *  text)

The explain_parse_uid_t_or_die function may be used to convert text to a user ID.

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

Definition at line 30 of file uid.c.