manpagez: man pages & more
info libtasn1
Home | html | info | man
[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

4.4 Error handling functions

asn1_perror

Function: void asn1_perror (asn1_retCode error)

error: is an error returned by a libtasn1 function.

This function is like perror(). The only difference is that it accepts an error returned by a libtasn1 function.

This function replaces libtasn1_perror() in older libtasn1.

Since: 1.6

asn1_strerror

Function: const char * asn1_strerror (asn1_retCode error)

error: is an error returned by a libtasn1 function.

This function is similar to strerror(). The only difference is that it accepts an error (number) returned by a libtasn1 function.

This function replaces libtasn1_strerror() in older libtasn1.

Returns: Pointer to static zero-terminated string describing error code.

Since: 1.6

libtasn1_perror

Function: void libtasn1_perror (asn1_retCode error)

error: is an error returned by a libtasn1 function.

This function is like perror(). The only difference is that it accepts an error returned by a libtasn1 function.

Deprecated: Use asn1_perror() instead.

libtasn1_strerror

Function: const char * libtasn1_strerror (asn1_retCode error)

error: is an error returned by a libtasn1 function.

This function is similar to strerror(). The only difference is that it accepts an error (number) returned by a libtasn1 function.

Returns: Pointer to static zero-terminated string describing error code.

Deprecated: Use asn1_strerror() instead.


© manpagez.com 2000-2025
Individual documents may contain additional copyright information.