33 lines
544 B
Plaintext
33 lines
544 B
Plaintext
G1M_STRERROR(3)
|
|
===============
|
|
Thomas "Cakeisalie5" Touhey
|
|
:Email: thomas@touhey.fr
|
|
:man source: libg1m
|
|
:man manual: libg1m manual
|
|
|
|
NAME
|
|
----
|
|
g1m_strerror - get error string of a libg1m error
|
|
|
|
SYNOPSIS
|
|
--------
|
|
[source,c]
|
|
----
|
|
#include <libg1m.h>
|
|
|
|
const char *g1m_strerror(int err);
|
|
|
|
printf("Couldn't perform action: %s\n", g1m_strerror(g1m_error_nostream));
|
|
----
|
|
|
|
DESCRIPTION
|
|
-----------
|
|
Get the string description of a libg1m error.
|
|
|
|
Never use an invalid error code! It could cause a segfault.
|
|
|
|
SEE ALSO
|
|
--------
|
|
*libg1m*(3),
|
|
*g1m_error*(3)
|