Searched defs:errnum (Results 1 - 6 of 6) sorted by relevance

/vbox/src/VBox/Devices/PC/ipxe/src/arch/x86/core/linux/
H A Dlinux_strerror.c158 const char *linux_strerror(int errnum) argument
163 if (errnum >= errors_size || errnum < 0) {
164 snprintf(errbuf, sizeof(errbuf), "Error %#08x", errnum);
167 return errors[errnum];
/vbox/src/VBox/Devices/EFI/Firmware/StdLib/LibC/String/
H A DMisc.c41 strerror_r(int errnum, char *buf, size_t buflen) argument
47 if( (errnum < 0) || (errnum >= EMAXERRORVAL)) {
48 (void) AsciiSPrint( buf, ASCII_STRING_MAX, "Unknown Error: %d.", errnum);
52 estring = sys_errlist[errnum];
65 /** The strerror function maps the number in errnum to a message string.
66 Typically, the values for errnum come from errno, but strerror shall map
78 strerror(int errnum) argument
83 status = strerror_r(errnum, errorbuf, sizeof(errorbuf));
/vbox/src/libs/xpcom18a4/nsprpub/pr/tests/
H A Derrcodes.c137 int count, errnum; local
161 for (errnum = 0; errnum < count; errnum++) {
162 printf("%-40s = %d\n",errcodes[errnum].errname,
163 errcodes[errnum].errcode);
H A Derrset.c145 int count, errnum; local
169 for (errnum = 0; errnum < count; errnum++) {
173 PR_SetError( errnum, -5 );
175 PR_ASSERT( err == errnum );
178 PR_SetErrorText( strlen(errcodes[errnum].errname), errcodes[errnum].errname );
182 printf("%5.5d -- %s\n", errnum, msg );
/vbox/src/libs/libxml2-2.6.31/win32/wince/
H A Dwincecompat.c63 char *strerror(int errnum) argument
65 if (errnum>MAX_STRERROR)
68 return strError[errnum];
/vbox/src/libs/zlib-1.2.6/contrib/iostream2/
H A Dzstream.h92 * given compressed file. errnum is set to zlib error number. If an
94 * errnum is set to Z_ERRNO and the application may consult errno
97 const char* error(int* errnum) { argument
98 return ::gzerror(m_fp, errnum);
225 * given compressed file. errnum is set to zlib error number. If an
227 * errnum is set to Z_ERRNO and the application may consult errno
230 const char* error(int* errnum) { argument
231 return ::gzerror(m_fp, errnum);

Completed in 1463 milliseconds