Searched defs:errno (Results 1 - 25 of 92) sorted by path

1234

/illumos-gate/usr/src/boot/lib/libstand/
H A Dglobals.c36 int errno; /* our old friend */ variable
H A Dnfs.c97 uint32_t errno; member in struct:nfsv3_readdir_repl
157 errno = 0;
159 if (errno != 0 || *env == '\0' || *end != '\0') {
193 uint32_t errno; member in struct:repl
224 /* errno was set by rpc_call */
225 return (errno);
231 if (repl->errno != 0) {
233 return (ntohl(repl->errno));
258 uint32_t errno; member in struct:repl
293 return (errno); /* XX
328 uint32_t errno; member in struct:repl
398 uint32_t errno; member in struct:repl
[all...]
/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/boot/sys/sys/
H A Derrno.h34 * @(#)errno.h 8.5 (Berkeley) 1/21/94
46 #define errno (* __error()) macro
184 #define ELAST 96 /* Must be equal largest errno */
/illumos-gate/usr/src/cmd/auditreduce/
H A Dtoken.c730 * errno adr_int32
736 int32_t errno; local
739 adrm_int32(adr, &errno, 1);
/illumos-gate/usr/src/cmd/bnu/
H A Danlwrk.c100 errent(Ct_OPEN,file,errno, __FILE__, __LINE__);
133 ASSERT(unlink(file) == 0, Ct_UNLINK, file, errno); local
157 errent(Ct_OPEN, afile, errno, __FILE__, __LINE__);
214 ASSERT(chdir(newspool) == 0, Ct_CHDIR, newspool, errno); local
H A Dcpmv.c76 DEBUG(5, "open of file returned errno %d\n", errno);
98 DEBUG(5, "rename failed: errno %d\n", errno);
152 ASSERT(unlink(file) == 0, Ct_UNLINK, file, errno); local
H A Dgename.c123 ASSERT(fp != NULL, Ct_OPEN, seqfile, errno);
128 Ct_CREATE, seqfile, errno);
136 ASSERT(ferror(fp) == 0, Ct_WRITE, seqfile, errno); local
138 ASSERT(ferror(fp) == 0, Ct_CLOSE, seqfile, errno); local
H A Dgtcfile.c204 ASSERT(xmv(wfile1, cmitfile) == 0, Ct_LINK, cmitfile, errno); local
H A Duucico.c278 ASSERT(chdir(Spool) == 0, Ct_CHDIR, Spool, errno); local
290 errent(Ct_OPEN, RMTDEBUG, errno, __FILE__, __LINE__);
994 sprintf(msgbuf, "Execlp of %s failed with errno=%%d\n",
996 DEBUG(4, msgbuf, errno);
998 cleanup(errno);
1001 cleanup(errno);
1004 if (waitrv == -1 && errno != EINTR)
1005 cleanup(errno);
H A Duux.c37 ASSERT(fprintf(f, "S %s %s %s -%s %s 0666 %s %s\n", a, b, User, _Statop?"o":"", c, User, _Sfile) >= 0, Ct_WRITE, "", errno);\
43 >= 0, Ct_WRITE, "", errno);\
387 ASSERT(access(cfile, 0) != 0, Fl_EXISTS, cfile, errno);
389 ASSERT(ret >= 0 && fpc != NULL, Ct_OPEN, cfile, errno);
404 ASSERT(access(rxfile, 0) != 0, Fl_EXISTS, rxfile, errno);
406 ASSERT(ret >= 0 && fprx != NULL, Ct_WRITE, rxfile, errno);
456 ASSERT(access(dfile, 0) != 0, Fl_EXISTS, dfile, errno);
458 ASSERT(ret >= 0 && fpd != NULL, Ct_OPEN, dfile, errno);
466 dfile, errno);
468 ASSERT(fflush(fpd) != EOF && ferror(fpd) == 0, Ct_WRITE, dfile, errno); local
756 ASSERT(fflush(fp) != EOF && ferror(fp) == 0, Ct_WRITE, dfile, errno); local
831 ASSERT(fflush(fp) != EOF && ferror(fp) == 0, Ct_WRITE, dfile, errno); local
849 ASSERT(fflush(fp) != EOF && ferror(fp) == 0, Ct_WRITE, t2file, errno); local
887 ASSERT(fflush(fprx) != EOF && ferror(fprx) == 0, Ct_WRITE, rxfile, errno); local
912 ASSERT(fflush(fpc) != EOF && ferror(fpc) == 0, Ct_WRITE, cfile, errno); local
[all...]
H A Duuxqt.c186 ASSERT(fp1 != NULL, Ct_OPEN, Spool, errno);
483 ASSERT(xmv(ffile, tfull) == 0, "XMV ERROR", tfull, errno); local
527 ASSERT(xmv(tfull, ffull) == 0, "XMV ERROR", ffull, errno); local
810 if (ret == -1 && errno != EINTR)
856 ASSERT(xfp != NULL, Ct_OPEN, _Xfile, errno);
1127 ASSERT(chdir(XQTDIR) == 0, Ct_CHDIR, XQTDIR, errno); local
1145 errent(Ct_FORK, buf, errno, __FILE__, __LINE__);
1215 ASSERT(ret >= 0 && fp != NULL, Ct_OPEN, cfile, errno);
1262 ASSERT(ret >= 0 && fp != NULL, Ct_OPEN, cfile, errno);
1298 ASSERT(xfp != NULL, Ct_OPEN, _Xfile, errno);
[all...]
/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Dautod_nfs.c55 #include <errno.h>
1561 if ((errno = fhs.fhs_status) != MNT_OK) {
1574 if (errno == EACCES) {
1585 errno, host, dir);
1651 if ((errno = res3.fhs_status) != MNT_OK) {
1664 if (errno == EACCES) {
1675 errno, host, dir);
2347 mnttabtext, mntpnt, errno);
2348 if (errno != EBUSY || verbose)
3573 if (errno)
3956 int errno, bufsz; local
[all...]
/illumos-gate/usr/src/cmd/fs.d/nfs/mount/
H A Dmount.c55 #include <errno.h>
777 if (errno != ENOENT) {
779 mntp->mnt_mountp, strerror(errno));
782 if (stat(mntp->mnt_mountp, &sb) < 0 && errno == ENOENT)
2187 if ((errno = fhs.fhs_status) != MNT_OK) {
2189 if (errno == EACCES) {
2195 fspath, errno >= 0 ?
2196 strerror(errno) : "invalid error "
2210 if (!errno && posix) {
2259 if ((errno
2621 int errno; local
[all...]
/illumos-gate/usr/src/cmd/ldap/common/
H A Dcommon.c1608 int rc, lderr, errno; local
1641 errno = 0;
1643 if ( pw_secs > 0 && errno != ERANGE ) {
/illumos-gate/usr/src/cmd/mdb/common/libstand/
H A Derrno.c30 #include <errno.h>
32 int errno; variable
/illumos-gate/usr/src/cmd/pyzfs/
H A Dpyzfs.py38 import errno namespace
74 import errno namespace
77 if e.errno == errno.EPIPE:
/illumos-gate/usr/src/cmd/sendmail/src/
H A Derr.c72 ** - syserr decides what class of error this is by looking at errno.
79 errno = ENOMEM;
96 ** reply code defaults to 451 or 554, depending on errno.
131 int save_errno = errno;
256 errno = 0;
460 errno = 0; local
514 errno = 0; local
659 shortenstring(msg, MAXSHORTSTR), sm_errstring(errno));
/illumos-gate/usr/src/cmd/sgs/rtld/common/
H A Dutil.c3151 int err = errno;
3170 err = errno;
3179 err = errno;
3700 * _REENTRANT code gets errno redefined to a function so provide for return
3701 * of the thread errno if applicable. This has no meaning in ld.so.1 which
3704 #undef errno macro
3708 extern int errno;
3710 return (&errno);
3735 extern int errno;
3743 errno
[all...]
/illumos-gate/usr/src/cmd/smserverd/
H A Dsmediad.c29 #include <errno.h>
309 errno = EINVAL;
316 errno = EINVAL;
326 errno = EINVAL;
354 debug(5, "Read capacity : %d - %d errno = %d\n",
355 ret_val, ucmd.uscsi_status, errno);
480 errno = 0;
485 if (!errno)
486 errno = EIO;
533 "%d errno
1423 door_dp->dd_ddoor_descriptor, errno); local
1468 door_dp->dd_cdoor_descriptor, errno); local
[all...]
/illumos-gate/usr/src/cmd/svc/svcadm/
H A Dsvcadm.c50 #include <errno.h>
477 int fd, errno, ret; local
484 if ((errno = ct_status_read(fd, CTD_ALL, &st)) != 0)
486 "%ld: %s.\n"), ct, strerror(errno));
488 if ((errno = ct_pr_status_get_svc_fmri(st, &ct_fmri)) != 0)
490 "%ld: %s.\n"), ct, strerror(errno));
2223 (void) fprintf(stderr, ": %s\n", strerror(errno));
/illumos-gate/usr/src/cmd/svc/svccfg/
H A Dsvccfg_xml.c44 #include <errno.h>
557 errno = 0;
559 if (errno != 0 || endptr == (char *)value || *endptr)
563 (errno) ? strerror(errno) :
567 errno = 0;
569 if (errno != 0 || *endptr)
573 (errno) ? strerror(errno) : "Illegal character");
1090 errno
3486 errno); local
[all...]
/illumos-gate/usr/src/cmd/svr4pkg/libinst/
H A Deptstat.c32 #include <errno.h>
50 #define ERR_MEMORY "memory allocation failure, errno=%d"
118 progerr(gettext(ERR_MEMORY), errno); local
H A Dflex_dev.c34 #include <errno.h>
39 #define ERR_CHDIR "unable to chdir back to <%s>, errno=%d"
41 "errno=%d"
60 progerr(gettext(ERR_GETCWD), errno); local
66 progerr(gettext(ERR_CHDIR), cwd, errno); local
H A Dpathdup.c36 #include <errno.h>
42 #define ERR_MEMORY "memory allocation failure, errno=%d"
95 progerr(gettext(ERR_MEMORY), errno); local

Completed in 162 milliseconds

1234