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

Go to the source code of this file.

Functions

ptrdiff_t explain_parse_ptrdiff_t_or_die (const char *text)

Function Documentation

ptrdiff_t explain_parse_ptrdiff_t_or_die ( const char *  text)

The explain_string_to_thing function may be used to convert text to a ptrdiff_t value.

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

Definition at line 24 of file ptrdiff_t.c.