diff options
Diffstat (limited to 'doc/texi/errors.c.texi')
-rw-r--r-- | doc/texi/errors.c.texi | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/doc/texi/errors.c.texi b/doc/texi/errors.c.texi new file mode 100644 index 0000000..718e51b --- /dev/null +++ b/doc/texi/errors.c.texi @@ -0,0 +1,27 @@ +@subheading asn1_perror +@anchor{asn1_perror} +@deftypefun {void} {asn1_perror} (int @var{error}) +@var{error}: is an error returned by a libtasn1 function. + +Prints a string to stderr with a description of an error. This +function is like @code{perror()} . The only difference is that it accepts +an error returned by a libtasn1 function. + +@strong{Since:} 1.6 +@end deftypefun + +@subheading asn1_strerror +@anchor{asn1_strerror} +@deftypefun {const char *} {asn1_strerror} (int @var{error}) +@var{error}: is an error returned by a libtasn1 function. + +Returns a string with a description of an error. This function is +similar to strerror. The only difference is that it accepts an +error (number) returned by a libtasn1 function. + +@strong{Returns:} Pointer to static zero-terminated string describing error +code. + +@strong{Since:} 1.6 +@end deftypefun + |