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
TLSRPT_ERRNO_FROM_ERROR_CODE(3) tlsrpt_errno_from_error_code TLSRPT_ERRNO_FROM_ERROR_CODE(3)

tlsrpt_errno_from_error_code - returns the `errno` part of an errorcode

#include <tlsrpt.h>

int tlsrpt_errno_from_error_code(int errorcode)

The tlsrpt_errno_from_error_code function returns the errno part of an errorcode. In case of internal library errors from the TLSRPT_ERR_TLSRPT block the returned value will be a high number to avoid clashes with existing errno values. I.e. TLSRPT_ERR_TLSRPT_NESTEDPOLICY is 10731 instead of 10031 to avoid the errno part being decoded as EMLINK.

The tlsrpt_errno_from_error_code function returns 0 on success and a combined error code on failure. The combined error code can be analyzed with the tlsrpt_strerror function.

tlsrpt_error_code_is_internal(3), tlsrpt_strerror(3)

Boris Lohner

Author(s).
2024-11-06 tlsrpt_errno_from_error_code

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.