Searched refs:errno (Results 251 - 275 of 4351) sorted by relevance

<<11121314151617181920>>

/freebsd-11.0-release/cddl/contrib/opensolaris/lib/libuutil/common/
H A Duu_open.c33 #include <errno.h>
60 if (f >= 0 || errno != EEXIST)
/freebsd-11.0-release/share/examples/sunrpc/dir/
H A Ddir.x22 union readdir_res switch (int errno) {
/freebsd-11.0-release/lib/libc/posix1e/
H A Dacl_delete_entry.c34 #include <errno.h>
82 errno = EINVAL;
89 errno = EINVAL;
95 errno = EINVAL;
123 errno = EINVAL;
134 errno = EINVAL;
141 errno = EINVAL;
147 errno = EINVAL;
H A Dacl_from_text.c37 #include <sys/errno.h>
95 errno = EINVAL;
110 errno = EINVAL;
118 errno = EINVAL;
126 errno = EINVAL;
132 errno = EINVAL;
142 errno = EINVAL;
156 errno = EINVAL;
253 errno = EINVAL;
287 errno
[all...]
/freebsd-11.0-release/lib/libc/stdio/
H A Dfpurge.c40 #include <errno.h>
57 errno = EBADF;
/freebsd-11.0-release/lib/libcasper/libcasper/
H A Dzygote.c42 #include <errno.h>
61 errno = ENXIO;
73 errno = error;
106 if (errno == ENOTCONN) {
125 error = errno;
132 error = errno;
177 serrno = errno;
180 errno = serrno;
/freebsd-11.0-release/lib/libthr/thread/
H A Dthr_info.c53 ret = errno;
58 ret = errno;
/freebsd-11.0-release/lib/libutil/tests/
H A Dflopen_test.c34 #include <errno.h>
57 result = strerror(errno);
77 result = strerror(errno);
82 result = strerror(errno);
104 result = strerror(errno);
130 result = strerror(errno);
162 result = strerror(errno);
166 result = strerror(errno);
/freebsd-11.0-release/tests/sys/file/
H A Dftruncate_test.c43 #include <errno.h>
84 error = errno;
86 errno = error;
93 if (errno != EINVAL)
136 if (errno != EINVAL)
148 if (errno != EINVAL)
159 if (errno != EINVAL)
172 if (errno != EINVAL)
/freebsd-11.0-release/tools/regression/p1003_1b/
H A Dyield.c38 #include <errno.h>
73 errno = 0;
76 if (set.sched_priority == -1 && errno) {
78 exit(errno);
95 err(errno, "mmap");
100 err(errno, "sched_setscheduler");
153 err(errno, "sched_yield");
190 err(errno, "sched_yield");
/freebsd-11.0-release/tools/test/iconv/posix/
H A Dposix.c34 #include <errno.h>
42 * and set errno to EINVAL.
49 errno = 0;
52 if ((cd == (iconv_t)-1) && (errno == EINVAL))
62 * and set errno to ENFILE.
71 errno = 0;
78 ret = (cd[i] == (iconv_t)-1) && ((errno == ENFILE) ||
79 (errno == EMFILE)) ? 0 : 1;
87 * invalid and set errno to EBADF.
94 return ((iconv_close(cd) == -1) && (errno
[all...]
/freebsd-11.0-release/usr.bin/pathchk/
H A Dpathchk.c42 #include <errno.h>
119 errno = 0;
121 if (namemax == -1 && errno != 0)
139 if (!pflag && stat(pathd, &sb) == -1 && errno != ENOENT) {
155 errno = 0;
158 if (namemax == -1 && errno != 0)
167 errno = 0;
169 if (pathmax == -1 && errno != 0)
/freebsd-11.0-release/usr.sbin/digictl/
H A Ddigictl.c29 #include <errno.h>
108 strerror(errno));
121 prog, argv[i], strerror(errno));
129 prog, argv[i], strerror(errno));
141 prog, argv[i], strerror(errno));
148 prog, argv[i], strerror(errno));
152 prog, argv[i], strerror(errno));
163 prog, argv[i], strerror(errno));
/freebsd-11.0-release/usr.sbin/ypldap/
H A Dlog.c22 #include <errno.h>
94 logit(LOG_CRIT, "%s", strerror(errno));
98 if (asprintf(&nfmt, "%s: %s", emsg, strerror(errno)) == -1) {
101 logit(LOG_CRIT, "%s", strerror(errno));
146 logit(LOG_CRIT, "fatal: %s", strerror(errno));
148 if (errno)
150 emsg, strerror(errno));
160 errno = 0;
/freebsd-11.0-release/usr.sbin/bluetooth/bthidd/
H A Dserver.c39 #include <errno.h>
77 strerror(errno), errno);
85 "%s (%d)", strerror(errno), errno);
99 "%s (%d)", strerror(errno), errno);
107 "%s (%d)", strerror(errno), errno);
117 "%s (%d)", strerror(errno), errn
[all...]
/freebsd-11.0-release/contrib/llvm/tools/lldb/source/Utility/
H A DPseudoTerminal.cpp13 #include <errno.h>
120 ::strerror_r (errno, error_str, error_len);
128 ::strerror_r (errno, error_str, error_len);
137 ::strerror_r (errno, error_str, error_len);
175 ::strerror_r (errno, error_str, error_len);
210 ::strerror_r (errno, error_str, error_len);
255 ::strerror_r (errno, error_str, error_len);
274 ::strerror_r (errno, error_str, error_len);
281 ::strerror_r (errno, error_str, error_len);
287 ::strerror_r (errno, error_st
[all...]
/freebsd-11.0-release/lib/libc/gen/
H A Dgetcwd.c41 #include <errno.h>
82 errno = EINVAL;
86 errno = ERANGE;
116 errno = 0; /* XXX readdir has no error return. */
177 save_errno = errno;
178 errno = 0;
193 errno = ERANGE;
213 * If readdir set errno, use it, not any saved error; otherwise,
215 * errno to ENOENT.
217 if (!errno)
[all...]
/freebsd-11.0-release/contrib/netbsd-tests/lib/libc/sys/
H A Dt_mkfifo.c38 #include <errno.h>
53 errno = 0;
60 if (errno == EOPNOTSUPP)
130 errno = 0;
133 errno = 0;
136 errno = 0;
139 errno = 0;
142 errno = 0;
189 errno = 0;
219 errno
[all...]
/freebsd-11.0-release/cddl/compat/opensolaris/misc/
H A Dfsshare.c33 #include <errno.h>
59 if (errno != EEXIST) {
171 return (errno);
177 assert(error == 0 || (error == -1 && errno == EOPNOTSUPP));
184 if (errno != ENOENT) {
185 error = errno;
190 if (errno == ENOENT)
191 errno = 0;
192 error = errno;
197 assert(error == 0 || (error == -1 && errno
[all...]
/freebsd-11.0-release/lib/libc/stdlib/
H A Drealpath.c39 #include <errno.h>
61 errno = EINVAL;
65 errno = ENOENT;
99 errno = ENAMETOOLONG;
116 errno = ENAMETOOLONG;
128 errno = ENAMETOOLONG;
161 errno = ENAMETOOLONG;
173 errno = ELOOP;
204 errno = ENAMETOOLONG;
215 errno
[all...]
/freebsd-11.0-release/lib/libc/tests/string/
H A Dstrerror_test.c30 #include <errno.h>
46 errno = 0;
50 ATF_CHECK(errno == EINVAL);
57 errno = 0;
60 ATF_CHECK(errno == 0);
67 errno = 0;
70 ATF_CHECK(errno == 0);
77 errno = 0;
80 ATF_CHECK(errno == 0);
87 errno
[all...]
/freebsd-11.0-release/contrib/ntp/sntp/libopts/
H A Dtext_mmap.c101 mapinfo->txt_errno = errno;
135 mapinfo->txt_errno = errno;
142 mapinfo->txt_errno = errno;
153 mapinfo->txt_errno = errno;
199 mapinfo->txt_errno = errno;
211 mapinfo->txt_errno = errno;
217 mapinfo->txt_errno = errno = EINVAL;
226 mapinfo->txt_errno = errno;
270 * problem, then it will return @code{MAP_FAILED} and set @code{errno}
273 * The named file does not exist, @code{stat(2)} will set @code{errno} a
[all...]
/freebsd-11.0-release/contrib/opie/libopie/
H A Dgenerator.c40 #include <errno.h>
99 syslog(LOG_DEBUG, "opieauto_connect: socket: %s(%d)", strerror(errno), errno);
109 syslog(LOG_DEBUG, "opieauto_connect: stat: %s(%d)\n", strerror(errno), errno);
116 syslog(LOG_DEBUG, "opieauto_connect: connect: %s(%d)\n", strerror(errno), errno);
211 syslog(LOG_DEBUG, "opiegenerator: read: %s(%d)\n", strerror(errno), errno);
268 syslog(LOG_DEBUG, "opiegenerator: write: %s(%d)\n", strerror(errno), errn
[all...]
/freebsd-11.0-release/contrib/sendmail/src/
H A Dbf.c30 #include <errno.h>
93 ** Failure: -1 and sets errno
121 errno = ENOENT;
127 errno = EEXIST;
135 errno = ENOMEM;
148 errno = ENOMEM;
168 errno = ENOMEM;
201 ** Sets errno:
202 ** any value of errno specified by sm_io_setinfo_type()
203 ** any value of errno specifie
[all...]
/freebsd-11.0-release/crypto/heimdal/lib/roken/
H A Dstrerror.c38 #include <errno.h>

Completed in 200 milliseconds

<<11121314151617181920>>