Searched refs:errno (Results 26 - 50 of 4642) sorted by relevance

1234567891011>>

/freebsd-11-stable/tools/regression/capsicum/syscalls/
H A Dmisc.h36 int _serrno = errno; \
39 errno = _serrno; \
42 int _serrno = errno; \
45 errno = _serrno; \
/freebsd-11-stable/stand/libsa/
H A Dioctl.c77 errno = EBADF;
81 errno = (f->f_dev->dv_ioctl)(f, cmd, arg);
82 if (errno)
86 errno = EIO;
H A Dreaddir.c40 errno = EBADF;
44 errno = EIO;
47 errno = (f->f_ops->fo_readdir)(f, &dir);
48 if (errno)
/freebsd-11-stable/contrib/groff/src/libs/libgroff/
H A Dmatherr.c25 #include <errno.h>
36 errno = EDOM;
42 errno = ERANGE;
/freebsd-11-stable/lib/libc/stdio/
H A Drewind.c40 #include <errno.h>
49 int serrno = errno;
57 errno = serrno;
/freebsd-11-stable/lib/libthr/sys/
H A Dthr_error.c42 #undef errno macro
43 extern int errno;
56 return (&errno);
/freebsd-11-stable/tools/regression/mlock/
H A Dmlock.c33 #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-stable/contrib/openbsm/bin/auditdistd/
H A Dfaccessat.h43 errno = EINVAL;
52 error = errno;
54 errno = error;
60 error = errno;
63 errno = error;
H A Drenameat.h42 errno = EINVAL;
51 error = errno;
53 errno = error;
59 error = errno;
62 errno = error;
/freebsd-11-stable/tools/regression/p1003_1b/
H A Dmemlock.c36 #include <errno.h>
47 errno = 0;
49 if (errno != 0) {
65 e = errno;
69 e = errno;
/freebsd-11-stable/lib/libc/stdlib/
H A Dstrtonum.c23 #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;
H A Dptsname.c39 #include <errno.h>
56 if (errno != EBADF)
57 errno = EINVAL;
81 errno = ERANGE;
94 if (errno == EINVAL)
95 errno = ERANGE;
/freebsd-11-stable/usr.sbin/pw/
H A Dstrtounum.c30 #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-stable/tools/regression/sockets/accf_data_attach/
H A Daccf_data_attach.c36 #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-stable/lib/libc/posix1e/
H A Dacl_flag.c31 #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 Dacl_perm.c35 #include <errno.h>
47 errno = EINVAL;
61 errno = EINVAL;
82 errno = EINVAL;
100 errno = EINVAL;
117 errno = EINVAL;
/freebsd-11-stable/contrib/elftoolchain/libpe/
H A Dpe_coff.c27 #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-stable/contrib/mdocml/
H A Dcompat_strtonum.c29 #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-stable/crypto/openssh/openbsd-compat/
H A Dstrtonum.c27 #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-stable/crypto/openssh/
H A Dsshconnect.h64 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-stable/tools/regression/sockets/kqueue/
H A Dkqueue.c34 #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-stable/contrib/netbsd-tests/fs/psshfs/
H A Dh_have_puffs.c28 #include <errno.h>
45 if (errno == ENXIO) {
48 } else if (errno == EACCES) {
/freebsd-11-stable/crypto/openssh/regress/
H A Dsetuid-allowed.c27 #include <errno.h>
49 if (errno == ENOSYS)
52 path, strerror(errno));
/freebsd-11-stable/lib/libc/gen/
H A Ddup3.c35 #include <errno.h>
46 errno = EINVAL;
51 errno = EINVAL;
H A Dgethostname.c39 #include <errno.h>
50 if (errno == ENOMEM)
51 errno = ENAMETOOLONG;

Completed in 146 milliseconds

1234567891011>>