Searched refs:errno (Results 51 - 75 of 4642) sorted by relevance
1234567891011>>
/freebsd-11-stable/tools/regression/sockets/shutdown/ |
H A D | shutdown.c | 35 #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 D | randsleep.c | 35 #include <errno.h> 51 errno = 0; 53 if (errno != 0) {
|
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/gen/execve/ |
H A D | t_execve.c | 31 #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 D | compat_mkdtemp.c | 30 #include <errno.h> 47 errno = EEXIST; 52 if (errno != EEXIST) 57 errno = EEXIST;
|
/freebsd-11-stable/contrib/gcclibs/libiberty/ |
H A D | getcwd.c | 12 @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 D | rename.c | 19 #include <errno.h> 29 if (errno != EEXIST)
|
/freebsd-11-stable/contrib/binutils/libiberty/ |
H A D | getcwd.c | 12 @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 D | rename.c | 19 #include <errno.h> 29 if (errno != EEXIST)
|
/freebsd-11-stable/contrib/openbsm/bin/auditdistd/ |
H A D | fstatat.h | 49 error = errno; 51 errno = error; 60 error = errno; 63 errno = error;
|
H A D | unlinkat.h | 48 error = errno; 50 errno = error; 59 error = errno; 62 errno = error;
|
/freebsd-11-stable/release/picobsd/tinyware/msh/ |
H A D | sh6.c | 6 #include <errno.h>
|
/freebsd-11-stable/lib/libc/gen/ |
H A D | __xuname.c | 39 #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 D | cap_sandboxed.c | 36 #include <errno.h> 45 assert(errno == ENOSYS);
|
H A D | clock_getcpuclockid.c | 30 #include <errno.h> 39 return (errno);
|
/freebsd-11-stable/contrib/sendmail/libsm/ |
H A D | memstat.c | 13 #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 D | pe_dos.c | 28 #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 D | t_pathconf.c | 19 #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 D | tst.errno.d | 31 * 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 D | driver.h | 27 #include <errno.h>
|
/freebsd-11-stable/contrib/openbsm/compat/ |
H A D | clock_gettime.h | 34 #include <errno.h> 44 errno = EINVAL;
|
H A D | closefrom.h | 40 error = errno; 48 errno = error;
|
/freebsd-11-stable/lib/libthr/thread/ |
H A D | thr_getcpuclockid.c | 31 #include <errno.h> 48 return (errno);
|
H A D | thr_getprio.c | 34 #include <errno.h> 51 errno = ret;
|
/freebsd-11-stable/lib/libc/compat-43/ |
H A D | getwd.c | 38 #include <errno.h> 49 (void)strerror_r(errno, buf, MAXPATHLEN);
|
H A D | killpg.c | 38 #include <errno.h> 47 errno = ESRCH;
|
Completed in 145 milliseconds
1234567891011>>