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

<<11121314151617181920>>

/freebsd-11-stable/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-11-stable/cddl/contrib/opensolaris/lib/libuutil/common/
H A Duu_open.c33 #include <errno.h>
60 if (f >= 0 || errno != EEXIST)
/freebsd-11-stable/contrib/openbsm/bin/auditdistd/
H A Dsubr.h37 _rerrno = errno; \
39 errno = _rerrno; \
/freebsd-11-stable/contrib/sendmail/libsm/
H A Dfpurge.c18 #include <errno.h>
30 ** Failure: returns SM_IO_EOF and sets errno
41 errno = EBADF;
/freebsd-11-stable/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;
/freebsd-11-stable/lib/libc/stdio/
H A Dfpurge.c40 #include <errno.h>
57 errno = EBADF;
/freebsd-11-stable/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-stable/crypto/openssh/openbsd-compat/
H A Dbasename.c23 #include <errno.h>
59 errno = ENAMETOOLONG;
/freebsd-11-stable/crypto/openssh/
H A Duidswap.c17 #include <errno.h>
87 fatal("getgroups: %.100s", strerror(errno));
92 fatal("getgroups: %.100s", strerror(errno));
101 strerror(errno));
105 fatal("getgroups: %.100s", strerror(errno));
110 fatal("getgroups: %.100s", strerror(errno));
117 fatal("setgroups: %.100s", strerror(errno));
121 debug("setgid %u: %.100s", (u_int) getegid(), strerror(errno));
124 debug("setuid %u: %.100s", (u_int) geteuid(), strerror(errno));
128 strerror(errno));
[all...]
H A Dsshpty.c22 #include <errno.h>
72 error("openpty: %.100s", strerror(errno));
90 error("chown %.100s 0 0 failed: %.100s", tty, strerror(errno));
92 error("chmod %.100s 0666 failed: %.100s", tty, strerror(errno));
105 error("setsid: %.100s", strerror(errno));
122 error("%.100s: %.100s", tty, strerror(errno));
136 error("setsid: %.100s", strerror(errno));
151 error("ioctl(TIOCSCTTY): %.100s", strerror(errno));
155 error("SETPGRP %s",strerror(errno));
159 error("%.100s: %.100s", tty, strerror(errno));
[all...]
/freebsd-11-stable/lib/libc/gen/
H A Dsleep.c37 #include <errno.h>
66 if (errno != EINTR)
H A Dgetpeereid.c36 #include <errno.h>
52 errno = EINVAL;
/freebsd-11-stable/lib/libc/locale/
H A Dc32rtomb.c30 #include <errno.h>
42 errno = EILSEQ;
H A Dsetlocale.c42 #include <errno.h>
107 errno = EINVAL;
128 errno = EINVAL;
136 errno = EINVAL;
143 errno = EINVAL;
150 errno = EINVAL;
159 errno = EINVAL;
166 errno = EINVAL;
192 saverr = errno;
201 errno
[all...]
/freebsd-11-stable/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-stable/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-stable/share/examples/sunrpc/dir/
H A Ddir.x22 union readdir_res switch (int errno) {
/freebsd-11-stable/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-stable/tests/sys/file/
H A Dftruncate_test.c43 #include <errno.h>
83 error = errno;
85 errno = error;
92 if (errno != EINVAL)
135 if (errno != EINVAL)
147 if (errno != EINVAL)
158 if (errno != EINVAL)
171 if (errno != EINVAL)
/freebsd-11-stable/usr.bin/getopt/
H A Dgetopt.c11 #include <errno.h>
22 if (caph_limit_stdio() < 0 || (cap_enter() < 0 && errno != ENOSYS))
/freebsd-11-stable/usr.bin/pathchk/
H A Dpathchk.c44 #include <errno.h>
121 errno = 0;
123 if (namemax == -1 && errno != 0)
141 if (!pflag && stat(pathd, &sb) == -1 && errno != ENOENT) {
157 errno = 0;
160 if (namemax == -1 && errno != 0)
169 errno = 0;
171 if (pathmax == -1 && errno != 0)
/freebsd-11-stable/usr.sbin/digictl/
H A Ddigictl.c31 #include <errno.h>
110 strerror(errno));
123 prog, argv[i], strerror(errno));
131 prog, argv[i], strerror(errno));
143 prog, argv[i], strerror(errno));
150 prog, argv[i], strerror(errno));
154 prog, argv[i], strerror(errno));
165 prog, argv[i], strerror(errno));
/freebsd-11-stable/contrib/openpam/lib/libpam/
H A Dpam_setenv.c42 #include <errno.h>
72 errno = EINVAL;
/freebsd-11-stable/contrib/unbound/compat/
H A Dgetentropy_freebsd.c26 #include <errno.h>
60 errno = EIO;
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Support/
H A DErrno.h1 //===- llvm/Support/Errno.h - Portable+convenient errno handling -*- C++ -*-===//
9 // This file declares some portable and convenient functions to deal with errno.
23 /// Returns a string representation of the errno value, using whatever
25 /// immediately after the function that set errno, or errno may have been
29 /// Like the no-argument version above, but uses \p errnum instead of errno.
37 errno = 0;
39 } while (Res == Fail && errno == EINTR);

Completed in 279 milliseconds

<<11121314151617181920>>