GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
ERR_ASPRINTF_ERROR_DATA(3) FreeBSD Library Functions Manual ERR_ASPRINTF_ERROR_DATA(3)

ERR_asprintf_error_data
record a LibreSSL error using a formatted string

#include <openssl/err.h>

void
ERR_asprintf_error_data(char * format, ...);

ERR_asprintf_error_data builds a string using asprintf(3) called with the provided format and arguments. The resulting string is then associated with the error code that was most recently added. If asprintf(3) fails, the string "malloc failed" is associated instead.

ERR_asprintf_error_data is intended to be used instead of the OpenSSL functions ERR_add_error_data(3) and ERR_add_error_vdata(3).

ERR(3), ERR_put_error(3), printf(3)

ERR_asprintf_error_data appeared in OpenBSD 5.6 and is available in all versions of LibreSSL.
February 21, 2017 FreeBSD 13.1-RELEASE

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.