1 @subheading asn1_perror
3 @deftypefun {void} {asn1_perror} (asn1_retCode @var{error})
4 @var{error}: is an error returned by a libtasn1 function.
6 Prints a string to stderr with a description of an error. This
7 function is like @code{perror()}. The only difference is that it accepts
8 an error returned by a libtasn1 function.
10 This function replaces @code{libtasn1_perror()} in older libtasn1.
15 @subheading asn1_strerror
16 @anchor{asn1_strerror}
17 @deftypefun {const char *} {asn1_strerror} (asn1_retCode @var{error})
18 @var{error}: is an error returned by a libtasn1 function.
20 Returns a string with a description of an error. This function is
21 similar to strerror. The only difference is that it accepts an
22 error (number) returned by a libtasn1 function.
24 This function replaces @code{libtasn1_strerror()} in older libtasn1.
26 @strong{Returns:} Pointer to static zero-terminated string describing error
32 @subheading libtasn1_perror
33 @anchor{libtasn1_perror}
34 @deftypefun {void} {libtasn1_perror} (asn1_retCode @var{error})
35 @var{error}: is an error returned by a libtasn1 function.
37 Prints a string to stderr with a description of an error. This
38 function is like @code{perror()}. The only difference is that it accepts
39 an error returned by a libtasn1 function.
41 @strong{Deprecated:} Use @code{asn1_perror()} instead.
44 @subheading libtasn1_strerror
45 @anchor{libtasn1_strerror}
46 @deftypefun {const char *} {libtasn1_strerror} (asn1_retCode @var{error})
47 @var{error}: is an error returned by a libtasn1 function.
49 Returns a string with a description of an error. This function is
50 similar to strerror. The only difference is that it accepts an
51 error (number) returned by a libtasn1 function.
53 @strong{Returns:} Pointer to static zero-terminated string describing error
56 @strong{Deprecated:} Use @code{asn1_strerror()} instead.