strerror.c File Reference

#include <config.h>
#include <stdio.h>
#include <string.h>
#include <isc/mutex.h>
#include <isc/once.h>
#include <isc/print.h>
#include <isc/strerror.h>
#include <isc/util.h>

Go to the source code of this file.


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


const char *const sys_errlist []
const int sys_nerr

Detailed Description

Definition in file strerror.c.

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().

Variable Documentation

const char* const sys_errlist[]

const int sys_nerr

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