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

1 2

  /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/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/lib/libc/string/
strerror_r.c 106 unsigned int errnum = num; local
117 if (errnum < (unsigned int) sys_nerr) {
128 slen = strlcpy(buf, errlist[errnum], buflen);
130 slen = strlcpy(buf, sys_errlist[errnum], buflen);
  /src/sys/dev/vme/
xio.h 48 u_char errnum; /* out: error number */ member in struct:xd_iocmd
xdvar.h 51 int errnum; /* error number if we fail */ member in struct:xd_iorq
xyvar.h 50 int errnum; /* error number if we fail */ member in struct:xy_iorq
  /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/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/gpl3/gcc/dist/libbacktrace/
ttest.c 117 int errnum; local
123 errnum = pthread_create (&atid[i], NULL, test1_thread, NULL);
124 if (errnum != 0)
126 fprintf (stderr, "pthread_create %d: %s\n", i, strerror (errnum));
134 errnum = pthread_join (atid[i], &ret);
135 if (errnum != 0)
137 fprintf (stderr, "pthread_join %d: %s\n", i, strerror (errnum));
  /src/external/gpl3/gcc.old/dist/libbacktrace/
ttest.c 117 int errnum; local
123 errnum = pthread_create (&atid[i], NULL, test1_thread, NULL);
124 if (errnum != 0)
126 fprintf (stderr, "pthread_create %d: %s\n", i, strerror (errnum));
134 errnum = pthread_join (atid[i], &ret);
135 if (errnum != 0)
137 fprintf (stderr, "pthread_join %d: %s\n", i, strerror (errnum));
  /src/external/gpl3/gdb/dist/libbacktrace/
ttest.c 117 int errnum; local
123 errnum = pthread_create (&atid[i], NULL, test1_thread, NULL);
124 if (errnum != 0)
126 fprintf (stderr, "pthread_create %d: %s\n", i, strerror (errnum));
134 errnum = pthread_join (atid[i], &ret);
135 if (errnum != 0)
137 fprintf (stderr, "pthread_join %d: %s\n", i, strerror (errnum));
  /src/external/gpl3/gdb.old/dist/libbacktrace/
ttest.c 117 int errnum; local
123 errnum = pthread_create (&atid[i], NULL, test1_thread, NULL);
124 if (errnum != 0)
126 fprintf (stderr, "pthread_create %d: %s\n", i, strerror (errnum));
134 errnum = pthread_join (atid[i], &ret);
135 if (errnum != 0)
137 fprintf (stderr, "pthread_join %d: %s\n", i, strerror (errnum));
  /src/lib/libc/rpc/
clnt_perror.c 225 unsigned int errnum = stat; local
229 if (errnum < (sizeof(rpc_errlist)/sizeof(rpc_errlist[0]))) {
230 msg = rpc_errlist[errnum];
318 unsigned int errnum = stat; local
320 if (errnum < __arraycount(auth_errlist))
321 return __UNCONST(auth_errlist[errnum]);
  /src/usr.bin/tput/
tput.c 145 static const char errnum[] = local
176 errx(2, errnum, i + 1, *argv, cap);
  /src/external/gpl3/gdb/dist/libctf/testsuite/libctf-regression/
gzrewrite.c 36 int errnum; local
38 err = gzerror (foo, &errnum);
39 if (errnum != Z_ERRNO)
152 int errnum; local
155 err = gzerror (foo, &errnum);
156 if (errnum != Z_ERRNO)
  /src/external/gpl3/gdb.old/dist/libctf/testsuite/libctf-regression/
gzrewrite.c 36 int errnum; local
38 err = gzerror (foo, &errnum);
39 if (errnum != Z_ERRNO)
152 int errnum; local
155 err = gzerror (foo, &errnum);
156 if (errnum != Z_ERRNO)
  /src/external/gpl3/gdb/dist/libiberty/testsuite/
test-strtol.c 78 int errnum; member in struct:test_data_t
163 if (saved_errno != test_data[i].errnum)
  /src/external/gpl3/gdb.old/dist/libiberty/testsuite/
test-strtol.c 78 int errnum; member in struct:test_data_t
163 if (saved_errno != test_data[i].errnum)
  /src/lib/libc/citrus/
citrus_prop.c 199 int ch, errnum; local
210 errnum = _citrus_prop_read_character_common(ms, &ch);
211 if (errnum != 0)
212 return errnum;
253 int errnum, quot, ch; local
301 errnum = _citrus_prop_read_character_common(ms, &ch);
302 if (errnum != 0)
303 return errnum;
355 int ch, errnum; local
364 errnum = _citrus_prop_read_symbol(ms, name, sizeof(name))
451 int errnum, ch; local
    [all...]
  /src/external/bsd/nvi/dist/ex/
tag.h 46 int errnum; /* Errno. */ member in struct:_tagf
  /src/sys/external/mit/xen-include-public/dist/xen/include/public/io/
xs_wire.h 68 int errnum; member in struct:xsd_errors
  /src/usr.bin/patch/
util.c 245 int errnum = errno; local
251 fprintf(stderr, ": %s\n", strerror(errnum));
  /src/lib/libc/citrus/modules/
citrus_viqr.c 496 int errnum; local
517 errnum = mnemonic_append_child(ei->mroot,
519 if (errnum != 0) {
521 return errnum;
531 errnum = mnemonic_append_child(ei->mroot,
533 if (errnum != 0) {
535 return errnum;
  /src/sys/external/bsd/compiler_rt/dist/lib/profile/
GCDAProfiling.c 231 int errnum = errno; local
233 strerror(errnum));
241 int errnum = errno; local
243 strerror(errnum));
282 int errnum = errno; local
284 strerror(errnum));
  /src/external/bsd/top/dist/
commands.c 98 int errnum; /* value of errno (that is, the actual error) */ member in struct:errs
110 errs[errcnt++].errnum = (e); \
124 if ((result = ((const struct errs *)p1)->errnum -
125 ((const struct errs *)p2)->errnum) == 0)
233 if (errp->errnum != currerr)
247 currerr = errp->errnum;
344 errp->errnum == 0 ? "Not a number" : errmsg(errp->errnum));

Completed in 40 milliseconds

1 2