Searched refs:errno (Results 126 - 150 of 4642) sorted by relevance

1234567891011>>

/freebsd-11-stable/tools/regression/capsicum/syscalls/
H A Dcap_fcntls_limit.c40 #include <errno.h>
68 errno = 0;
70 CHECK(errno == EINVAL);
96 errno = 0;
98 CHECK(errno == ENOTCAPABLE);
110 errno = 0;
112 CHECK(errno == ENOTCAPABLE);
114 errno = 0;
116 CHECK(errno == ENOTCAPABLE);
123 errno
[all...]
/freebsd-11-stable/usr.sbin/bsnmpd/tools/libbsnmptools/
H A Dbsnmptc.c41 #include <errno.h>
170 syslog(LOG_ERR, "malloc failed - %s", strerror(errno));
271 syslog(LOG_ERR, "malloc failed: %s", strerror(errno));
350 saved_errno = errno;
351 errno = 0;
356 errno = saved_errno;
366 saved_errno = errno;
367 errno = 0;
369 if (errno != 0)
372 errno
[all...]
/freebsd-11-stable/contrib/gdb/gdb/
H A Dm2-typeprint.c31 #include <errno.h>
/freebsd-11-stable/contrib/blacklist/port/
H A D_strtoi.h64 serrno = errno;
65 errno = 0;
69 *rstatus = errno;
70 errno = serrno;
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/pyzfs/
H A Dpyzfs.py38 import errno
70 import errno
73 if e.errno == errno.EPIPE:
/freebsd-11-stable/contrib/xz/src/common/
H A Dtuklib_progname.h17 #include <errno.h>
/freebsd-11-stable/contrib/openbsm/bin/auditdistd/
H A Dopenat.h47 error = errno;
49 errno = error;
66 error = errno;
69 errno = error;
/freebsd-11-stable/gnu/usr.bin/grep/
H A Dcloseout.c38 #include <errno.h>
39 #ifndef errno
40 extern int errno;
104 e = errno;
/freebsd-11-stable/share/examples/sunrpc/dir/
H A Ddir_proc.c9 extern int errno;
28 res.errno = errno;
52 res.errno = 0;
H A Drls.c9 extern int errno;
64 if (result->errno != 0) {
69 errno = result->errno;
/freebsd-11-stable/contrib/amd/conf/umount/
H A Dumount_bsd44.c59 error = errno;
82 error = errno;
108 if (error < 0 && (errno == EINVAL || errno == ENOENT))
/freebsd-11-stable/usr.bin/sort/
H A Dmem.h35 #include <errno.h>
/freebsd-11-stable/usr.bin/getconf/
H A Dgetconf.c36 #include <errno.h>
162 errno = 0;
164 if (len == 0 && errno != 0) {
184 errno = 0;
186 if (value == -1 && errno != 0) {
210 errno = 0;
212 if (value == -1 && errno != EINVAL && errno != 0)
234 savederr = errno;
235 errno
[all...]
/freebsd-11-stable/stand/libsa/
H A Dwrite.c76 errno = EBADF;
81 errno = (f->f_dev->dv_strategy)(f->f_devdata, F_WRITE,
84 if (errno)
90 if ((errno = (f->f_ops->fo_write)(f, dest, bcount, &resid)))
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_errno.cpp11 // Defines errno to avoid including errno.h and its dependencies into other
19 #include <errno.h>
/freebsd-11-stable/contrib/libstdc++/config/locale/generic/
H A Dc_locale.cc37 #include <cerrno> // For errno
55 errno = 0;
66 errno = ERANGE;
69 errno = ERANGE;
72 errno = ERANGE;
75 errno = ERANGE;
78 if (__sanity != __s && errno != ERANGE)
92 errno = 0;
97 if (__sanity != __s && errno != ERANGE)
111 errno
[all...]
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/sys/
H A Dt_unlink.c37 #include <errno.h>
65 errno = 0;
87 errno = 0;
94 errno = 0;
97 errno = 0;
118 errno = 0;
138 errno = 0;
140 ATF_REQUIRE_MSG(rv == -1 && (errno == EACCES || errno == EPERM),
142 "unlink() returned %d, errno
[all...]
/freebsd-11-stable/usr.sbin/bluetooth/sdpd/
H A Dmain.c37 #include <errno.h>
106 strerror(errno), errno);
118 strerror(errno), errno);
125 strerror(errno), errno);
196 group, strerror(errno), errno);
202 user, strerror(errno), errn
[all...]
/freebsd-11-stable/tests/sys/posixshm/
H A Dposixshm_test.c37 #include <errno.h>
58 "mkstemp failed; errno=%d", errno); local
60 "unlink failed; errno=%d", errno); local
73 ATF_CHECK_MSG(error == errno,
74 "shm_open didn't fail with expected errno; errno=%d; expected "
75 "errno=%d", errno, erro
122 errno); local
146 errno); local
149 "shm_unlink failed; errno=%d", errno); local
175 errno); local
178 "shm_unlink failed; errno=%d", errno); local
205 "shm_unlink failed; errno=%d", errno); local
220 errno); local
308 "shm_unlink failed; errno=%d", errno); local
325 "fstat(1) failed; errno=%d", errno); local
333 "fstat(2) failed; errno=%d", errno); local
338 "shm_unlink failed; errno=%d", errno); local
393 errno); local
544 "shm_unlink failed; errno=%d", errno); local
556 "sigaction failed; errno=%d", errno); local
561 "sigprocmask failed; errno=%d", errno); local
608 errno); local
[all...]
/freebsd-11-stable/contrib/mdocml/
H A Dcompat_reallocarray.c28 #include <errno.h>
43 errno = ENOMEM;
/freebsd-11-stable/contrib/ngatm/libngatm/
H A Dcccust.h41 #include <errno.h>
49 #define CCGETERRNO() (errno)
/freebsd-11-stable/contrib/ntp/lib/isc/win32/
H A Dstdio.c23 #include <errno.h>
35 return (isc__errno2result(errno));
48 return (isc__errno2result(errno));
59 return (isc__errno2result(errno));
73 result = isc__errno2result(errno);
90 result = isc__errno2result(errno);
104 return (isc__errno2result(errno));
115 return (isc__errno2result(errno));
/freebsd-11-stable/contrib/gcclibs/libiberty/
H A Dxstrerror.c22 # include <errno.h>
63 pass it unconditionally. `vaxc$errno' is declared in <errno.h>
64 and maintained by the run-time library in parallel to `errno'.
66 errno by the run-time library, hence vaxc$errno will be relevant. */
67 errstr = (*vmslib_strerror) (errnum, vaxc$errno);
/freebsd-11-stable/contrib/gcc/config/i386/
H A Dgmm_malloc.h31 #include <errno.h>
42 errno = EINVAL;
/freebsd-11-stable/contrib/binutils/libiberty/
H A Dxstrerror.c22 # include <errno.h>
63 pass it unconditionally. `vaxc$errno' is declared in <errno.h>
64 and maintained by the run-time library in parallel to `errno'.
66 errno by the run-time library, hence vaxc$errno will be relevant. */
67 errstr = (*vmslib_strerror) (errnum, vaxc$errno);

Completed in 206 milliseconds

1234567891011>>