Searched refs:errno (Results 51 - 75 of 4642) sorted by relevance

1234567891011>>

/freebsd-11-stable/tools/regression/sockets/shutdown/
H A Dshutdown.c35 #include <errno.h>
51 if ((shutdown(listen_sock, SHUT_RDWR) != -1) && (errno != EBADF))
59 strerror(errno));
69 inet_ntoa(sock.sin_addr), sock.sin_port, strerror(errno));
74 strerror(errno));
78 errx(-1, "listen() for listen socket: %s", strerror(errno));
83 "socket: %s", strerror(errno));
92 errx(-1, "connect() for connect socket: %s", strerror(errno));
94 if ((shutdown(connect_sock, SHUT_RD - 1) != -1) && (errno != EINVAL))
96 if ((shutdown(connect_sock, SHUT_RDWR + 1) != -1) && (errno !
[all...]
/freebsd-11-stable/tests/sys/net/
H A Drandsleep.c35 #include <errno.h>
51 errno = 0;
53 if (errno != 0) {
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/gen/execve/
H A Dt_execve.c31 #include <errno.h>
50 ATF_REQUIRE_MSG(errno == EFAULT,
51 "wrong error returned %d instead of %d", errno, EFAULT);
/freebsd-11-stable/contrib/mdocml/
H A Dcompat_mkdtemp.c30 #include <errno.h>
47 errno = EEXIST;
52 if (errno != EEXIST)
57 errno = EEXIST;
/freebsd-11-stable/contrib/gcclibs/libiberty/
H A Dgetcwd.c12 @code{NULL} and @code{errno} is set. If @var{pathname} is a null pointer,
25 #include <errno.h>
34 extern int errno;
49 errno = ERANGE;
55 errno = ENOMEM;
H A Drename.c19 #include <errno.h>
29 if (errno != EEXIST)
/freebsd-11-stable/contrib/binutils/libiberty/
H A Dgetcwd.c12 @code{NULL} and @code{errno} is set. If @var{pathname} is a null pointer,
25 #include <errno.h>
34 extern int errno;
49 errno = ERANGE;
55 errno = ENOMEM;
H A Drename.c19 #include <errno.h>
29 if (errno != EEXIST)
/freebsd-11-stable/contrib/openbsm/bin/auditdistd/
H A Dfstatat.h49 error = errno;
51 errno = error;
60 error = errno;
63 errno = error;
H A Dunlinkat.h48 error = errno;
50 errno = error;
59 error = errno;
62 errno = error;
/freebsd-11-stable/release/picobsd/tinyware/msh/
H A Dsh6.c6 #include <errno.h>
/freebsd-11-stable/lib/libc/gen/
H A D__xuname.c39 #include <errno.h>
61 oerrno = errno;
63 if (errno == ENOMEM)
64 errno = oerrno;
74 oerrno = errno;
76 if (errno == ENOMEM)
77 errno = oerrno;
89 oerrno = errno;
91 if (errno == ENOMEM)
92 errno
[all...]
H A Dcap_sandboxed.c36 #include <errno.h>
45 assert(errno == ENOSYS);
H A Dclock_getcpuclockid.c30 #include <errno.h>
39 return (errno);
/freebsd-11-stable/contrib/sendmail/libsm/
H A Dmemstat.c13 #include <errno.h>
29 ** errno as error code, 0: ok
37 return (errno != 0) ? errno : -1;
48 ** errno as error code, 0: ok
79 return (errno != 0) ? errno : -1;
101 ** errno as error code, 0: ok
111 return (errno != 0) ? errno
[all...]
/freebsd-11-stable/contrib/elftoolchain/libpe/
H A Dpe_dos.c28 #include <errno.h>
41 errno = EINVAL;
46 errno = ENOENT;
58 errno = EINVAL;
78 errno = EINVAL;
83 errno = EACCES;
89 errno = ENOMEM;
106 errno = EINVAL;
111 errno = EACCES;
/freebsd-11-stable/contrib/sendmail/test/
H A Dt_pathconf.c19 #include <errno.h>
40 extern int errno;
55 errno = 0;
57 printf("pathconf(.) returns %2d, errno = %d\n", i, errno);
58 errno = 0;
60 printf("pathconf(%s) returns %2d, errno = %d\n", tbuf, i, errno);
61 errno = 0;
63 printf("fpathconf(%s) returns %2d, errno
[all...]
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/builtinvar/
H A Dtst.errno.d31 * To print errno from profile and make sure it succeeds.
45 printf("the errno = %d\n", errno);
/freebsd-11-stable/contrib/groff/src/include/
H A Ddriver.h27 #include <errno.h>
/freebsd-11-stable/contrib/openbsm/compat/
H A Dclock_gettime.h34 #include <errno.h>
44 errno = EINVAL;
H A Dclosefrom.h40 error = errno;
48 errno = error;
/freebsd-11-stable/lib/libthr/thread/
H A Dthr_getcpuclockid.c31 #include <errno.h>
48 return (errno);
H A Dthr_getprio.c34 #include <errno.h>
51 errno = ret;
/freebsd-11-stable/lib/libc/compat-43/
H A Dgetwd.c38 #include <errno.h>
49 (void)strerror_r(errno, buf, MAXPATHLEN);
H A Dkillpg.c38 #include <errno.h>
47 errno = ESRCH;

Completed in 145 milliseconds

1234567891011>>