17#include "apr_arch_misc.h"
43 return "Could not perform a stat on the file.";
45 return "A new pool could not be created.";
47 return "An invalid date has been provided";
49 return "An invalid socket was returned";
51 return "No process was provided and one was required.";
53 return "No time was provided and one was required.";
55 return "No directory was provided and one was required.";
57 return "No lock was provided and one was required.";
59 return "No poll structure was provided and one was required.";
61 return "No socket was provided and one was required.";
63 return "No thread was provided and one was required.";
65 return "No thread key structure was provided and one was required.";
67 return "No shared memory is currently available";
69#if APR_HAS_DSO && defined(HAVE_LIBDL)
72 return "DSO load failed";
75 return "The specified IP address is invalid.";
77 return "The specified network mask is invalid.";
79 return "Could not find the requested symbol.";
81 return "Not enough entropy to continue.";
84 "Your code just forked, and you are currently executing in the "
88 "Your code just forked, and you are currently executing in the "
91 return "The specified thread is detached";
93 return "The specified thread is not detached";
95 return "The specified child process is done executing";
97 return "The specified child process is not done executing";
99 return "The timeout specified has expired";
101 return "Partial results are valid but processing is incomplete";
103 return "Bad character specified on command line";
105 return "Missing parameter for the specified command line option";
107 return "End of file found";
109 return "Could not find specified socket in poll list.";
111 return "Shared memory is implemented anonymously";
113 return "Shared memory is implemented using files";
115 return "Shared memory is implemented using a key system";
118 "There is no error, this value signifies an initialized "
121 return "This function has not been implemented on this platform";
123 return "passwords do not match";
125 return "The given path is absolute";
127 return "The given path is relative";
129 return "The given path is incomplete";
131 return "The given path was above the root path";
133 return "The given path is misformatted or contained invalid characters";
135 return "The given path contained wildcard characters";
137 return "The given lock was busy.";
139 return "The process is not recognized.";
141 return "Internal error (specific information not available)";
143 return "Error string not specified yet";
161 if (
err >= 10000 &&
err < 12000) {
166 "OSO001.MSG", &
len) == 0) {
193#elif defined(WIN32) || (defined(NETWARE) && defined(USE_WINSOCK))
199 {
WSAEINTR,
"Interrupted system call"},
232 {
WSAELOOP,
"Too many levels of symbolic links"},
241 {
WSAEREMOTE,
"Too many levels of remote in path"},
245 {
WSAEDISCON,
"Graceful shutdown in progress"},
247 {
WSANO_DATA,
"No host data of that type was found"},
277 for(
i = 0;
i <=
len;
i++) {
278 if (msg[
i] < 0x80 && msg[
i] >= 0) {
307 if ((
buf[
i] ==
'\r') || (
buf[
i] ==
'\n'))
333 msg =
"Unknown host";
337#if defined(NO_ADDRESS) && (NO_DATA != NO_ADDRESS)
340 msg =
"No address for host";
342#elif defined(NO_ADDRESS)
344 msg =
"No address for host";
348 msg =
"Unrecognized resolver error";
355#if defined(HAVE_STRERROR_R) && defined(STRERROR_R_RC_INT) && !defined(BEOS)
362 "APR does not understand this error code");
368#elif defined(HAVE_STRERROR_R)
386 if (
buf[0] ==
'\0') {
410 "APR does not understand this error code");
429#if defined(HAVE_GAI_STRERROR)
431#if defined(NEGATIVE_EAI)
const char apr_size_t len
APR Dynamic Object Handling Routines.
APR general purpose library routines.
static char * apr_os_strerror(char *buf, apr_size_t bufsize, int err)
static char * native_strerror(apr_status_t statcode, char *buf, apr_size_t bufsize)
static char * stuffbuffer(char *buf, apr_size_t bufsize, const char *s)
static char * apr_error_string(apr_status_t statcode)
const unsigned char * buf
#define APR_CHILD_NOTDONE
#define APR_EPROC_UNKNOWN
#define APR_ENOTENOUGHENTROPY
const void apr_status_t(*) apr_status_t(* APR_DECLARE)(void) apr_pool_pre_cleanup_register(apr_pool_t *p
#define APR_OS_START_ERROR
#define APR_OS_START_EAIERR
#define APR_OS_START_USERERR
#define APR_OS_START_SYSERR
apr_array_header_t ** result
apr_vformatter_buff_t * c
apr_int32_t apr_int32_t apr_int32_t err
int apr_canonical_error(apr_status_t err)
typedef DWORD(WINAPI *apr_winapi_fpt_GetCompressedFileSizeA)(IN LPCSTR lpFileName