Searched refs:errno (Results 1 - 25 of 4642) sorted by relevance

1234567891011>>

/freebsd-11-stable/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-11-stable/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-11-stable/lib/libc/gen/
H A Derrno.c30 int errno; variable
H A Dpmadvise.c11 #include <errno.h>
18 saved_errno = errno;
20 ret = errno;
21 errno = saved_errno;
H A Dnice.c39 #include <errno.h>
50 saverrno = errno;
51 errno = 0;
53 if (prio == -1 && errno != 0)
56 if (errno == EACCES)
57 errno = EPERM;
60 errno = saverrno;
/freebsd-11-stable/contrib/mdocml/
H A Dtest-EFTYPE.c1 #include <errno.h>
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_allocator_checks.cpp19 errno = errno_ENOMEM;
H A Dsanitizer_syscall_generic.inc33 *rverrno = errno;
/freebsd-11-stable/contrib/groff/src/libs/libgroff/
H A Dgetcwd.c24 #include <errno.h>
33 errno = EINVAL;
38 int saved_errno = errno;
40 errno = 0;
42 if (errno == 0)
46 errno = saved_errno;
48 errno = ERANGE;
/freebsd-11-stable/cddl/lib/libdtrace/
H A Derrno.d25 * $FreeBSD: stable/11/cddl/lib/libdtrace/errno.d 333617 2018-05-15 00:00:44Z dteske $
242 * Error strings from <sys/errno.h>
245 inline string strerror[int errno] =
246 errno == 0 ? "Success" :
247 errno == EPERM ? "Operation not permitted" :
248 errno == ENOENT ? "No such file or directory" :
249 errno == ESRCH ? "No such process" :
250 errno == EINTR ? "Interrupted system call" :
251 errno == EIO ? "Input/output error" :
252 errno
[all...]
/freebsd-11-stable/crypto/openssh/openbsd-compat/
H A Dbsd-setres_id.c34 errno = ENOSYS;
39 saved_errno = errno;
40 error("setregid %u: %.100s", rgid, strerror(errno));
41 errno = saved_errno;
46 saved_errno = errno;
47 error("setegid %u: %.100s", (u_int)egid, strerror(errno));
48 errno = saved_errno;
52 saved_errno = errno;
53 error("setgid %u: %.100s", rgid, strerror(errno));
54 errno
[all...]
/freebsd-11-stable/stand/efi/libefi/
H A Derrno.c28 __FBSDID("$FreeBSD: stable/11/stand/efi/libefi/errno.c 329114 2018-02-11 02:27:50Z kevans $");
34 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
[all...]
/freebsd-11-stable/contrib/elftoolchain/libpe/
H A Dpe_cntl.c27 #include <errno.h>
38 errno = EINVAL;
49 errno = EACCES;
57 errno = EINVAL;
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/safety/
H A Dtst.errno.d31 * collect errno at every fbt probe and at every firing of a
37 @a[errno] = count();
42 @a[errno] = count();
/freebsd-11-stable/stand/libsa/
H A Dfstat.c47 errno = EBADF;
53 errno = EOPNOTSUPP;
57 errno = (f->f_ops->fo_stat)(f, sb);
58 if (errno)
/freebsd-11-stable/contrib/elftoolchain/libelftc/
H A Delftc_timestamp.c30 #include <errno.h>
42 errno = 0;
45 errno = EINVAL;
47 errno = ERANGE;
48 if (errno != 0)
/freebsd-11-stable/cddl/contrib/opensolaris/lib/pyzfs/common/
H A Dutil.py29 import errno
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...]
/freebsd-11-stable/contrib/tcp_wrappers/
H A Dpercent_m.c12 #include <errno.h>
15 extern int errno;
32 if (errno < sys_nerr && errno > 0) {
33 strcpy(bp, sys_errlist[errno]);
35 sprintf(bp, "Unknown error %d", errno);
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/builtinvar/
H A Dtst.errno1.d31 * To print errno and make sure it succeeds.
41 printf("the errno = %d\n", errno);
/freebsd-11-stable/contrib/apr/threadproc/unix/
H A Dprocsup.c22 return errno;
49 return errno;
53 return errno;
59 return errno;
65 return errno;
73 return errno;
80 return errno;
95 errno = ECHILD;
/freebsd-11-stable/lib/libc/sys/
H A D__error.c35 extern int errno;
41 return (&errno);
/freebsd-11-stable/lib/libutil/
H A Dexpand_number.c33 #include <errno.h>
47 serrno = errno;
48 errno = 0;
51 errno = ERANGE;
52 if (errno != 0)
54 errno = serrno;
82 errno = EINVAL;
88 errno = ERANGE;
/freebsd-11-stable/libexec/rtld-elf/tests/libpythagoras/
H A Dpythagoras.c28 #include <errno.h>
38 errno = ERANGE;
/freebsd-11-stable/sys/compat/linux/
H A Dlinux_errno.c4 #include <sys/errno.h>
/freebsd-11-stable/lib/libnv/
H A Dcommon_impl.h35 #define fd_is_valid(fd) (fcntl((fd), F_GETFL) != -1 || errno != EBADF)

Completed in 442 milliseconds

1234567891011>>