Initialize Tizen 2.3
[external/libtasn1.git] / doc / texi / errors.c.texi
1 @subheading asn1_perror
2 @anchor{asn1_perror}
3 @deftypefun {void} {asn1_perror} (asn1_retCode @var{error})
4 @var{error}: is an error returned by a libtasn1 function.
5
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.
9
10 This function replaces @code{libtasn1_perror()} in older libtasn1.
11
12 @strong{Since:} 1.6
13 @end deftypefun
14
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.
19
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.
23
24 This function replaces @code{libtasn1_strerror()} in older libtasn1.
25
26 @strong{Returns:} Pointer to static zero-terminated string describing error
27 code.
28
29 @strong{Since:} 1.6
30 @end deftypefun
31
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.
36
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.
40
41 @strong{Deprecated:} Use @code{asn1_perror()} instead.
42 @end deftypefun
43
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.
48
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.
52
53 @strong{Returns:} Pointer to static zero-terminated string describing error
54 code.
55
56 @strong{Deprecated:} Use @code{asn1_strerror()} instead.
57 @end deftypefun
58