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

1234567891011>>

/freebsd-11-stable/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-stable/contrib/netbsd-tests/lib/libposix/
H A Dt_rename.c37 #include <errno.h>
71 ATF_REQUIRE_EQ(errno, ENOENT);
80 ATF_REQUIRE_EQ(errno, ENOENT);
/freebsd-11-stable/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;
115 errno = EINVAL;
129 errno = ERANGE;
136 errno = ERANGE;
140 errno = ERANGE;
168 errno = EINVAL;
174 errno
[all...]
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;
/freebsd-11-stable/contrib/wpa/src/ap/
H A Dvlan_ifconfig.c26 "failed: %s", __func__, strerror(errno));
36 __func__, if_name, strerror(errno));
49 __func__, if_name, up, strerror(errno));
/freebsd-11-stable/lib/libc/stdlib/
H A Drealpath.c39 #include <errno.h>
78 errno = ENAMETOOLONG;
106 errno = ENAMETOOLONG;
136 errno = ENAMETOOLONG;
143 errno = ELOOP;
149 ; /* keep errno from readlink(2) call */
151 errno = ENOENT;
153 errno = ENAMETOOLONG;
175 errno = ENAMETOOLONG;
184 errno
[all...]
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/gen/
H A Dt_dir.c34 #include <errno.h>
62 strerror(errno)); \
67 "mkdir failed: %s", strerror(errno));
79 ".", strerror(errno));
83 "..", strerror(errno));
88 "first", strerror(errno));
91 ATF_REQUIRE_MSG(here != -1, "telldir failed: %s", strerror(errno));
96 "second", strerror(errno));
105 "third", strerror(errno));
111 "first[1]", strerror(errno));
[all...]
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-stable/stand/i386/libi386/
H A Di386_copy.c44 errno = EFBIG;
56 errno = EFBIG;
70 errno = EFBIG;
/freebsd-11-stable/contrib/openpam/lib/libpam/
H A Dopenpam_straddch.c36 #include <errno.h>
62 errno = ENOMEM;
73 errno = ENOMEM;
114 * unmodified, sets :errno to =ENOMEM and returns -1.
/freebsd-11-stable/stand/libsa/
H A Dclose.c75 errno = EBADF;
89 errno = err1;
93 errno = err2;
/freebsd-11-stable/lib/libc/net/
H A Dif_indextoname.c38 #include <errno.h>
56 * index, NULL is returned, and errno is set to ENXIO, if there was a
58 * NULL and errno would be set to the proper value (e.g., ENOMEM).
68 errno = ENXIO;
73 return(NULL); /* getifaddrs properly set errno */
91 errno = error;
/freebsd-11-stable/lib/libcasper/services/cap_sysctl/tests/
H A Dsysctl_test.c40 #include <errno.h>
210 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE);
214 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE);
277 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE);
281 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE);
285 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE);
288 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE);
315 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE);
321 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE);
325 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno
[all...]
/freebsd-11-stable/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-stable/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-stable/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;
/freebsd-11-stable/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-stable/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-stable/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-stable/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;
/freebsd-11-stable/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-stable/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-stable/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-stable/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-stable/contrib/tcsh/
H A Ddotlock.c84 else if (errno == EEXIST)
110 errno = EEXIST;
116 serrno = errno;
118 errno = serrno;
157 if (errno != EEXIST)
162 errno = EEXIST;

Completed in 175 milliseconds

1234567891011>>