diff options
author | Ulf Möller <ulf@openssl.org> | 2000-02-01 01:37:00 +0000 |
---|---|---|
committer | Ulf Möller <ulf@openssl.org> | 2000-02-01 01:37:00 +0000 |
commit | 388f2f56f213dfada0370d48cb9bcc3c7e980b32 (patch) | |
tree | 587fe7258e54967024947b1da5c0851faf819276 /doc/crypto/ERR_load_crypto_strings.pod | |
parent | f5a8d67872fe2c58626a2423c3ec923f8c2a5d4a (diff) | |
download | openssl-388f2f56f213dfada0370d48cb9bcc3c7e980b32.zip openssl-388f2f56f213dfada0370d48cb9bcc3c7e980b32.tar.gz openssl-388f2f56f213dfada0370d48cb9bcc3c7e980b32.tar.bz2 |
Document ERR library.
Diffstat (limited to 'doc/crypto/ERR_load_crypto_strings.pod')
-rw-r--r-- | doc/crypto/ERR_load_crypto_strings.pod | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/doc/crypto/ERR_load_crypto_strings.pod b/doc/crypto/ERR_load_crypto_strings.pod new file mode 100644 index 0000000..25f7b20 --- /dev/null +++ b/doc/crypto/ERR_load_crypto_strings.pod @@ -0,0 +1,46 @@ +=pod + +=head1 NAME + +ERR_load_crypto_strings, SSL_load_error_strings, ERR_free_strings - +Load and free error strings + +=head1 SYNOPSIS + + #include <openssl/err.h> + + void ERR_load_crypto_strings(void); + void ERR_free_strings(void); + + #include <openssl/ssl.h> + + void SSL_load_error_strings(void); + +=head1 DESCRIPTION + +ERR_load_crypto_strings() registers the error strings for all +B<libcrypto> functions. SSL_load_error_strings() does the same, +but also registers the B<libssl> error strings. + +One of these functions should be called before generating +textual error messages. However, this is not required when memory +usage is an issue. + +ERR_free_strings() frees all previously loaded error strings. + +=head1 RETURN VALUES + +ERR_load_crypto_strings(), SSL_load_error_strings() and +ERR_free_strings() return no values. + +=head1 SEE ALSO + +L<err(3)|err(3)>, L<ERR_error_string(3)|ERR_error_string(3)> + +=head1 HISTORY + +ERR_load_error_strings(), SSL_load_error_strings() and +ERR_free_strings() are available in all versions of SSLeay and +OpenSSL. + +=cut |