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

1234567891011>>

/illumos-gate/usr/src/lib/libc/sparc/gen/
H A Dsparc_data.s32 .global errno
33 .common errno,4,4
/illumos-gate/usr/src/lib/libc/sparcv9/gen/
H A Dsparc_data.s32 .global errno
33 .common errno,4,4
/illumos-gate/usr/src/lib/libast/common/comp/
H A Derrno.c28 NoN(errno)
35 * errno in the same .o
38 int errno;
H A Drename.c45 oerrno = errno;
54 errno = oerrno;
58 errno = EPERM;
70 ooerrno = errno;
74 if (errno == EPERM)
76 errno = ooerrno;
80 oerrno = errno;
84 if (errno == EPERM)
86 errno = ooerrno;
90 errno
[all...]
/illumos-gate/usr/src/lib/libc/amd64/gen/
H A Damd64_data.s30 / global symbol errno
32 / int errno;
34 .globl errno
35 .comm errno,4
/illumos-gate/usr/src/lib/libc/i386/gen/
H A Di386_data.s33 / global symbol errno
35 / int errno;
37 .globl errno
38 .comm errno,4
/illumos-gate/usr/src/cmd/mdb/common/libstand/
H A Derrno.c30 #include <errno.h>
32 int errno; variable
/illumos-gate/usr/src/stand/lib/sa/
H A Derrno.h33 * Exported interfaces for standalone's subset of libc's <errno.h>.
37 #include <sys/errno.h>
43 extern int errno;
H A Derrno.c30 #include <errno.h>
32 int errno; variable
/illumos-gate/usr/src/boot/include/
H A Derrno.h3 #include <sys/errno.h>
/illumos-gate/usr/src/lib/libc/port/sys/
H A Dposix_sigwait.c31 #include <errno.h>
43 int oerrno = errno;
45 errno = 0;
47 if (errno == 0)
48 errno = EINVAL;
50 nerrno = errno;
52 errno = oerrno;
H A Dset_errno.c30 #include <errno.h>
35 * the global (or per-thread) errno. It returns the mapped error number.
38 * set errno and does not deal with ERESTART; it just returns the error
46 errno = error;
/illumos-gate/usr/src/compat/bhyve/sys/
H A Derrno.h22 #define errno (*(___errno())) macro
25 #include_next <sys/errno.h>
/illumos-gate/usr/src/cmd/fm/modules/sun4v/cpumem-retire/
H A Dcma_page_sun4v.c27 #include <errno.h>
38 errno = ldom_fmri_status(cma_lhp, nvl);
40 if (errno == 0 || errno == EINVAL)
42 if (errno == EAGAIN)
52 errno = ldom_fmri_retire(cma_lhp, nvl);
54 if (errno == 0 || errno == EIO || errno == EINVAL)
56 if (errno
[all...]
/illumos-gate/usr/src/ucblib/libucb/port/gen/
H A Dnice.c47 #include <errno.h>
58 serrno = errno;
59 errno = 0;
61 if (prio == -1 && errno)
65 errno = serrno;
/illumos-gate/usr/src/head/
H A Derrno.h39 #include <sys/errno.h>
54 #define errno (*(___errno())) macro
56 extern int errno;
57 /* ANSI C++ requires that errno be a macro */
59 #define errno errno macro
/illumos-gate/usr/src/cmd/lp/lib/msgs/
H A Dmopen.c33 # include <errno.h>
50 errno = EEXIST;
H A Dmrecv.c28 # include <errno.h>
51 while (n < 0 && errno == EINTR);
56 if (errno == EPIPE)
57 errno = EIDRM;
H A Dmsend.c28 # include <errno.h>
58 if (errno == EPIPE)
62 errno = EIDRM;
66 while (rval < 0 && errno == EINTR);
/illumos-gate/usr/src/boot/sys/boot/efi/libefi/
H A Derrno.c33 errno_to_efi_status(int errno) argument
37 switch (errno) {
98 int errno; local
102 errno = EPERM;
106 errno = EOVERFLOW;
111 errno = EIO;
115 errno = EINVAL;
119 errno = ESTALE;
123 errno = ENXIO;
127 errno
[all...]
/illumos-gate/usr/src/lib/libxcurses/src/libc/mks/
H A Dm_malloc.c31 * Ensure that errno is set if malloc() fails.
43 #include <errno.h>
52 #undef m_malloc /* in case <mks.h> included in <errno.h> or <stdlib.h> */
58 * then return ENOMEM unless malloc() sets errno for us on this system
70 * ANSI does not insist setting errno when malloc() fails.
72 * an errno when malloc() fails.
73 * Thus, on systems that implement malloc() where an errno is not
76 * Note: we don't care about previous value of errno since
77 * POSIX.1 (Section 2.4) says you can only look at errno
79 * (and the function explicitly states an errno valu
[all...]
/illumos-gate/usr/src/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();
/illumos-gate/usr/src/cmd/keyserv/
H A Ddomainname.c46 #include <errno.h>
54 errno = 0;
60 myerrno = errno;
65 myerrno = errno;
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dgetentropy.c20 #include <errno.h>
29 errno = EIO;
35 if (errno != EFAULT)
36 errno = EIO;
/illumos-gate/usr/src/boot/lib/libstand/
H A Dfstat.c44 errno = EBADF;
50 errno = EOPNOTSUPP;
54 errno = (f->f_ops->fo_stat)(f, sb);
55 if (errno)

Completed in 757 milliseconds

1234567891011>>