asn1_strerror(3) API function

SYNOPSIS

#include <libtasn1.h>

const char * asn1_strerror(asn1_retCode error);

ARGUMENTS

asn1_retCode error
is an error returned by a libtasn1 function.

DESCRIPTION

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.

This function replaces libtasn1_strerror() in older libtasn1.

RETURNS

Pointer to static zero-terminated string describing error code.

SINCE

1.6

COPYRIGHT

Copyright © 2006-2011 Free Software Foundation, Inc..
Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved.