/freebsd-10.0-release/contrib/amd/libamu/ |
H A D | strerror.c | 56 strerror(int errnum) argument 59 if (errnum < 0 || errnum >= (sizeof(sys_errlist) >> 2)) { 61 xsnprintf(errstr, sizeof(errstr), "Unknown error #%d", errnum);
|
/freebsd-10.0-release/contrib/ntp/libntp/ |
H A D | strerror.c | 34 int errnum 41 if ((unsigned int)errnum < sys_nerr) 42 return(sys_errlist[errnum]); 43 (void)sprintf(ebuf, "Unknown error: %d", errnum);
|
/freebsd-10.0-release/contrib/llvm/lib/Support/ |
H A D | Errno.cpp | 39 std::string StrError(int errnum) { argument 46 if (errnum) 50 str = strerror_r(errnum,buffer,MaxErrStrLen-1); 52 strerror_r(errnum,buffer,MaxErrStrLen-1); 56 if (errnum) { 57 strerror_s(buffer, MaxErrStrLen - 1, errnum); 64 if (errnum) 65 str = strerror(errnum); 70 stream << "Error #" << errnum; local
|
/freebsd-10.0-release/contrib/binutils/libiberty/ |
H A D | xstrerror.c | 7 @deftypefn Replacement char* xstrerror (int @var{errnum}) 54 xstrerror (int errnum) argument 65 We assume that `errnum' corresponds to the last value assigned to 67 errstr = (*vmslib_strerror) (errnum, vaxc$errno); 69 errstr = strerror (errnum); 72 /* If `errnum' is out of range, result might be NULL. We'll fix that. */ 75 sprintf (xstrerror_buf, ERRSTR_FMT, errnum);
|
/freebsd-10.0-release/contrib/gcclibs/libiberty/ |
H A D | xstrerror.c | 7 @deftypefn Replacement char* xstrerror (int @var{errnum}) 54 xstrerror (int errnum) argument 65 We assume that `errnum' corresponds to the last value assigned to 67 errstr = (*vmslib_strerror) (errnum, vaxc$errno); 69 errstr = strerror (errnum); 72 /* If `errnum' is out of range, result might be NULL. We'll fix that. */ 75 sprintf (xstrerror_buf, ERRSTR_FMT, errnum);
|
/freebsd-10.0-release/contrib/ipfilter/lib/ |
H A D | interror.c | 523 find_error(errnum) 524 int errnum; 533 if (ie->iee_number == errnum) 536 if (ie->iee_number > errnum) 553 int errnum; local 555 if ((*func)(fd, SIOCIPFINTERROR, &errnum) == 0) { 557 ie = find_error(errnum); 560 sprintf(text, "unknown error %d", errnum); 569 ipf_strerror(errnum) 570 int errnum; [all...] |
/freebsd-10.0-release/contrib/llvm/include/llvm/Support/ |
H A D | Errno.h | 28 /// Like the no-argument version above, but uses \p errnum instead of errno. 29 std::string StrError(int errnum);
|
/freebsd-10.0-release/gnu/usr.bin/grep/ |
H A D | error.c | 109 private_strerror (errnum) 110 int errnum; 115 if (errnum > 0 && errnum <= sys_nerr) 116 return _(sys_errlist[errnum]); 132 error (int status, int errnum, const char *message, ...) argument 134 error (status, errnum, message, va_alist) 136 int errnum; 166 if (errnum) 171 fprintf (stderr, ": %s", __strerror_r (errnum, errbu 194 error_at_line(int status, int errnum, const char *file_name, unsigned int line_number, const char *message, ...) argument [all...] |
H A D | error.h | 49 extern void error (int status, int errnum, const char *format, ...) 52 extern void error_at_line (int status, int errnum, const char *fname,
|
/freebsd-10.0-release/lib/libc/string/ |
H A D | strerror.c | 83 strerror_r(int errnum, char *strerrbuf, size_t buflen) argument 92 if (errnum < 0 || errnum >= __hidden_sys_nerr) { 93 errstr(errnum, 104 catgets(catd, 1, errnum, __hidden_sys_errlist[errnum]), 106 __hidden_sys_errlist[errnum],
|
/freebsd-10.0-release/usr.bin/perror/ |
H A D | perror.c | 45 long errnum; local 53 errnum = strtol(argv[1], &cp, 0); 58 if ((errstr = strerror(errnum)) == NULL)
|
/freebsd-10.0-release/contrib/llvm/lib/Support/Unix/ |
H A D | Unix.h | 65 /// string and the Unix error number given by \p errnum. If errnum is -1, the 72 std::string* ErrMsg, const std::string& prefix, int errnum = -1) { 75 if (errnum == -1) 76 errnum = errno; 77 *ErrMsg = prefix + ": " + llvm::sys::StrError(errnum);
|
/freebsd-10.0-release/contrib/sendmail/libsm/ |
H A D | errstring.c | 41 ** errnum -- the error number to translate 44 ** A string description of errnum. 50 sm_errstring(errnum) 51 int errnum; 56 switch (errnum) 270 if (errnum >= E_LDAPBASE) 271 return ldap_err2string(errnum - E_LDAPBASE); 274 ret = strerror(errnum); 279 (void) sm_snprintf(buf, sizeof buf, "Error %d", errnum);
|
/freebsd-10.0-release/contrib/diff/lib/ |
H A D | error.c | 68 extern void __error (int status, int errnum, const char *message, ...) 70 extern void __error_at_line (int status, int errnum, const char *file_name, 107 print_errno_message (int errnum) argument 114 s = __strerror_r (errnum, errbuf, sizeof errbuf); 116 if (__strerror_r (errnum, errbuf, sizeof errbuf) == 0) 122 s = strerror (errnum); 142 error_tail (int status, int errnum, const char *message, va_list args) argument 176 if (errnum) 177 print_errno_message (errnum); 195 error (int status, int errnum, cons argument 239 error_at_line(int status, int errnum, const char *file_name, unsigned int line_number, const char *message, ...) argument [all...] |
/freebsd-10.0-release/contrib/apr-util/dbd/ |
H A D | apr_dbd_pgsql.c | 40 int errnum; member in struct:apr_dbd_transaction_t 88 if ( sql->trans && sql->trans->errnum ) { 89 return sql->trans->errnum; 98 sql->trans->errnum = ret; 102 return sql->trans->errnum = PGRES_FATAL_ERROR; 124 sql->trans->errnum = ret; 128 return sql->trans->errnum = PGRES_FATAL_ERROR; 131 sql->trans->errnum = ret; 142 sql->trans->errnum = ret; 146 return sql->trans->errnum [all...] |
H A D | apr_dbd_sqlite3.c | 37 int errnum; member in struct:apr_dbd_transaction_t 186 if (sql->trans && sql->trans->errnum) { 187 return sql->trans->errnum; 201 sql->trans->errnum = ret; 367 if (sql->trans && sql->trans->errnum) { 368 return sql->trans->errnum; 391 sql->trans->errnum = ret; 487 if (sql->trans && sql->trans->errnum) { 488 return sql->trans->errnum; 505 sql->trans->errnum [all...] |
/freebsd-10.0-release/contrib/jemalloc/include/jemalloc/internal/ |
H A D | util.h | 111 void set_errno(int errnum); 136 set_errno(int errnum) argument 140 SetLastError(errnum); 142 errno = errnum;
|
/freebsd-10.0-release/contrib/top/ |
H A D | utils.c | 327 * errmsg(errnum) - return an error message string appropriate to the 328 * error number "errnum". This is a substitute for the System V 348 char *errmsg(errnum) 350 int errnum; 354 char *msg = strerror(errnum); 360 if (errnum > 0 && errnum < sys_nerr) 362 return((char *)sys_errlist[errnum]);
|
H A D | commands.c | 173 int errnum; /* value of errno (that is, the actual error) */ member in struct:errs 192 errs[errcnt++].errnum = (e); \ 232 if (errp->errnum != currerr) 242 currerr = errp->errnum; 330 if ((result = p1->errnum - p2->errnum) == 0) 361 errp->errnum == 0 ? "Not a number" : errmsg(errp->errnum));
|
/freebsd-10.0-release/bin/pax/ |
H A D | tty_subs.c | 166 syswarn(int set, int errnum, const char *fmt, ...) argument 188 if (errnum > 0) 189 (void)fprintf(stderr, " <%s>", strerror(errnum));
|
/freebsd-10.0-release/sys/cddl/contrib/opensolaris/common/unicode/ |
H A D | u8_textprep.c | 336 u8_validate(char *u8str, size_t n, char **list, int flag, int *errnum) argument 373 *errnum = EILSEQ; 379 *errnum = ERANGE; 389 *errnum = EINVAL; 409 *errnum = EILSEQ; 414 *errnum = EILSEQ; 434 *errnum = EBADF; 568 size_t n2, boolean_t is_it_toupper, int *errnum) 589 *errnum = EILSEQ; 614 *errnum 567 do_case_compare(size_t uv, uchar_t *s1, uchar_t *s2, size_t n1, size_t n2, boolean_t is_it_toupper, int *errnum) argument 1379 collect_a_seq(size_t uv, uchar_t *u8s, uchar_t **source, uchar_t *slast, boolean_t is_it_toupper, boolean_t is_it_tolower, boolean_t canonical_decomposition, boolean_t compatibility_decomposition, boolean_t canonical_composition, int *errnum, u8_normalization_states_t *state) argument 1727 do_norm_compare(size_t uv, uchar_t *s1, uchar_t *s2, size_t n1, size_t n2, int flag, int *errnum) argument 1843 u8_strcmp(const char *s1, const char *s2, size_t n, int flag, size_t uv, int *errnum) argument 1913 u8_textprep_str(char *inarray, size_t *inlen, char *outarray, size_t *outlen, int flag, size_t unicode_version, int *errnum) argument [all...] |
/freebsd-10.0-release/contrib/sendmail/src/ |
H A D | err.c | 967 ** errnum -- the error number to translate 970 ** A string description of errnum. 977 sm_errstring(errnum) 978 int errnum; 999 switch (errnum) 1005 err = strerror(errnum); 1009 "Error %d", errnum); 1014 if (errnum >= 0 && errnum < sys_nerr) 1015 (void) sm_strlcpy(bp, sys_errlist[errnum], [all...] |
/freebsd-10.0-release/contrib/nvi/ex/ |
H A D | tag.h | 45 int errnum; /* Errno. */ member in struct:_tagf
|
/freebsd-10.0-release/sys/i386/include/xen/ |
H A D | xenstored.h | 61 int errnum; member in struct:xsd_errors
|
/freebsd-10.0-release/lib/libc/rpc/ |
H A D | clnt_perror.c | 224 unsigned int errnum = stat; local 226 if (errnum < (sizeof(rpc_errlist)/sizeof(rpc_errlist[0]))) 228 return (char *)rpc_errlist[errnum]; 326 unsigned int errnum = stat; local 328 if (errnum < (sizeof(auth_errlist)/sizeof(auth_errlist[0]))) 330 return (char *)auth_errlist[errnum];
|