HomeSort by: relevance | last modified time | path
    Searched refs:errnum (Results 1 - 25 of 265) sorted by relevancy

1 2 3 4 5 6 7 8 91011

  /src/external/ibm-public/postfix/dist/src/util/
mystrerror.c 12 /* int errnum)
38 const char *mystrerror(int errnum)
40 return (errnum ? strerror(errnum) : "Application error");
  /src/distrib/utils/libhack/
strerror.c 44 unsigned int errnum; local
46 errnum = num; /* convert to unsigned */
47 if (errnum < sys_nerr)
48 return((__aconst char *)sys_errlist[errnum]);
  /src/external/bsd/am-utils/dist/libamu/
strerror.c 54 strerror(int errnum)
57 if (errnum < 0 || errnum >= (sizeof(sys_errlist) >> 2)) {
59 xsnprintf(errstr, sizeof(errstr), "Unknown error #%d", errnum);
  /src/external/bsd/ntp/dist/libntp/
bsd_strerror.c 36 int errnum
43 if ((unsigned int)errnum < sys_nerr)
44 return sys_errlist[errnum];
45 snprintf(ebuf, sizeof(ebuf), "Unknown error: %d", errnum);
  /src/external/gpl3/gdb/dist/gnulib/import/
openat-die.c 34 openat_save_fail (int errnum)
37 error (exit_failure, errnum,
53 openat_restore_fail (int errnum)
56 error (exit_failure, errnum,
strerror_r.c 40 _GL_EXTERN_C int __xpg_strerror_r (int errnum, char *buf, size_t buflen);
137 strerror_r (int errnum, char *buf, size_t buflen)
152 char const *msg = strerror_override (errnum);
168 ret = __xpg_strerror_r (errnum, buf, buflen);
178 char *errstring = strerror_r (errnum, buf, buflen);
196 ret = strerror_r (errnum, stackbuf, sizeof stackbuf);
201 ret = strerror_r (errnum, buf, buflen);
204 ret = strerror_r (errnum, buf, buflen);
221 strerror_r (errnum, stackbuf, sizeof stackbuf);
241 if (strerror_r (errnum, stackbuf, sizeof stackbuf) == ERANGE
    [all...]
  /src/external/gpl3/gdb.old/dist/gnulib/import/
openat-die.c 34 openat_save_fail (int errnum)
37 error (exit_failure, errnum,
53 openat_restore_fail (int errnum)
56 error (exit_failure, errnum,
strerror_r.c 40 _GL_EXTERN_C int __xpg_strerror_r (int errnum, char *buf, size_t buflen);
137 strerror_r (int errnum, char *buf, size_t buflen)
152 char const *msg = strerror_override (errnum);
168 ret = __xpg_strerror_r (errnum, buf, buflen);
178 char *errstring = strerror_r (errnum, buf, buflen);
196 ret = strerror_r (errnum, stackbuf, sizeof stackbuf);
201 ret = strerror_r (errnum, buf, buflen);
204 ret = strerror_r (errnum, buf, buflen);
221 strerror_r (errnum, stackbuf, sizeof stackbuf);
241 if (strerror_r (errnum, stackbuf, sizeof stackbuf) == ERANGE
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Support/Unix/
Threading.inc 67 int errnum;
71 if ((errnum = ::pthread_attr_init(&Attr)) != 0) {
72 ReportErrnumFatal("pthread_attr_init failed", errnum);
76 if ((errnum = ::pthread_attr_destroy(&Attr)) != 0) {
77 ReportErrnumFatal("pthread_attr_destroy failed", errnum);
83 if ((errnum = ::pthread_attr_setstacksize(&Attr, *StackSizeInBytes)) != 0) {
84 ReportErrnumFatal("pthread_attr_setstacksize failed", errnum);
90 if ((errnum = ::pthread_create(&Thread, &Attr, ThreadFunc, Arg)) != 0)
91 ReportErrnumFatal("pthread_create failed", errnum);
95 if ((errnum = ::pthread_join(Thread, nullptr)) != 0)
    [all...]
Unix.h 53 /// string and the Unix error number given by \p errnum. If errnum is -1, the
60 std::string* ErrMsg, const std::string& prefix, int errnum = -1) {
63 if (errnum == -1)
64 errnum = errno;
65 *ErrMsg = prefix + ": " + llvm::sys::StrError(errnum);
69 // Include StrError(errnum) in a fatal error message.
71 int errnum) {
73 MakeErrMsg(&ErrMsg, Msg, errnum);
  /src/external/gpl3/binutils/dist/libiberty/
xstrerror.c 7 @deftypefn Replacement char* xstrerror (int @var{errnum})
54 xstrerror (int errnum)
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);
  /src/external/gpl3/binutils.old/dist/libiberty/
xstrerror.c 7 @deftypefn Replacement char* xstrerror (int @var{errnum})
54 xstrerror (int errnum)
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);
  /src/external/gpl3/gcc/dist/libiberty/
xstrerror.c 7 @deftypefn Replacement char* xstrerror (int @var{errnum})
54 xstrerror (int errnum)
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);
  /src/external/gpl3/gcc.old/dist/libiberty/
xstrerror.c 7 @deftypefn Replacement char* xstrerror (int @var{errnum})
54 xstrerror (int errnum)
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);
  /src/external/gpl3/gdb/dist/libiberty/
xstrerror.c 7 @deftypefn Replacement char* xstrerror (int @var{errnum})
54 xstrerror (int errnum)
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);
  /src/external/gpl3/gdb.old/dist/libiberty/
xstrerror.c 7 @deftypefn Replacement char* xstrerror (int @var{errnum})
54 xstrerror (int errnum)
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);
  /src/external/bsd/ipf/dist/lib/
interror.c 526 find_error(errnum)
527 int errnum;
536 if (ie->iee_number == errnum)
539 if (ie->iee_number > errnum)
556 int errnum; local
558 if ((*func)(fd, SIOCIPFINTERROR, &errnum) == 0) {
560 ie = find_error(errnum);
563 sprintf(text, "unknown error %d", errnum);
572 ipf_strerror(errnum)
573 int errnum;
    [all...]
  /src/external/gpl3/gdb.old/dist/gdbsupport/
safe-strerror.cc 45 safe_strerror (int errnum)
49 char *res = select_strerror_r (strerror_r (errnum, buf, sizeof (buf)), buf);
53 xsnprintf (buf, sizeof buf, "(undocumented errno %d)", errnum);
  /src/external/gpl3/gdb/dist/gdbsupport/
safe-strerror.cc 45 safe_strerror (int errnum)
49 char *res = select_strerror_r (strerror_r (errnum, buf, sizeof (buf)), buf);
53 xsnprintf (buf, sizeof buf, "(undocumented errno %d)", errnum);
  /src/external/apache2/llvm/dist/llvm/lib/Support/
Errno.cpp 36 std::string StrError(int errnum) {
38 if (errnum == 0)
51 str = strerror_r(errnum, buffer, MaxErrStrLen - 1);
53 strerror_r(errnum, buffer, MaxErrStrLen - 1);
57 strerror_s(buffer, MaxErrStrLen - 1, errnum);
63 str = strerror(errnum);
68 stream << "Error #" << errnum; local
  /src/external/bsd/libbind/dist/bsd/
strerror.c 63 u_int errnum; local
70 errnum = num; /*%< convert to unsigned */
72 if (errnum < (u_int)sys_nerr)
73 return (sys_errlist[errnum]);
84 *t++ = "0123456789"[errnum % 10];
85 } while (errnum /= 10);
  /src/external/gpl2/gettext/dist/gettext-tools/src/
po-error.c 31 void (*po_error) (int status, int errnum,
35 void (*po_error_at_line) (int status, int errnum,
  /src/external/gpl2/grep/dist/lib/
error.c 111 private_strerror (errnum)
112 int errnum;
117 if (errnum > 0 && errnum <= sys_nerr)
118 return _(sys_errlist[errnum]);
128 If ERRNUM is nonzero, print its corresponding system error message.
134 error (int status, int errnum, const char *message, ...)
136 error (status, errnum, message, va_alist)
138 int errnum;
168 if (errnum)
    [all...]
  /src/external/gpl2/diffutils/dist/lib/
error.c 84 extern void __error (int status, int errnum, const char *message, ...)
86 extern void __error_at_line (int status, int errnum, const char *file_name,
123 private_strerror (int errnum)
128 if (errnum > 0 && errnum <= sys_nerr)
129 return _(sys_errlist[errnum]);
138 print_errno_message (int errnum)
145 s = __strerror_r (errnum, errbuf, sizeof errbuf);
147 if (__strerror_r (errnum, errbuf, sizeof errbuf) == 0)
153 s = strerror (errnum);
    [all...]
error.h 48 if ERRNUM is nonzero, follow it with ": " and strerror (ERRNUM).
51 extern void error (int status, int errnum, const char *format, ...)
54 extern void error_at_line (int status, int errnum, const char *fname,

Completed in 51 milliseconds

1 2 3 4 5 6 7 8 91011