strerror.h File Reference

#include <sys/types.h>
#include <isc/lang.h>

Go to the source code of this file.

Defines

#define ISC_STRERRORSIZE   128
 String Error Size.

Functions

void isc__strerror (int num, char *buf, size_t bufsize)
 Provide a thread safe wrapper to strerror().


Detailed Description

Definition in file strerror.h.


Define Documentation

#define ISC_STRERRORSIZE   128

String Error Size.

Definition at line 32 of file strerror.h.

Referenced by build_msghdr_send(), dns_ssu_external_match(), doio_recv(), doio_send(), getbuf4(), handle_signal(), internal_accept(), internal_connect(), internal_current4(), isc___errno2result(), isc__app_ctxrun(), isc__app_ctxstart(), isc__mutex_init(), isc__socket_filter(), isc__socket_listen(), isc_condition_waituntil(), isc_interfaceiter_create(), isc_time_now(), isc_time_nowplusinterval(), make_nonblock(), mkdirpath(), ns_os_changeuser(), ns_os_chroot(), ns_os_daemonize(), ns_os_inituserinfo(), ns_os_openfile(), setperms(), setup_watcher(), try_dscp_v4(), try_proto(), unwatch_fd(), ux_socket_connect(), zone_postload(), and zone_replacedb().


Function Documentation

void isc__strerror ( int  num,
char *  buf,
size_t  bufsize 
)

Provide a thread safe wrapper to strerror().

Requires: 'buf' to be non NULL.

Definition at line 46 of file strerror.c.

References init_lock(), isc_once_do, ISC_ONCE_INIT, ISC_R_SUCCESS, LOCK, once, REQUIRE, RUNTIME_CHECK, and UNLOCK.

Referenced by build_msghdr_send(), dns_ssu_external_match(), doio_recv(), doio_send(), getbuf4(), handle_signal(), internal_accept(), internal_connect(), internal_current4(), isc___errno2result(), isc__app_ctxrun(), isc__app_ctxstart(), isc__mutex_init(), isc__socket_filter(), isc__socket_listen(), isc_condition_waituntil(), isc_interfaceiter_create(), isc_time_now(), isc_time_nowplusinterval(), make_nonblock(), mkdirpath(), ns_os_changeuser(), ns_os_chroot(), ns_os_daemonize(), ns_os_inituserinfo(), ns_os_openfile(), setperms(), setup_watcher(), try_dscp_v4(), try_proto(), unwatch_fd(), ux_socket_connect(), zone_postload(), and zone_replacedb().


Generated on Tue Apr 28 17:41:19 2015 by Doxygen 1.5.4 for BIND9 Internals 9.11.0pre-alpha