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

1234567891011>>

/freebsd-11.0-release/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.0-release/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.0-release/sys/boot/efi/libefi/
H A Derrno.c28 __FBSDID("$FreeBSD: releng/11.0/sys/boot/efi/libefi/errno.c 164010 2006-11-05 22:03:04Z marcel $");
36 int errno; local
40 errno = EPERM;
44 errno = EOVERFLOW;
49 errno = EIO;
53 errno = EINVAL;
57 errno = ESTALE;
61 errno = ENXIO;
65 errno = ENOENT;
69 errno
[all...]
/freebsd-11.0-release/lib/libc/gen/
H A Derrno.c28 __FBSDID("$FreeBSD: releng/11.0/lib/libc/gen/errno.c 104704 2002-10-09 08:04:24Z peter $");
30 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.0-release/contrib/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_syscall_generic.inc29 *rverrno = errno;
/freebsd-11.0-release/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;
H A Dmatherr.c25 #include <errno.h>
36 errno = EDOM;
42 errno = ERANGE;
/freebsd-11.0-release/crypto/openssh/openbsd-compat/
H A Dbsd-setres_id.c36 errno = ENOSYS;
41 saved_errno = errno;
42 error("setregid %u: %.100s", rgid, strerror(errno));
43 errno = saved_errno;
48 saved_errno = errno;
49 error("setegid %u: %.100s", (u_int)egid, strerror(errno));
50 errno = saved_errno;
54 saved_errno = errno;
55 error("setgid %u: %.100s", rgid, strerror(errno));
56 errno
[all...]
/freebsd-11.0-release/lib/libcasper/libcasper/
H A Dlibcasper_impl.c33 #include <errno.h>
43 return (fcntl(fd, F_GETFL) != -1 || errno != EBADF);
/freebsd-11.0-release/contrib/elftoolchain/libpe/
H A Dpe_cntl.c27 #include <errno.h>
38 errno = EINVAL;
49 errno = EACCES;
57 errno = EINVAL;
/freebsd-11.0-release/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.0-release/lib/libstand/
H A Dfstat.c47 errno = EBADF;
53 errno = EOPNOTSUPP;
57 errno = (f->f_ops->fo_stat)(f, sb);
58 if (errno)
H A Dioctl.c77 errno = EBADF;
81 errno = (f->f_dev->dv_ioctl)(f, cmd, arg);
82 if (errno)
86 errno = EIO;
H A Dreaddir.c40 errno = EBADF;
44 errno = EIO;
47 errno = (f->f_ops->fo_readdir)(f, &dir);
48 if (errno)
/freebsd-11.0-release/cddl/contrib/opensolaris/lib/pyzfs/common/
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...]
/freebsd-11.0-release/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.0-release/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.0-release/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.0-release/lib/libc/sys/
H A D__error.c35 extern int errno;
41 return (&errno);
/freebsd-11.0-release/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.0-release/libexec/rtld-elf/tests/libpythagoras/
H A Dpythagoras.c28 #include <errno.h>
38 errno = ERANGE;
/freebsd-11.0-release/lib/libnv/
H A Dcommon_impl.h35 #define fd_is_valid(fd) (fcntl((fd), F_GETFL) != -1 || errno != EBADF)
/freebsd-11.0-release/tools/regression/capsicum/syscalls/
H A Dmisc.h36 int _serrno = errno; \
39 errno = _serrno; \
42 int _serrno = errno; \
45 errno = _serrno; \

Completed in 219 milliseconds

1234567891011>>