Searched defs:errno (Results 1 - 25 of 48) sorted by relevance

12

/freebsd-head/lib/libc/gen/
H A Derrno.c32 int errno; variable
/freebsd-head/contrib/libstdc++/include/c/
H A Dstd_cerrno.h34 * This is the C++ version of the Standard C Library header @c errno.h,
48 #include_next <errno.h>
51 #ifndef errno
52 #define errno errno macro
/freebsd-head/contrib/libstdc++/include/c_std/
H A Dstd_cerrno.h35 * This is the C++ version of the Standard C Library header @c errno.h,
50 #include <errno.h>
53 #ifndef errno
54 #define errno errno macro
/freebsd-head/stand/efi/libefi/
H A Derrno.c34 errno_to_efi_status(int errno) argument
38 switch (errno) {
99 int errno; local
103 errno = EPERM;
107 errno = EOVERFLOW;
112 errno = EIO;
116 errno = EINVAL;
120 errno = ESTALE;
124 errno = ENXIO;
128 errno
[all...]
/freebsd-head/lib/libthr/sys/
H A Dthr_error.c44 #undef errno macro
45 extern int errno;
58 return (&errno);
/freebsd-head/contrib/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_errno.h11 // Defines errno to avoid including errno.h and its dependencies into sensitive
13 // It's ok to use errno.h directly when your file already depend on other system
37 #define errno (*__errno_location()) macro
/freebsd-head/cddl/contrib/opensolaris/lib/pyzfs/common/
H A Dholds.py30 import errno namespace
75 raise zfs.util.ZFSError(errno.ENOENT, _("no matching datasets"))
H A Duserspace.py32 import errno namespace
H A Dutil.py29 import errno namespace
35 errno.ECANCELED = 47
36 errno.ENOTSUP = 48
62 errno -- the error number (eg, from ioctl(2))."""
64 __slots__ = "why", "task", "errno"
69 eno -- the error number (errno)
74 self.errno = eno
89 errno.EPERM: _("permission denied"),
90 errno.ECANCELED:
92 errno
[all...]
H A Ddataset.py31 import errno namespace
122 e = zfs.util.ZFSError(errno.EINVAL,
216 raise zfs.util.ZFSError(errno.EINVAL,
223 if not recursive or e.errno != errno.ENOENT:
233 if e.errno != errno.ENOENT:
H A Dallow.py35 import errno namespace
252 raise zfs.util.ZFSError(errno.EINVAL, permname,
/freebsd-head/cddl/contrib/opensolaris/cmd/pyzfs/
H A Dpyzfs.py38 import errno namespace
70 import errno namespace
73 if e.errno == errno.EPIPE:
/freebsd-head/lib/libc/tests/gen/
H A Dftw_test.c36 #include <errno.h>
87 "realpath failed; errno=%d", errno); local
90 ATF_REQUIRE_MSG(fd != -1, "open failed; errno=%d", errno);
93 "mkdirat failed; errno=%d", errno);
96 "symlinkat failed; errno=%d", errno);
101 "nftw FTW_PHYS failed; errno
[all...]
/freebsd-head/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-head/stand/libsa/
H A Dglobals.c37 int errno; /* our old friend */ variable
/freebsd-head/lib/libc/tests/net/
H A Dether_test.c33 #include <errno.h>
52 "ether_line failed; errno=%d", errno); local
95 ATF_REQUIRE_MSG(ep != NULL, "ether_aton_r failed; errno=%d", errno);
/freebsd-head/lib/libthr/thread/
H A Dthr_rtld.c46 #undef errno macro
47 extern int errno;
103 errsave = errno; \
110 errno = errsave; \
199 /* force to resolve errno() PLT */
/freebsd-head/contrib/netbsd-tests/lib/libc/sys/
H A Dt_nanosleep.c38 #include <errno.h>
118 errno = 0;
123 errno = 0;
128 errno = 0;
131 errno = 0;
166 errno = 0;
171 if (errno != EINTR)
223 errno = 0;
226 "errno=%d ts=%0.9f should be <= last tso=%0.9f\n",
227 errno, local
[all...]
/freebsd-head/usr.sbin/lpr/common_source/
H A Dnet.c58 #include <errno.h>
122 if (errno != EAGAIN) {
139 error = errno;
141 errno = error;
148 if (errno == EADDRINUSE) {
152 if (errno == ECONNREFUSED)
189 int ncommonaddrs, errno; local
209 if ((errno = getaddrinfo(lclhost, NULL, &hints, &local_res)) != 0) {
212 lclhost, gai_strerror(errno));
221 if ((errno
[all...]
/freebsd-head/sys/dev/ppbus/
H A Dvpo.c188 int errno; /* error in errno.h */ local
196 errno = imm_do_scsi(&vpo->vpo_io, VP0_INITIATOR,
202 errno = vpoio_do_scsi(&vpo->vpo_io, VP0_INITIATOR,
211 errno, vpo->vpo_stat, vpo->vpo_count, vpo->vpo_error);
220 if (errno) {
248 errno = imm_do_scsi(&vpo->vpo_io, VP0_INITIATOR,
256 errno = vpoio_do_scsi(&vpo->vpo_io, VP0_INITIATOR,
268 errno, vpo->vpo_sense.stat, vpo->vpo_sense.count, vpo->vpo_error);
272 if (errno
[all...]
/freebsd-head/tests/sys/opencrypto/
H A Dblake2_test.c46 #include <errno.h>
107 "alg %d keylen %zu, errno=%d (%s)", alg, klen, errno, local
108 strerror(errno));
/freebsd-head/contrib/googletest/googletest/test/
H A Dgoogletest-json-output-unittest.py34 import errno namespace
509 if e.errno != errno.ENOENT:
H A Dgtest_xml_output_unittest.py35 import errno namespace
270 if e.errno != errno.ENOENT:
/freebsd-head/sys/contrib/zlib/
H A Dzutil.c141 * errno. We define it as a global variable to simplify porting.
144 int errno = 0; variable
/freebsd-head/contrib/sendmail/src/
H A Derr.c70 ** - syserr decides what class of error this is by looking at errno.
77 errno = ENOMEM;
94 ** reply code defaults to 451 or 554, depending on errno.
129 int save_errno = errno;
254 errno = 0;
459 errno = 0; local
516 errno = 0; local
616 errno = 0; local
761 shortenstring(msg, MAXSHORTSTR), sm_errstring(errno));

Completed in 369 milliseconds

12