libp7/doc/p7_strerror.3.txt

31 lines
540 B
Plaintext

P7_STRERROR(3)
==============
Thomas "Cakeisalie5" Touhey
:Email: thomas@touhey.fr
:man source: libp7
:man manual: libp7 manual
NAME
----
p7_strerror - get error string of a libp7 error
SYNOPSIS
--------
[source,c]
----
#include <libp7.h>
printf("Couldn't perform action: %s\n", p7_strerror(p7_error_unknown));
return (3);
----
DESCRIPTION
-----------
p7_strerror provides a quick way to display error strings to the end user. To
handle this yourself, you should use *p7_error*(3) directly.
SEE ALSO
--------
*libp7*(3),
*p7_error*(3)