Searched refs:errno (Results 201 - 225 of 3821) sorted by relevance

1234567891011>>

/freebsd-9.3-release/lib/libstand/
H A Dclose.c75 errno = EBADF;
88 errno = err1;
92 errno = err2;
/freebsd-9.3-release/sys/boot/i386/libi386/
H A Di386_copy.c44 errno = EFBIG;
56 errno = EFBIG;
70 errno = EFBIG;
/freebsd-9.3-release/tools/regression/lib/libc/stdio/
H A Dtest-getdelim.c32 #include <errno.h>
89 errno = 0;
111 assert(errno == 0);
116 errno = 0;
118 assert(errno == EBADF);
119 errno = 0;
121 assert(errno == EBADF);
128 assert(errno == EINVAL);
130 assert(errno == EINVAL);
136 errno
[all...]
/freebsd-9.3-release/tools/tools/aac/
H A Daac_checkq.c34 #include <errno.h>
66 printf("couldn't open aac0: %s\n", strerror(errno));
76 printf("error on ioctl: %s\n", strerror(errno));
/freebsd-9.3-release/tools/tools/mfi/
H A Dmfi_checkq.c37 #include <errno.h>
63 printf("couldn't open mfi0: %s\n", strerror(errno));
73 printf("error on ioctl: %s\n", strerror(errno));
/freebsd-9.3-release/usr.sbin/procctl/
H A Dprocctl.c46 #include <errno.h>
67 if (errno == ENOENT)
74 if (ioctl(fd, PIOCCONT, 0) == -1 && errno != EINVAL)
/freebsd-9.3-release/usr.sbin/sysinstall/
H A Dufs.c61 msgConfirm("Error mounting %s on %s: %s (%u)", args.fspec, mountpoint, strerror(errno), errno);
81 mountpoint, strerror(errno));
/freebsd-9.3-release/contrib/cvs/lib/
H A Dgetline.c24 #include <errno.h>
45 should check feof(), if not then errno has been set to indicate the
63 errno = EINVAL;
73 errno = ENOMEM;
99 save_errno = errno;
117 errno = ENOMEM;
127 place for us to store errno. And we don't want to just
128 lose errno. */
129 errno = save_errno;
/freebsd-9.3-release/contrib/libstdc++/config/locale/gnu/
H A Dc_locale.cc37 #include <cerrno> // For errno
51 errno = 0;
53 if (__sanity != __s && errno != ERANGE)
65 errno = 0;
67 if (__sanity != __s && errno != ERANGE)
79 errno = 0;
87 if (__sanity != __s && errno != ERANGE)
/freebsd-9.3-release/contrib/sendmail/libsm/
H A Dfclose.c17 #include <errno.h>
68 ** -1 on failure and sets errno
84 errno = EBADF;
94 errno = EBADF;
100 errno = ENODEV;
115 errno = EAGAIN;
127 errno = EAGAIN;
/freebsd-9.3-release/crypto/openssh/openbsd-compat/
H A Dmktemp.c28 #include <errno.h>
58 errno = EINVAL;
79 return(errno == ENOENT ? 0 : -1);
83 if (fd != -1 || errno != EEXIST)
89 if (errno != EEXIST)
95 errno = EEXIST;
/freebsd-9.3-release/gnu/usr.bin/grep/
H A Dexclude.c25 #include <errno.h>
26 #ifndef errno
27 extern int errno;
113 e = errno;
116 e = errno;
126 errno = e;
/freebsd-9.3-release/lib/libc/gen/
H A Dreaddir.c39 #include <errno.h>
109 saved_errno = errno;
110 errno = 0;
120 if (errno != 0) {
122 return (errno);
124 errno = saved_errno;
H A Dsysctl.c39 #include <errno.h>
57 errno = EPERM;
61 errno = EINVAL;
68 errno = ENOMEM;
78 errno = ENOMEM;
176 errno = EINVAL;
/freebsd-9.3-release/lib/libc/mips/sys/
H A Dcerror.S56 REG_S v0, CALLFRAME_S0(sp) # save errno value
58 PTR_LA t9, _C_LABEL(__error) # locate address of errno
63 INT_S t0, 0(v0) # update errno value
/freebsd-9.3-release/lib/libc/rpc/
H A Drtime.c47 #include <errno.h>
114 } while (res < 0 && errno == EINTR);
117 errno = ETIMEDOUT;
141 errno = EIO;
156 save = errno;
158 errno = save;
/freebsd-9.3-release/lib/libkse/test/
H A Dsem_d.c41 #include <errno.h>
70 assert(EPERM == errno);
83 assert(EAGAIN == errno);
92 assert(ENOSYS == errno);
95 assert(ENOSYS == errno);
98 assert(ENOSYS == errno);
/freebsd-9.3-release/lib/libkse/thread/
H A Dthr_sigaltstack.c31 #include <errno.h>
51 errsave = errno;
56 errno = errsave;
77 errno = EPERM;
82 errno = EINVAL;
88 errno = ENOMEM;
/freebsd-9.3-release/lib/libproc/
H A Dproc_create.c32 #include <errno.h>
64 error = errno;
71 error = errno;
110 error = errno;
132 error = errno;
139 error = errno;
/freebsd-9.3-release/tools/regression/ufs/uprintf/
H A Dufs_uprintf.c30 #include <errno.h>
83 errno = 0;
97 if (errno != ENOSPC) {
110 if (len < 0 && errno != ENOSPC) {
147 if (errno != ENOSPC) {
154 if (fd < 0 && errno != ENOSPC) {
/freebsd-9.3-release/cddl/contrib/opensolaris/lib/libuutil/common/
H A Duu_open.c33 #include <errno.h>
60 if (f >= 0 || errno != EEXIST)
/freebsd-9.3-release/contrib/bmake/
H A Drealpath.c44 #include <errno.h>
78 errno = EINVAL;
103 errno = ENOENT;
156 errno = ENAMETOOLONG;
177 errno = ELOOP;
184 errno = ENOENT;
190 errno = ENAMETOOLONG;
203 errno = ENOTDIR;
/freebsd-9.3-release/contrib/gnu-sort/lib/
H A Dxmemcoll.c24 #include <errno.h>
46 int collation_errno = errno;
/freebsd-9.3-release/contrib/libarchive/tar/test/
H A Dtest_strip_components.c32 failure("Couldn't create file '%s', errno=%d (%s)\n",
33 fn, errno, strerror(errno));
/freebsd-9.3-release/contrib/openbsm/bin/auditdistd/
H A Dsubr.h39 _rerrno = errno; \
41 errno = _rerrno; \

Completed in 135 milliseconds

1234567891011>>