/freebsd-11.0-release/lib/libc/stdio/ |
H A D | rewind.c | 40 #include <errno.h> 49 int serrno = errno; 57 errno = serrno;
|
/freebsd-11.0-release/lib/libthr/sys/ |
H A D | thr_error.c | 42 #undef errno macro 43 extern int errno; 56 return (&errno);
|
/freebsd-11.0-release/tools/regression/mlock/ |
H A D | mlock.c | 33 #include <errno.h> 57 errno = 0; 59 if (pwd == NULL && errno == 0) 62 errx(-1, "getpwnam: %s", strerror(errno)); 69 errx(-1, "mmap: %s", strerror(errno)); 72 errx(-1, "mlock privileged: %s", strerror(errno)); 75 errx(-1, "munlock privileged: %s", strerror(errno)); 78 errx(-1, "seteuid: %s", strerror(errno)); 82 if (errno != EPERM) 83 errx(-1, "mlock unprivileged: %s", strerror(errno)); [all...] |
/freebsd-11.0-release/contrib/openbsm/bin/auditdistd/ |
H A D | faccessat.h | 43 errno = EINVAL; 52 error = errno; 54 errno = error; 60 error = errno; 63 errno = error;
|
H A D | renameat.h | 42 errno = EINVAL; 51 error = errno; 53 errno = error; 59 error = errno; 62 errno = error;
|
/freebsd-11.0-release/tests/sys/aio/ |
H A D | local.h | 35 #include <errno.h> 49 if (errno != ENOENT) \ 50 atf_libc_error(errno, \ 63 if (errno != ENOENT) { \ 65 strerror(errno)); \
|
/freebsd-11.0-release/tools/regression/p1003_1b/ |
H A D | memlock.c | 36 #include <errno.h> 47 errno = 0; 49 if (errno != 0) { 65 e = errno; 69 e = errno;
|
/freebsd-11.0-release/lib/libc/stdlib/ |
H A D | strtonum.c | 23 #include <errno.h> 48 ev[0].err = errno; 49 errno = 0; 54 if (errno == EINVAL || numstr == ep || *ep != '\0') 56 else if ((ll == LLONG_MIN && errno == ERANGE) || ll < minval) 58 else if ((ll == LLONG_MAX && errno == ERANGE) || ll > maxval) 63 errno = ev[error].err;
|
/freebsd-11.0-release/usr.sbin/pw/ |
H A D | strtounum.c | 30 #include <errno.h> 46 errno = EINVAL; 51 errno = 0; 54 errno = EINVAL; 60 errno = ERANGE; 65 if (errno == ERANGE || ret > maxval) { 66 errno = ERANGE;
|
/freebsd-11.0-release/tools/regression/sockets/accf_data_attach/ |
H A D | accf_data_attach.c | 36 #include <errno.h> 74 _mod_name, strerror(errno)); 86 errx(-1, "not ok 1 - socket: %s", strerror(errno)); 98 if (errno != EINVAL) 100 "%d (%s)", errno, strerror(errno)); 112 errx(-1, "not ok 3 - bind %s", strerror(errno)); 123 if (errno != EINVAL) 125 errno, strerror(errno)); [all...] |
/freebsd-11.0-release/lib/libc/posix1e/ |
H A D | acl_flag.c | 31 #include <errno.h> 43 errno = EINVAL; 53 errno = EINVAL; 70 errno = EINVAL; 84 errno = EINVAL; 101 errno = EINVAL; 119 errno = EINVAL; 124 errno = EINVAL; 138 errno = EINVAL; 143 errno [all...] |
H A D | acl_perm.c | 35 #include <errno.h> 47 errno = EINVAL; 61 errno = EINVAL; 82 errno = EINVAL; 100 errno = EINVAL; 117 errno = EINVAL;
|
/freebsd-11.0-release/contrib/elftoolchain/libpe/ |
H A D | pe_coff.c | 27 #include <errno.h> 40 errno = ENOENT; 52 errno = ENOENT; 64 errno = ENOENT; 76 errno = EINVAL; 81 errno = EACCES; 87 errno = ENOMEM; 108 errno = EINVAL; 113 errno = EACCES; 119 errno [all...] |
/freebsd-11.0-release/tools/regression/sockets/socketpair/ |
H A D | socketpair.c | 32 #include <errno.h> 60 strerror(errno)); 66 strerror(errno)); 72 strerror(errno)); 82 strerror(errno)); 88 strerror(errno)); 94 "%s\n", strerror(errno)); 107 if (errno != EOPNOTSUPP) { 109 strerror(errno)); 121 if (errno ! [all...] |
/freebsd-11.0-release/crypto/openssh/openbsd-compat/ |
H A D | strtonum.c | 27 #include <errno.h> 50 ev[0].err = errno; 51 errno = 0; 58 else if ((ll == LLONG_MIN && errno == ERANGE) || ll < minval) 60 else if ((ll == LLONG_MAX && errno == ERANGE) || ll > maxval) 65 errno = ev[error].err;
|
/freebsd-11.0-release/crypto/openssh/ |
H A D | sshconnect.h | 64 int save_errno = errno; \ 67 strerror(errno)); \ 68 errno = save_errno; \ 72 int save_errno = errno; \ 75 strerror(errno)); \ 76 errno = save_errno; \
|
/freebsd-11.0-release/contrib/mdocml/ |
H A D | compat_strtonum.c | 29 #include <errno.h> 54 ev[0].err = errno; 55 errno = 0; 62 else if ((ll == LLONG_MIN && errno == ERANGE) || ll < minval) 64 else if ((ll == LLONG_MAX && errno == ERANGE) || ll > maxval) 69 errno = ev[error].err;
|
/freebsd-11.0-release/tools/regression/sockets/kqueue/ |
H A D | kqueue.c | 34 #include <errno.h> 114 fail(errno, "kevent", socktype, "EVFILT_READ, EV_ADD"); 124 fail(errno, "kevent", socktype, "EVFILT_READ"); 137 fail(errno, "write", socktype, NULL); 150 fail(errno, "kevent", socktype, "EVFILT_READ"); 162 fail(errno, "read", socktype, NULL); 175 fail(errno, "kevent", socktype, "EVFILT_READ"); 184 fail(errno, "kevent", socktype, "EVFILT_READ, EV_DELETE"); 199 fail(errno, "kevent", socktype, "EVFILT_WRITE, EV_ADD"); 209 fail(errno, "keven [all...] |
/freebsd-11.0-release/lib/libc/gen/ |
H A D | dup3.c | 35 #include <errno.h> 46 errno = EINVAL; 51 errno = EINVAL;
|
H A D | gethostname.c | 39 #include <errno.h> 50 if (errno == ENOMEM) 51 errno = ENAMETOOLONG;
|
/freebsd-11.0-release/crypto/openssh/regress/ |
H A D | setuid-allowed.c | 27 #include <errno.h> 49 if (errno == ENOSYS) 52 path, strerror(errno));
|
/freebsd-11.0-release/contrib/netbsd-tests/fs/psshfs/ |
H A D | h_have_puffs.c | 28 #include <errno.h> 45 if (errno == ENXIO) { 48 } else if (errno == EACCES) {
|
/freebsd-11.0-release/tools/regression/sockets/shutdown/ |
H A D | shutdown.c | 35 #include <errno.h> 51 if ((shutdown(listen_sock, SHUT_RDWR) != -1) && (errno != EBADF)) 59 strerror(errno)); 69 inet_ntoa(sock.sin_addr), sock.sin_port, strerror(errno)); 74 strerror(errno)); 78 errx(-1, "listen() for listen socket: %s", strerror(errno)); 83 "socket: %s", strerror(errno)); 92 errx(-1, "connect() for connect socket: %s", strerror(errno)); 94 if ((shutdown(connect_sock, SHUT_RD - 1) != -1) && (errno != EINVAL)) 96 if ((shutdown(connect_sock, SHUT_RDWR + 1) != -1) && (errno ! [all...] |
/freebsd-11.0-release/contrib/tcpdump/missing/ |
H A D | inet_pton.c | 45 errno = EAFNOSUPPORT;
|
/freebsd-11.0-release/contrib/sendmail/libsm/ |
H A D | memstat.c | 13 #include <errno.h> 29 ** errno as error code, 0: ok 37 return (errno != 0) ? errno : -1; 48 ** errno as error code, 0: ok 79 return (errno != 0) ? errno : -1; 101 ** errno as error code, 0: ok 111 return (errno != 0) ? errno [all...] |