Searched refs:errno (Results 76 - 100 of 4642) sorted by relevance

1234567891011>>

/freebsd-11-stable/lib/libc/sys/
H A Dptrace.c38 #include <errno.h>
47 errno = 0;
/freebsd-11-stable/crypto/openssh/openbsd-compat/
H A Dbsd-waitpid.c28 #include <errno.h>
40 errno = EINVAL;
H A Dport-irix.c32 #include <errno.h>
62 strerror(errno));
68 strerror(errno));
78 (int)projid, pw->pw_name, strerror(errno));
84 debug("error setting satid: %.100s", strerror(errno));
H A Dport-solaris.c26 #include <errno.h>
55 "contract: %s", __func__, strerror(errno));
60 "status: %s", __func__, strerror(errno));
65 __func__, strerror(errno));
80 CT_TEMPLATE, strerror(errno));
90 "(pgrponly): %s", __func__, strerror(errno));
95 "fatal events: %s", __func__, strerror(errno));
100 "critical events: %s", __func__, strerror(errno));
105 "informative events: %s", __func__, strerror(errno));
112 "template: %s", __func__, strerror(errno));
[all...]
/freebsd-11-stable/contrib/sendmail/libsm/
H A Drewind.c17 #include <errno.h>
43 errno = 0; /* not required, but seems reasonable */
/freebsd-11-stable/contrib/netcat/
H A Datomicio.c29 #include <errno.h>
52 if (errno == EINTR)
54 if ((errno == EAGAIN) || (errno == ENOBUFS)) {
60 errno = EPIPE;
/freebsd-11-stable/contrib/elftoolchain/libpe/
H A Dpe_init.c28 #include <errno.h>
41 errno = ENOMEM;
58 errno = EINVAL;
64 errno = EINVAL;
90 errno = EINVAL;
H A Dpe_update.c28 #include <errno.h>
41 errno = EINVAL;
46 errno = EACCES;
53 errno = EIO;
81 errno = EIO;
/freebsd-11-stable/lib/libc/posix1e/
H A Dacl_copy.c35 #include <errno.h>
49 errno = EINVAL;
57 errno = EINVAL;
76 errno = ENOSYS;
84 errno = ENOSYS;
H A Dacl_set.c40 #include <errno.h>
58 errno = EINVAL;
63 errno = EINVAL;
79 errno = EINVAL;
84 errno = EINVAL;
110 errno = EINVAL;
115 errno = EINVAL;
135 errno = EINVAL;
141 errno = EINVAL;
145 errno
[all...]
H A Dacl_valid.c39 #include <sys/errno.h>
46 * and errno set to EINVAL.
62 errno = EINVAL;
66 errno = EINVAL;
72 errno = error;
84 errno = EINVAL;
99 errno = EINVAL;
114 errno = EINVAL;
/freebsd-11-stable/usr.bin/bc/
H A Dtty.c20 #include <errno.h>
33 while ((ret = tcsetattr(0, TCSADRAIN, t)) == -1 && errno == EINTR)
43 while ((ret = tcgetattr(0, t)) == -1 && errno == EINTR)
52 int save_errno = errno;
64 errno = save_errno;
/freebsd-11-stable/usr.sbin/bhyve/
H A Dsockstream.c37 #include <errno.h>
56 if (errno == EINTR || errno == EAGAIN)
79 if (errno == EINTR || errno == EAGAIN)
/freebsd-11-stable/contrib/ntp/lib/isc/unix/
H A Dstdio.c22 #include <errno.h>
36 return (isc__errno2result(errno));
49 return (isc__errno2result(errno));
60 return (isc__errno2result(errno));
74 result = isc__errno2result(errno);
91 result = isc__errno2result(errno);
105 return (isc__errno2result(errno));
124 if (r == 0 || errno == EINVAL || errno == ENOTSUP)
127 return (isc__errno2result(errno));
[all...]
/freebsd-11-stable/crypto/openssh/
H A Dsandbox-capsicum.c28 #include <errno.h>
78 __func__, strerror(errno));
82 __func__, strerror(errno));
86 __func__, strerror(errno));
90 if (cap_rights_limit(STDIN_FILENO, &rights) < 0 && errno != ENOSYS)
92 if (cap_rights_limit(STDOUT_FILENO, &rights) < 0 && errno != ENOSYS)
94 if (cap_rights_limit(STDERR_FILENO, &rights) < 0 && errno != ENOSYS)
99 errno != ENOSYS)
103 errno != ENOSYS)
105 if (cap_enter() < 0 && errno !
[all...]
H A Datomicio.c34 #include <errno.h>
68 if (errno == EINTR)
70 if (errno == EAGAIN || errno == EWOULDBLOCK) {
78 errno = EPIPE;
83 errno = EINTR;
111 errno = EINVAL;
125 if (errno == EINTR)
127 if (errno == EAGAIN || errno
[all...]
/freebsd-11-stable/contrib/openpam/lib/libpam/
H A Dopenpam_check_owner_perms.c39 #include <errno.h>
67 serrno = errno;
69 errno = serrno;
75 errno = EINVAL;
82 errno = EPERM;
116 if (errno != ENOENT) {
117 serrno = errno;
119 errno = serrno;
126 errno = EINVAL;
133 errno
[all...]
/freebsd-11-stable/contrib/openbsm/compat/
H A Dpidfile.h40 #include <errno.h>
64 return (errno);
78 return (errno);
81 error = errno; /* Remember errno in case close() wants to change it. */
118 errno = ENAMETOOLONG;
135 if (errno == EWOULDBLOCK && pidptr != NULL) {
140 errno = pidfile_read(pfh->pf_path, pidptr);
141 if (errno != EAGAIN || --count == 0)
145 if (errno
[all...]
H A Dflopen.h33 #include <errno.h>
70 serrno = errno;
72 errno = serrno;
82 serrno = errno;
84 errno = serrno;
95 serrno = errno;
97 errno = serrno;
/freebsd-11-stable/lib/libutil/
H A Dpidfile.c41 #include <errno.h>
64 return (errno);
78 return (errno);
81 error = errno; /* Remember errno in case close() wants to change it. */
116 errno = ENAMETOOLONG;
129 if (errno == EWOULDBLOCK) {
131 errno = EEXIST;
137 errno = pidfile_read(pfh->pf_path,
139 if (errno !
[all...]
/freebsd-11-stable/usr.sbin/bluetooth/hcseriald/
H A Dhcseriald.c41 #include <errno.h>
108 strerror(errno), errno);
117 p, strerror(errno), errno);
129 strerror(errno), errno);
135 strerror(errno), errno);
141 strerror(errno), errn
[all...]
/freebsd-11-stable/contrib/gcclibs/libiberty/
H A Dpex-djgpp.c25 #include <errno.h>
27 extern int errno;
133 *err = errno;
139 *err = errno;
145 *err = errno;
156 *err = errno;
162 *err = errno;
168 *err = errno;
180 *err = errno;
187 *err = errno;
[all...]
/freebsd-11-stable/contrib/netbsd-tests/kernel/
H A Dt_mqueue.c12 #include <errno.h>
35 "mq_send 1 failed: %d", errno); local
39 "mq_send 2 failed: %d", errno); local
43 "mq_send 3 failed: %d", errno); local
47 "mq_send 4 failed: %d", errno); local
51 "mq_send 5 failed: %d", errno); local
55 "mq_send 6 failed: %d", errno); local
67 errno); local
74 "mq_receive 1 failed: %d", errno); local
79 "mq_receive 2 failed: %d", errno); local
84 "mq_receive 3 failed: %d", errno); local
89 "mq_receive 4 failed: %d", errno); local
94 "mq_receive 5 failed: %d", errno); local
99 "mq_receive 6 failed: %d", errno); local
[all...]
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/sys/
H A Dt_fsync.c34 #include <errno.h>
60 errno = 0;
63 ATF_REQUIRE(errno == EBADF);
73 errno = 0;
76 ATF_REQUIRE(errno == EINVAL);
78 errno = 0;
81 ATF_REQUIRE(errno == EINVAL);
/freebsd-11-stable/contrib/pf/pflogd/
H A Dpidfile.c39 #include <errno.h>
78 save_errno = errno;
81 errno = save_errno;
87 save_errno = errno;
91 errno = save_errno;
97 save_errno = errno;
102 errno = save_errno;

Completed in 300 milliseconds

1234567891011>>