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

1234567891011>>

/osnet-11/usr/src/lib/libc/sparc/gen/
H A Dsparc_data.s32 .global errno
33 .common errno,4,4
/osnet-11/usr/src/lib/libc/sparcv9/gen/
H A Dsparc_data.s32 .global errno
33 .common errno,4,4
/osnet-11/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...]
/osnet-11/usr/src/lib/libc/amd64/gen/
H A Damd64_data.s30 / global symbol errno
32 / int errno;
34 .globl errno
35 .comm errno,4
/osnet-11/usr/src/lib/libc/i386/gen/
H A Di386_data.s33 / global symbol errno
35 / int errno;
37 .globl errno
38 .comm errno,4
/osnet-11/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;
/osnet-11/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...]
H A Dm_pathma.c46 #include <errno.h>
61 * or -1 and errno is set if there's a problem with 'path'
72 errno = 0;
75 if (errno == 0) {
89 /* ASSUME: cannot get errno = EINVAL because PC_PATH_MAX * must be supported, and must
95 if (errno == EINVAL) {
97 printf("pathconf() = -1 and errno = EINVAL\n");
125 printf("errno = %d (%s)\n", errno, strerror(errno));
[all...]
/osnet-11/usr/src/lib/libpower/common/
H A Dpm_kernel.c37 #include <errno.h>
69 errno = 0;
73 (errno == EOVERFLOW || errno == EINTR)) {
78 if (config.size == 0 && errno == EOVERFLOW) {
83 errno = EINVAL;
91 __FUNCTION__, config.size, errno,
92 strerror(errno));
99 * errno, and try to get the properties again.
102 errno
[all...]
H A Dlibpower_subr.c88 errno = 0;
90 errno = EINVAL;
97 errno = nvlist_alloc(result, NV_UNIQUE_NAME, 0);
98 if (errno != 0) {
107 errno = nvlist_lookup_nvlist(rp, propname, &nvl);
108 if (errno != 0 || nvl == NULL) {
132 errno = 0;
152 errno = nvlist_alloc(&plist, NV_UNIQUE_NAME, 0);
153 if (errno != 0) {
158 errno
[all...]
/osnet-11/usr/src/lib/pyzfs/common/
H A Dutil.py29 import errno namespace
36 errno.ECANCELED = 47
37 errno.ENOTSUP = 48
63 errno -- the error number (eg, from ioctl(2))."""
65 __slots__ = "why", "task", "errno"
70 eno -- the error number (errno)
75 self.errno = eno
90 errno.EPERM: _("permission denied"),
91 errno.ECANCELED:
93 errno
[all...]
/osnet-11/usr/src/lib/libwrap/
H A Dpercent_m.c18 #include <errno.h>
21 extern int errno;
38 if (errno < sys_nerr && errno > 0) {
39 strcpy(bp, sys_errlist[errno]);
41 sprintf(bp, "Unknown error %d", errno);
/osnet-11/usr/src/lib/libmapmalloc/common/
H A Dvalloc.c30 #include <errno.h>
52 errno = EINVAL;
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/et/
H A Dinternal.h6 #include <errno.h>
/osnet-11/usr/src/lib/libc/port/gen/
H A Dkillpg.c41 #include <errno.h>
47 * errno is set by kill()
50 errno = ESRCH;
H A Draise.c37 #include <errno.h>
47 errno = error;
H A Disastream.c34 * Return 1 with errno set to 0 if it is. Otherwise,
35 * return 0 with errno set to 0.
45 #include <errno.h>
54 if (rval == -1 && errno == EBADF)
57 errno = 0;
H A Disatty.c37 #include <errno.h>
49 err = errno;
51 errno = err;
H A Dmkdev.c35 #include <errno.h>
47 errno = EINVAL;
56 errno = EINVAL;
62 errno = EINVAL;
68 errno = EINVAL;
74 errno = EINVAL;
93 errno = EINVAL;
101 errno = EINVAL;
106 errno = EINVAL;
113 errno
[all...]
/osnet-11/usr/src/lib/libparted/common/lib/
H A Dclose-stream.c22 #include <errno.h>
31 /* Close STREAM. Return 0 if successful, EOF (setting errno)
32 otherwise. A failure might set errno to 0 if the error number
35 A failure with errno set to EPIPE may or may not indicate an error
70 if (prev_fail || (fclose_fail && (some_pending || errno != EBADF)))
73 errno = 0;
/osnet-11/usr/src/lib/libfsmgt/common/
H A Dsys_info.c31 #include <errno.h>
46 *errp = errno;
52 *errp = errno;
/osnet-11/usr/src/lib/libnsl/nsl/
H A Dt_open.c38 #include <errno.h>
79 sv_errno_global = errno;
85 if (_T_IS_XTI(api_semantics) && errno == ENOENT)
95 } while (retval < 0 && errno == EINTR);
98 sv_errno = errno;
102 errno = sv_errno;
116 } while (retval < 0 && errno == EINTR);
119 int sv_errno = errno;
123 errno = sv_errno;
154 errno
[all...]
/osnet-11/usr/src/cmd/sendmail/db/hsearch/
H A Dhsearch.c56 #include <errno.h>
77 errno = db_open(NULL,
79 return (errno == 0 ? 1 : 0);
90 errno = EINVAL;
107 if ((errno =
110 if (errno != DB_KEYEXIST)
112 if ((errno = dbp->get(dbp, NULL, &key, &val, 0)) == 0)
115 if (errno == DB_NOTFOUND) /* XXX: can't happen. */
116 errno = EINVAL;
119 if ((errno
[all...]

Completed in 76 milliseconds

1234567891011>>