Searched refs:errno (Results 351 - 375 of 4351) sorted by relevance

<<11121314151617181920>>

/freebsd-11.0-release/tools/build/
H A Dutimensat.c32 #include <errno.h>
49 errno = EINVAL;
62 errno = EINVAL;
68 errno = EINVAL;
105 errno = ENOTSUP;
/freebsd-11.0-release/contrib/nvi/ex/
H A Dex_mkexrc.c21 #include <errno.h>
75 sverrno = errno;
89 sverrno = errno;
96 e1: sverrno = errno;
98 e2: errno = sverrno;
/freebsd-11.0-release/usr.bin/login/
H A Dlogin_fbtab.c66 #include <errno.h>
134 if (chflags(path, 0) && errno != ENOENT && errno != EOPNOTSUPP)
136 if (chmod(path, mask) && errno != ENOENT)
138 if (chown(path, uid, gid) && errno != ENOENT)
/freebsd-11.0-release/usr.sbin/fifolog/lib/
H A Dfifolog_create.c30 #include <errno.h>
107 i = errno;
109 errno = i;
114 i = errno;
116 errno = i;
/freebsd-11.0-release/contrib/xz/src/xz/
H A Dfile_io.c88 strerror(errno));
96 strerror(errno));
169 if (errno == EINTR || errno == EAGAIN)
175 strerror(errno));
250 name, strerror(errno));
275 pair->dest_name, strerror(errno));
281 pair->dest_name, strerror(errno));
300 pair->dest_name, strerror(errno));
411 strerror(errno));
[all...]
/freebsd-11.0-release/contrib/sendmail/src/
H A Dcontrol.c75 errno = ENAMETOOLONG;
85 errno = rval;
95 errno = EINVAL;
108 save_errno = errno;
110 errno = save_errno;
126 save_errno = errno;
135 errno = save_errno;
142 save_errno = errno;
144 errno = save_errno;
150 save_errno = errno;
[all...]
/freebsd-11.0-release/contrib/openbsm/libbsm/
H A Dbsm_audit.c48 #include <errno.h>
130 errno = ENOMEM;
146 errno = ENOMEM;
180 errno = EINVAL;
187 errno = EINVAL;
192 errno = ENOMEM;
239 if (errno != ENOSYS && errno != EPERM)
280 error = errno;
282 errno
[all...]
/freebsd-11.0-release/contrib/netbsd-tests/lib/libc/sys/
H A Dt_mlock.c42 #include <errno.h>
71 "sysctlbyname(%s) failed: %s", VM_MAX_WIRED, strerror(errno));
76 "sysctlbyname(%s) failed: %s", VM_MAX_WIRED, strerror(errno));
91 VM_MAX_WIRED, strerror(errno));
199 errno = 0;
202 errno = 0;
205 errno = 0;
208 errno = 0;
211 errno = 0;
214 errno
[all...]
H A Dt_mknod.c37 #include <errno.h>
67 errno = 0;
71 errno = 0;
74 errno = 0;
77 errno = 0;
103 errno = 0;
110 errno = 0;
131 errno = 0;
134 errno = 0;
/freebsd-11.0-release/contrib/netbsd-tests/kernel/
H A Dt_lockf.c31 #include <errno.h>
106 if (errno != EINTR)
134 ATF_REQUIRE_MSG(fd >= 0, "open(%s): %s", lockfile, strerror(errno));
137 "ftruncate(%s): %s", lockfile, strerror(errno));
139 ATF_REQUIRE_MSG(pipe(pipe_fd) == 0, "pipe: %s", strerror(errno));
163 "parent: read_pipe(%i): %s", i, strerror(errno));
201 return errno;
206 return errno;
229 ATF_REQUIRE_MSG(fd >= 0, "open(%s): %s", lockfile, strerror(errno));
232 "ftruncate(%s): %s", lockfile, strerror(errno));
[all...]
H A Dt_sysv.c40 #include <errno.h>
153 child_status = -errno;
169 ATF_REQUIRE_MSG(tmpdir != NULL, "mkdtemp() failed: %d", errno);
180 atf_tc_fail("open() of temp file failed: %d", errno);
187 ATF_REQUIRE_MSG(unlink(token_key) != -1, "unlink() failed: %d", errno); local
188 ATF_REQUIRE_MSG(rmdir(token_dir) != -1, "rmdir() failed: %d", errno); local
220 "sigaction SIGSYS: %d", errno); local
232 "sigaction SIGCHLD: %d", errno); local
238 ATF_REQUIRE_MSG(sender_msqid != -1, "msgget: %d", errno);
247 "msgctl IPC_STAT 1: %d", errno); local
254 "msgctl IPC_SET: %d", errno); local
259 "msgctl IPC_STAT 2: %d", errno); local
287 0) != -1, "sender: msgsnd 1: %d", errno); local
291 "sender: msgrcv 1 ack: %d", errno); local
301 "sender: msgsnd 2: %d", errno); local
305 "sender: msgrcv 2 ack: %d", errno); local
327 != -1, "msgctl IPC_STAT: %d", errno); local
459 "sigaction SIGSYS: %d", errno); local
471 "sigaction SIGCHLD: %d", errno); local
687 "sigaction SIGSYS: %d", errno); local
699 "sigaction SIGCHLD: %d", errno); local
712 "shmctl IPC_STAT: %d", errno); local
719 "shmctl IPC_SET: %d", errno); local
724 "shmctl IPC_STAT: %d", errno); local
769 "shmctl IPC_STAT: %d", errno); local
[all...]
/freebsd-11.0-release/lib/libstand/
H A Dsplitfs.c90 if ((sf->curfd == -1) && (errno != ENOENT))
91 return (errno);
169 errno = split_openfile(sf);
170 if (errno != 0) {
206 return (errno);
219 return (errno);
222 errno = split_openfile(sf);
223 if (errno)
224 return (errno);
255 errno
[all...]
/freebsd-11.0-release/contrib/apr/network_io/unix/
H A Dsockopt.c38 return errno;
43 return errno;
64 return errno;
69 return errno;
128 return errno;
139 return errno;
148 return errno;
159 return errno;
167 return errno;
176 return errno;
[all...]
H A Dsendrecv.c42 } while (rv == -1 && errno == EINTR);
44 while (rv == -1 && (errno == EAGAIN || errno == EWOULDBLOCK)
56 } while (rv == -1 && errno == EINTR);
61 return errno;
82 } while (rv == -1 && errno == EINTR);
84 while ((rv == -1) && (errno == EAGAIN || errno == EWOULDBLOCK)
95 } while (rv == -1 && errno == EINTR);
100 return errno;
[all...]
/freebsd-11.0-release/lib/libnv/
H A Dmsgio.c37 #include <errno.h>
68 errno = EBADF;
88 errno = EINVAL;
134 if (errno == EINTR)
153 if (errno == EINTR)
231 errno = EINVAL;
282 serrno = errno;
284 errno = serrno;
344 errno = EINVAL;
350 serrno = errno;
[all...]
/freebsd-11.0-release/usr.sbin/bluetooth/sdpd/
H A Dserver.c43 #include <errno.h>
80 if (unlink(control) < 0 && errno != ENOENT) {
82 control, strerror(errno), errno);
89 strerror(errno), errno);
100 strerror(errno), errno);
107 "%s (%d)", strerror(errno), errno);
[all...]
/freebsd-11.0-release/contrib/openpam/lib/libpam/
H A Dopenpam_dynamic.c45 #include <errno.h>
78 if (errno != ENOENT)
90 errno = 0;
111 errno = 0;
157 serrno = errno;
165 errno = serrno;
168 errno = serrno;
242 errno = ENOENT;
248 if (errno == ENOENT && modpath[dot] != '\0') {
/freebsd-11.0-release/contrib/unbound/util/
H A Dtube.c61 int err = errno;
63 errno = err;
69 int err = errno;
70 log_err("socketpair: %s", strerror(errno));
72 errno = err;
78 int err = errno;
81 errno = err;
169 if(errno != EAGAIN && errno != EINTR) {
170 log_err("rpipe error: %s", strerror(errno));
[all...]
/freebsd-11.0-release/crypto/openssh/
H A Dmonitor_fdpass.c36 #include <errno.h>
91 (errno == EAGAIN || errno == EINTR)) {
92 debug3("%s: sendmsg(%d): %s", __func__, fd, strerror(errno));
97 strerror(errno));
148 (errno == EAGAIN || errno == EINTR)) {
149 debug3("%s: recvmsg: %s", __func__, strerror(errno));
153 error("%s: recvmsg: %s", __func__, strerror(errno));
H A Dreadpass.c31 #include <errno.h>
61 error("ssh_askpass: fflush: %s", strerror(errno));
65 error("ssh_askpass: pipe: %s", strerror(errno));
70 error("ssh_askpass: fork: %s", strerror(errno));
78 fatal("ssh_askpass: dup2: %s", strerror(errno));
80 fatal("ssh_askpass: exec(%s): %s", askpass, strerror(errno));
88 if (r == -1 && errno == EINTR)
98 if (errno != EINTR)
139 strerror(errno));
/freebsd-11.0-release/crypto/openssh/openbsd-compat/
H A Dfmt_scaled.c47 #include <errno.h>
73 * Return 0 on success, -1 and errno set on error.
91 errno = EINVAL;
98 errno = EINVAL;
114 errno = EINVAL;
131 errno = ERANGE;
159 errno = EINVAL;
184 errno = ERANGE;
190 * Return 0 on success, -1 and errno set if error.
205 errno
[all...]
/freebsd-11.0-release/contrib/libarchive/libarchive/
H A Darchive_read_open_fd.c33 #include <errno.h>
74 archive_set_error(a, errno, "Can't stat fd %d", fd);
122 if (errno == EINTR)
124 archive_set_error(a, errno, "Error reading fd %d",
163 if (errno == ESPIPE)
171 archive_set_error(a, errno, "Error seeking");
190 if (errno == ESPIPE) {
191 archive_set_error(a, errno,
196 archive_set_error(a, errno,
/freebsd-11.0-release/cddl/contrib/opensolaris/lib/libdtrace/arm/
H A Ddt_isadep.c34 #include <errno.h>
73 strerror(errno));
74 return (dt_set_errno(dtp, errno));
119 strerror(errno));
120 return (dt_set_errno(dtp, errno));
144 strerror(errno));
145 return (dt_set_errno(dtp, errno));
185 strerror(errno));
186 return (dt_set_errno(dtp, errno));
/freebsd-11.0-release/cddl/contrib/opensolaris/lib/libdtrace/powerpc/
H A Ddt_isadep.c31 #include <errno.h>
53 strerror(errno));
54 return (dt_set_errno(dtp, errno));
126 strerror(errno));
127 return (dt_set_errno(dtp, errno));
151 strerror(errno));
152 return (dt_set_errno(dtp, errno));
192 strerror(errno));
193 return (dt_set_errno(dtp, errno));
/freebsd-11.0-release/lib/libc/tests/stdio/
H A Dopen_memstream_test.c32 #include <errno.h>
85 ATF_REQUIRE_MSG(errno == EINVAL,
89 ATF_REQUIRE_MSG(errno == EINVAL,
92 ATF_REQUIRE_MSG(fp != NULL, "open_memstream failed; errno=%d", errno);
157 ATF_REQUIRE_MSG(fp != NULL, "open_memstream failed: %d", errno);
160 errno = 0; \
165 ATF_REQUIRE_MSG(errno == (error), \
167 __STRING(offset), __STRING(whence), errno, \
174 __STRING(offset), __STRING(whence), strerror(errno)); \
[all...]

Completed in 192 milliseconds

<<11121314151617181920>>