/freebsd-10.3-release/contrib/llvm/tools/lldb/source/Utility/ |
H A D | PseudoTerminal.cpp | 25 int strerror_r(int errnum, char *buf, size_t buflen) { return 0; } function 111 ::strerror_r (errno, error_str, error_len); 119 ::strerror_r (errno, error_str, error_len); 128 ::strerror_r (errno, error_str, error_len); 166 ::strerror_r (errno, error_str, error_len); 201 ::strerror_r (errno, error_str, error_len); 244 ::strerror_r (errno, error_str, error_len); 262 ::strerror_r (errno, error_str, error_len); 269 ::strerror_r (errno, error_str, error_len); 275 ::strerror_r (errn [all...] |
/freebsd-10.3-release/lib/libc/compat-43/ |
H A D | getwd.c | 49 (void)strerror_r(errno, buf, MAXPATHLEN);
|
/freebsd-10.3-release/lib/libc/tests/string/ |
H A D | strerror_test.c | 97 iret = strerror_r(-1, buf, sizeof(buf)); 108 iret = strerror_r(EPERM, buf, strlen("Operation not permitted")); 119 iret = strerror_r(-1, buf, strlen("Unknown error: -1")); 130 iret = strerror_r(-2, buf, strlen("Unknown error: -2") - 1); 141 iret = strerror_r(-2, buf, strlen("Unknown error: -2") - 2); 152 iret = strerror_r(12345, buf, strlen("Unknown error: 12345")); 162 iret = strerror_r(0, buf, sizeof(buf)); 172 iret = strerror_r(EDEADLK, buf, sizeof(buf)); 182 iret = strerror_r(EPROCLIM, buf, sizeof(buf));
|
/freebsd-10.3-release/contrib/llvm/lib/Support/ |
H A D | Errno.cpp | 46 // strerror_r is thread-safe. 48 // glibc defines its own incompatible version of strerror_r 50 str = strerror_r(errnum, buffer, MaxErrStrLen - 1); 52 strerror_r(errnum, buffer, MaxErrStrLen - 1);
|
/freebsd-10.3-release/crypto/heimdal/lib/roken/ |
H A D | strerror_r.c | 36 #if (!defined(HAVE_STRERROR_R) && !defined(strerror_r)) || (!defined(STRERROR_R_PROTO_COMPATIBLE) && defined(HAVE_STRERROR_R)) 65 /* Assume is the linux broken strerror_r (returns the a buffer (char *) if the input buffer wasn't use */ 68 str = strerror_r(eno, strerrbuf, buflen);
|
H A D | Makefile.am | 111 strerror_r.c \
|
H A D | Makefile.in | 167 strcollect.c strerror_r.c strpool.c timeval.c tm2time.c \ 193 libroken_la-strerror_r.lo libroken_la-strpool.lo \ 597 strcollect.c strerror_r.c strpool.c timeval.c tm2time.c \ 912 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libroken_la-strerror_r.Plo@am__quote@ 1247 libroken_la-strerror_r.lo: strerror_r.c 1248 @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libroken_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libroken_la-strerror_r.lo -MD -MP -MF $(DEPDIR)/libroken_la-strerror_r.Tpo -c -o libroken_la-strerror_r.lo `test -f 'strerror_r [all...] |
/freebsd-10.3-release/contrib/netbsd-tests/lib/libc/string/ |
H A D | t_strerror.c | 84 atf_tc_set_md_var(tc, "descr", "A basic test of strerror_r(3)"); 93 ATF_REQUIRE(strerror_r(i, buf, sizeof(buf)) == 0); 98 ATF_REQUIRE(strerror_r(i, buf, sizeof(buf)) == EINVAL); 106 atf_tc_set_md_var(tc, "descr", "Test errors from strerror_r(3)"); 114 rv = strerror_r(EPERM, buf, 1); 117 rv = strerror_r(INT_MAX, buf, sizeof(buf)); 122 rv = strerror_r(INT_MIN, buf, sizeof(buf));
|
/freebsd-10.3-release/lib/libc/string/ |
H A D | strerror.c | 83 strerror_r(int errnum, char *strerrbuf, size_t buflen) function 125 if (strerror_r(num, ebuf, sizeof(ebuf)) != 0)
|
H A D | Makefile.inc | 58 strerror.3 strerror_r.3 \
|
/freebsd-10.3-release/lib/libc/stdio/ |
H A D | perror.c | 64 strerror_r(errno, msgbuf, sizeof(msgbuf));
|
/freebsd-10.3-release/lib/libjail/ |
H A D | jail.c | 211 strerror_r(errno, jail_errmsg, JAIL_ERRMSGLEN); 277 strerror_r(errno, jail_errmsg, JAIL_ERRMSGLEN); 305 strerror_r(errno, jail_errmsg, JAIL_ERRMSGLEN); 315 strerror_r(errno, jail_errmsg, JAIL_ERRMSGLEN); 327 strerror_r(errno, jail_errmsg, JAIL_ERRMSGLEN); 630 strerror_r(errno, jail_errmsg, 646 strerror_r(errno, jail_errmsg, 692 strerror_r(errno, jail_errmsg, 735 strerror_r(errno, jail_errmsg, JAIL_ERRMSGLEN); 742 strerror_r(errn [all...] |
H A D | jail_getid.c | 105 strerror_r(errno, jail_errmsg, JAIL_ERRMSGLEN);
|
/freebsd-10.3-release/gnu/usr.bin/grep/ |
H A D | error.c | 59 char *strerror_r (); 101 # define __strerror_r strerror_r 174 (at least DEC UNIX 4.0[A-D]) strerror_r returns `int'. */ 257 (at least DEC UNIX 4.0[A-D]) strerror_r returns `int'. */
|
/freebsd-10.3-release/include/ |
H A D | string.h | 89 int strerror_r(int, char *, size_t);
|
/freebsd-10.3-release/contrib/apr/misc/unix/ |
H A D | errorcodes.c | 360 if (strerror_r(statcode, buf, bufsize) < 0) { 376 const char *strerror_r(apr_status_t, char *, apr_size_t); 385 msg = strerror_r(statcode, buf, bufsize);
|
/freebsd-10.3-release/contrib/diff/lib/ |
H A D | error.c | 90 char *strerror_r (); 101 # if HAVE_STRERROR_R || defined strerror_r 102 # define __strerror_r strerror_r
|
/freebsd-10.3-release/kerberos5/lib/libroken/ |
H A D | Makefile | 69 strerror_r.c \
|
/freebsd-10.3-release/contrib/ntp/libntp/ |
H A D | msyslog.c | 93 * Hides the varied signatures of strerror_r(). 110 pstatic = strerror_r(err, buf, bufsiz); 117 "strerror_r", 128 rc = strerror_r(err, buf, bufsiz); 130 snprintf(buf, bufsiz, "strerror_r(%d): errno %d",
|
/freebsd-10.3-release/contrib/jemalloc/src/ |
H A D | util.c | 92 * glibc provides a non-standard strerror_r() when _GNU_SOURCE is defined, so 104 char *b = strerror_r(errno, buf, buflen); 111 return (strerror_r(errno, buf, buflen));
|
/freebsd-10.3-release/lib/libc/gen/ |
H A D | syslog.c | 215 strerror_r(saved_errno, errstr, sizeof(errstr));
|
/freebsd-10.3-release/cddl/contrib/opensolaris/lib/libzfs/common/ |
H A D | libzfs_diff.c | 434 (void) strerror_r(errno, di->errbuf, sizeof (di->errbuf));
|
/freebsd-10.3-release/contrib/sqlite3/ |
H A D | configure | 12209 ac_fn_c_check_decl "$LINENO" "strerror_r" "ac_cv_have_decl_strerror_r" "$ac_includes_default" 12220 for ac_func in strerror_r 12222 ac_fn_c_check_func "$LINENO" "strerror_r" "ac_cv_func_strerror_r" 12231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strerror_r returns char *" >&5 12232 $as_echo_n "checking whether strerror_r returns char *... " >&6; } 12247 char x = *strerror_r (0, buf, sizeof buf); 12248 char *p = strerror_r (0, buf, sizeof buf); 12260 # strerror_r is not declared. Choose between 12263 # former has a strerror_r that returns char*, while the latter 12264 # has a strerror_r tha [all...] |
/freebsd-10.3-release/contrib/apr/ |
H A D | configure | 22232 for ac_func in strerror_r 22234 ac_fn_c_check_func "$LINENO" "strerror_r" "ac_cv_func_strerror_r" 22239 strerror_r="1" 22241 strerror_r="0" 22245 if test "$strerror_r" = "1"; then 22247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type of return code from strerror_r" >&5 22248 $as_echo_n "checking for type of return code from strerror_r... " >&6; } 22262 if (strerror_r(ERANGE, buf, sizeof buf) < 1) {
|
/freebsd-10.3-release/contrib/ntp/sntp/ |
H A D | configure | 8330 ac_fn_c_check_decl "$LINENO" "strerror_r" "ac_cv_have_decl_strerror_r" "$ac_includes_default" 8341 for ac_func in strerror_r 8343 ac_fn_c_check_func "$LINENO" "strerror_r" "ac_cv_func_strerror_r" 8352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strerror_r returns char *" >&5 8353 $as_echo_n "checking whether strerror_r returns char *... " >&6; } 8368 char x = *strerror_r (0, buf, sizeof buf); 8369 char *p = strerror_r (0, buf, sizeof buf); 8381 # strerror_r is not declared. Choose between 8384 # former has a strerror_r that returns char*, while the latter 8385 # has a strerror_r tha [all...] |