/src/sys/lib/libsa/ |
errno.c | 1 /* $NetBSD: errno.c,v 1.3 2005/12/11 12:24:46 christos Exp $ */ 36 int errno; variable in typeref:typename:int
|
ioctl.c | 74 errno = EBADF; 80 errno = DEV_IOCTL(f->f_dev)(f, cmd, arg); 81 if (errno) 86 errno = EIO;
|
fstat.c | 43 errno = EBADF; 51 errno = EOPNOTSUPP; 56 errno = FS_STAT(f->f_ops)(f, sb); /* XXX no point setting errno */
|
/src/lib/libc/gen/ |
errno_private.h | 28 #undef errno 29 extern int errno;
|
errno.c | 1 /* $NetBSD: errno.c,v 1.6 2024/01/20 14:52:47 christos Exp $ */ 5 __RCSID("$NetBSD: errno.c,v 1.6 2024/01/20 14:52:47 christos Exp $"); 8 #include <errno.h> 11 int errno; variable in typeref:typename:int
|
_errno.c | 38 #include <errno.h> 48 return &errno; 52 return &errno;
|
nice.c | 45 #include <errno.h> 60 errno = 0; 62 if (prio == -1 && errno) 65 if (errno == EACCES) 66 errno = EPERM;
|
/src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/ |
sanitizer_allocator_checks.cc | 20 errno = errno_ENOMEM;
|
sanitizer_syscall_generic.inc | 34 *rverrno = errno;
|
/src/tests/compat/linux/ |
h_linux.c | 36 int errno = 0; variable in typeref:typename:int
|
/src/lib/libc/sys/ |
clock_getcpuclockid.c | 37 #include <errno.h> 45 saved_errno = errno; 47 error = errno; 48 errno = saved_errno;
|
vadvise.c | 34 #include <errno.h> 42 errno = EINVAL;
|
/src/tests/lib/libc/ssp/ |
h_getcwd2.c | 2 #include <errno.h> 8 errno = ENOSYS;
|
/src/lib/libpthread/ |
pthread_getcpuclockid.c | 40 #include <errno.h> 54 saved_errno = errno; 56 error = errno; 57 errno = saved_errno;
|
/src/sys/external/bsd/libnv/dist/ |
common_impl.h | 39 #define fd_is_valid(fd) (fcntl((fd), F_GETFL) != -1 || errno != EBADF)
|
/src/include/ |
errno.h | 1 /* $NetBSD: errno.h,v 1.11 2008/03/03 06:57:48 dholland Exp $ */ 36 * from: @(#)errno.h 8.5 (Berkeley) 1/21/94 43 #include <sys/errno.h> 48 /* note: this appears in both errno.h and signal.h */ 54 #ifndef errno 55 #define errno (*__errno()) macro
|
/src/lib/libossaudio/ |
oss4_global.c | 31 #include <errno.h> 54 errno = EINVAL; 58 errno = EINVAL;
|
/src/lib/libquota/ |
quota_delete.c | 34 #include <errno.h> 44 errno = EOPNOTSUPP; 56 errno = EINVAL;
|
quota_put.c | 34 #include <errno.h> 45 errno = EOPNOTSUPP; 57 errno = EINVAL;
|
/src/lib/libc/posix1e/ |
acl_flag.c | 37 #include <errno.h> 49 errno = EINVAL; 59 errno = EINVAL; 76 errno = EINVAL; 90 errno = EINVAL; 107 errno = EINVAL; 125 errno = EINVAL; 130 errno = EINVAL; 144 errno = EINVAL; 149 errno = EINVAL [all...] |
acl_perm.c | 40 #include <errno.h> 52 errno = EINVAL; 66 errno = EINVAL; 87 errno = EINVAL; 105 errno = EINVAL; 122 errno = EINVAL;
|
/src/tests/kernel/ |
t_mqueue.c | 12 #include <errno.h> 31 "mq_send 1 failed: %d", errno); 35 "mq_send 2 failed: %d", errno); 39 "mq_send 3 failed: %d", errno); 43 "mq_send 4 failed: %d", errno); 47 "mq_send 5 failed: %d", errno); 51 "mq_send 6 failed: %d", errno); 63 errno); 70 "mq_receive 1 failed: %d", errno); 75 "mq_receive 2 failed: %d", errno); [all...] |
/src/lib/libc/stdlib/ |
reallocarr.c | 40 #include <errno.h> 63 saved_errno = errno; 69 errno = saved_errno; 81 errno = saved_errno; 87 result = errno; 92 errno = saved_errno;
|
/src/usr.bin/m4/lib/ |
strtonum.c | 24 #include <errno.h> 52 ev[0].err = errno; 53 errno = 0; 60 else if ((ll == LLONG_MIN && errno == ERANGE) || ll < minval) 62 else if ((ll == LLONG_MAX && errno == ERANGE) || ll > maxval) 67 errno = ev[error].err;
|
/src/lib/libc/arch/riscv/sys/ |
cerror.S | 48 INT_S a0, CALLFRAME_S0(sp) # save errno value 50 call PLT(_C_LABEL(__errno)) # locate address of errno 52 INT_L t0, CALLFRAME_S0(sp) # retrieve errno value 54 INT_S t0, 0(a0) # update errno value 57 aiupc a1, %hi(_C_LABEL(errno)) 58 INT_S a0, %lo(_C_LABEL(errno))(a1)
|