Searched refs:errno (Results 226 - 250 of 4351) sorted by relevance

1234567891011>>

/freebsd-11.0-release/tools/tools/aac/
H A Daac_checkq.c34 #include <errno.h>
66 printf("couldn't open aac0: %s\n", strerror(errno));
76 printf("error on ioctl: %s\n", strerror(errno));
/freebsd-11.0-release/usr.sbin/procctl/
H A Dprocctl.c46 #include <errno.h>
67 if (errno == ENOENT)
74 if (ioctl(fd, PIOCCONT, 0) == -1 && errno != EINVAL)
/freebsd-11.0-release/tools/regression/capsicum/libcasper/
H A Dsysctl.c40 #include <errno.h>
208 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE);
212 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE);
275 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE);
279 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE);
283 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE);
286 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE);
313 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE);
319 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE);
323 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno
[all...]
/freebsd-11.0-release/contrib/sendmail/libsm/
H A Dfclose.c17 #include <errno.h>
68 ** -1 on failure and sets errno
84 errno = EBADF;
94 errno = EBADF;
100 errno = ENODEV;
115 errno = EAGAIN;
127 errno = EAGAIN;
H A Dfpurge.c18 #include <errno.h>
30 ** Failure: returns SM_IO_EOF and sets errno
41 errno = EBADF;
/freebsd-11.0-release/gnu/usr.bin/grep/
H A Dexclude.c25 #include <errno.h>
26 #ifndef errno
27 extern int errno;
113 e = errno;
116 e = errno;
126 errno = e;
/freebsd-11.0-release/lib/libc/gen/
H A Dsysctl.c39 #include <errno.h>
72 errno = EPERM;
76 errno = EINVAL;
83 errno = ENOMEM;
93 errno = ENOMEM;
191 errno = EINVAL;
H A Dsleep.c37 #include <errno.h>
66 if (errno != EINTR)
/freebsd-11.0-release/lib/libc/mips/sys/
H A Dcerror.S56 REG_S v0, CALLFRAME_S0(sp) # save errno value
58 PTR_LA t9, _C_LABEL(__error) # locate address of errno
63 INT_S t0, 0(v0) # update errno value
/freebsd-11.0-release/crypto/openssh/openbsd-compat/
H A Dmktemp.c28 #include <errno.h>
58 errno = EINVAL;
79 return(errno == ENOENT ? 0 : -1);
83 if (fd != -1 || errno != EEXIST)
89 if (errno != EEXIST)
95 errno = EEXIST;
H A Dbasename.c23 #include <errno.h>
59 errno = ENAMETOOLONG;
/freebsd-11.0-release/contrib/libstdc++/config/locale/gnu/
H A Dc_locale.cc37 #include <cerrno> // For errno
51 errno = 0;
53 if (__sanity != __s && errno != ERANGE)
65 errno = 0;
67 if (__sanity != __s && errno != ERANGE)
79 errno = 0;
87 if (__sanity != __s && errno != ERANGE)
/freebsd-11.0-release/contrib/netbsd-tests/lib/libc/locale/
H A Dt_mbtowc.c61 #include <errno.h>
105 (void)printf("errno: %s\n", strerror(errno));
106 ATF_REQUIRE_EQ(errno, EILSEQ);
119 errno = 0;
123 (void)printf("errno: %s\n", strerror(errno));
124 ATF_REQUIRE_EQ(errno, 0);
/freebsd-11.0-release/contrib/netbsd-tests/fs/ptyfs/
H A Dt_nullpts.c9 #include <errno.h>
30 if (errno != EEXIST)
46 if (errno != EEXIST)
50 if (errno != EEXIST)
82 if (errno != EEXIST)
86 if (errno != EEXIST)
/freebsd-11.0-release/contrib/apr/locks/unix/
H A Dthread_cond.c32 rv = errno;
50 rv = errno;
71 rv = errno;
92 rv = errno;
109 rv = errno;
122 rv = errno;
/freebsd-11.0-release/contrib/elftoolchain/libpe/
H A Dlibpe_rich.c28 #include <errno.h>
70 errno = ENOENT;
75 errno = ENOMEM;
95 errno = ENOENT;
110 errno = ENOMEM;
117 errno = ENOMEM;
/freebsd-11.0-release/lib/libc/rpc/
H A Drtime.c47 #include <errno.h>
112 } while (res < 0 && errno == EINTR);
115 errno = ETIMEDOUT;
139 errno = EIO;
153 save = errno;
155 errno = save;
/freebsd-11.0-release/lib/libc/stdio/
H A Dftell.c41 #include <errno.h>
58 errno = EOVERFLOW;
79 errno = ESPIPE;
92 errno = ESPIPE; /* historic practice */
121 errno = EIO;
134 errno = EOVERFLOW;
/freebsd-11.0-release/tools/regression/ufs/uprintf/
H A Dufs_uprintf.c30 #include <errno.h>
83 errno = 0;
97 if (errno != ENOSPC) {
110 if (len < 0 && errno != ENOSPC) {
147 if (errno != ENOSPC) {
154 if (fd < 0 && errno != ENOSPC) {
/freebsd-11.0-release/contrib/openbsm/bin/auditdistd/
H A Dsubr.h37 _rerrno = errno; \
39 errno = _rerrno; \
/freebsd-11.0-release/lib/libc/locale/
H A Dc32rtomb.c30 #include <errno.h>
42 errno = EILSEQ;
H A Dsetlocale.c42 #include <errno.h>
107 errno = EINVAL;
129 errno = EINVAL;
137 errno = EINVAL;
144 errno = EINVAL;
151 errno = EINVAL;
160 errno = EINVAL;
167 errno = EINVAL;
193 saverr = errno;
202 errno
[all...]
/freebsd-11.0-release/crypto/openssh/
H A Duidswap.c17 #include <errno.h>
87 fatal("getgroups: %.100s", strerror(errno));
92 fatal("getgroups: %.100s", strerror(errno));
101 strerror(errno));
105 fatal("getgroups: %.100s", strerror(errno));
110 fatal("getgroups: %.100s", strerror(errno));
117 fatal("setgroups: %.100s", strerror(errno));
121 debug("setgid %u: %.100s", (u_int) getegid(), strerror(errno));
124 debug("setuid %u: %.100s", (u_int) geteuid(), strerror(errno));
128 strerror(errno));
[all...]
/freebsd-11.0-release/contrib/netbsd-tests/lib/libc/gen/
H A Dt_nice.c38 #include <errno.h>
53 errno = 0;
55 ATF_REQUIRE(errno == 0);
82 errno = 0;
109 errno = 0;
111 ATF_REQUIRE(errno == 0);
127 errno = 0;
133 ATF_REQUIRE(errno == 0);
/freebsd-11.0-release/contrib/bmake/
H A Drealpath.c44 #include <errno.h>
78 errno = EINVAL;
103 errno = ENOENT;
156 errno = ENAMETOOLONG;
177 errno = ELOOP;
184 errno = ENOENT;
190 errno = ENAMETOOLONG;
203 errno = ENOTDIR;

Completed in 129 milliseconds

1234567891011>>