Manual Pages for UNIX Darwin command on man ERR_get_next_error_library
MyWebUniversity

Manual Pages for UNIX Darwin command on man ERR_get_next_error_library

ERRloadstrings(3) OpenSSL ERRloadstrings(3)

NAME

ERRloadstrings, ERRPACK, ERRgetnexterrorlibrary - load arbitrary

error strings

SYNOPSIS

#include

void ERRloadstrings(int lib, ERRSTRINGDATA str[]); int ERRgetnexterrorlibrary(void); unsigned long ERRPACK(int lib, int func, int reason);

DESCRIPTION

ERRloadstrings() registers error strings for library number lliibb. ssttrr is an array of error string data: typedef struct ERRstringdatast { unsigned long error; char *string; } ERRSTRINGDATA; The error code is generated from the library number and a function and reason code: eerrrroorr = ERRPACK(lliibb, ffuunncc, rreeaassoonn). ERRPACK() is a macro. The last entry in the array is {0,0}. ERRgetnexterrorlibrary() can be used to assign library numbers to user libraries at runtime. RREETTUURRNN VVAALLUUEE ERRloadstrings() returns no value. ERRPACK() return the error code. ERRgetnexterrorlibrary() returns a new library number.

SEE ALSO

err(3), ERRloadstrings(3) HISTORY ERRloaderrorstrings() and ERRPACK() are available in all versions of SSLeay and OpenSSL. ERRgetnexterrorlibrary() was added in SSLeay 0.9.0.

0.9.7l 2000-02-24 ERRloadstrings(3)




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™