cake
/
libg1m
Archived
1
0
Fork 0
This repository has been archived on 2024-03-16. You can view files and clone it, but cannot push or open issues or pull requests.
libg1m/doc/g1m_strerror.3.txt

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)