libexplain  1.4.D001
Functions
libexplain/string_to/long.c File Reference
#include <libexplain/string_to_thing.h>
#include <libexplain/strtol.h>

Go to the source code of this file.

Functions

long explain_parse_long_or_die (const char *text)

Function Documentation

long explain_parse_long_or_die ( const char *  text)

The explain_parse_long_or_die function may be used to convert text to a long value.

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

Definition at line 25 of file long.c.