Home
last modified time | relevance | path

Searched refs:errno (Results 1351 - 1375 of 14183) sorted by relevance

1...<<51525354555657585960>>...568

/kernel/linux/linux-6.6/arch/mips/boot/compressed/
H A Dcalc_vmlinuz_load_addr.c8 #include <errno.h>
31 errno = 0; in main()
33 if (errno != 0) in main()
/kernel/linux/linux-5.10/tools/testing/selftests/intel_pstate/
H A Dmsr.c11 #include <errno.h>
22 errno = 0; in main()
25 if (errno) in main()
/kernel/linux/linux-5.10/tools/perf/arch/s390/util/
H A Ddwarf-regs.c11 #include <errno.h>
38 errno = 0; in regs_query_register_offset()
40 if (errno || gpr >= 16) in regs_query_register_offset()
/kernel/linux/linux-6.6/tools/perf/arch/s390/util/
H A Ddwarf-regs.c10 #include <errno.h>
37 errno = 0; in regs_query_register_offset()
39 if (errno || gpr >= 16) in regs_query_register_offset()
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/
H A Dcgroup_helpers.h5 #include <errno.h>
8 #define clean_errno() (errno == 0 ? "None" : strerror(errno))
9 #define log_err(MSG, ...) fprintf(stderr, "(%s:%d: errno: %s) " MSG "\n", \
/kernel/linux/linux-6.6/tools/testing/selftests/intel_pstate/
H A Dmsr.c11 #include <errno.h>
22 errno = 0; in main()
25 if (errno) in main()
/third_party/ltp/testcases/kernel/device-drivers/v4l/user_space/
H A Dtest_VIDIOC_LOG_STATUS.c4 * 27 Mar 2009 0.2 Clean up ret and errno variable names and dprintf() output
17 #include <errno.h>
21 #include <linux/errno.h>
36 errno_log = errno; in test_VIDIOC_LOG_STATUS()
/third_party/musl/porting/linux/user/src/dirent/
H A Dfdopendir.c4 #include <errno.h>
20 errno = EBADF; in fdopendir()
24 errno = ENOTDIR; in fdopendir()
/third_party/musl/porting/liteos_a/kernel/src/stdio/
H A Dfopen.c5 #include <errno.h>
16 errno = EINVAL; in fopen()
30 errno = EMFILE; in fopen()
/third_party/musl/porting/liteos_a/user/src/misc/
H A Dpty.c5 #include <errno.h>
13 if (r < 0 && errno == ENOSPC) errno = EAGAIN; in posix_openpt()
H A Dlockf.c3 #include <errno.h>
21 errno = EACCES; in lockf()
30 errno = EINVAL; in lockf()
/third_party/musl/src/misc/
H A Dpty.c5 #include <errno.h>
13 if (r < 0 && errno == ENOSPC) errno = EAGAIN; in posix_openpt()
H A Dlockf.c3 #include <errno.h>
22 errno = EACCES; in lockf()
31 errno = EINVAL; in lockf()
/third_party/musl/src/network/
H A Dif_indextoname.c6 #include <errno.h>
23 if (errno == ENODEV) errno = ENXIO; in if_indextoname()
H A Daccept4.c3 #include <errno.h>
11 if (ret>=0 || (errno != ENOSYS && errno != EINVAL)) return ret; in accept4()
/third_party/musl/src/signal/
H A Dpsignal.c4 #include <errno.h>
14 * permitted to change them. Save errno and restore it if there is no in psignal()
19 int old_errno = errno; in psignal()
22 errno = old_errno; in psignal()
/third_party/musl/src/temp/
H A Dmkostemps.c6 #include <errno.h>
12 errno = EINVAL; in __mkostemps()
22 } while (--retries && errno == EEXIST); in __mkostemps()
/third_party/musl/porting/liteos_m/kernel/src/stdio/
H A Dfopen.c5 #include <errno.h>
16 errno = EINVAL; in fopen()
28 errno = EMFILE; in fopen()
/third_party/musl/porting/liteos_a/user/src/network/
H A Dif_indextoname.c6 #include <errno.h>
18 if (errno == ENODEV) errno = ENXIO; in if_indextoname()
/third_party/musl/porting/uniproton/kernel/src/stdio/
H A Dfopen.c5 #include <errno.h>
16 errno = EINVAL; in fopen()
28 errno = EMFILE; in fopen()
/third_party/musl/libc-test/src/regression/
H A Dsigprocmask-internal.c7 #include <errno.h>
22 t_error("blocking signals failed: %s\n", strerror(errno)); in main()
24 t_error("querying sigmask failed: %s\n", strerror(errno)); in main()
/third_party/musl/src/dirent/
H A Dfdopendir.c4 #include <errno.h>
20 errno = EBADF; in fdopendir()
24 errno = ENOTDIR; in fdopendir()
/third_party/ltp/testcases/kernel/fs/mongo/
H A Dmongo_read.c11 #include <errno.h>
42 printf("Open failed (%s)\n", strerror(errno)); in main()
49 printf("Read failed (%s)\n", strerror(errno)); in main()
/third_party/ltp/testcases/kernel/syscalls/getcwd/
H A Dgetcwd01.c8 * Testcase to test that getcwd(2) sets errno correctly.
16 * 1) getcwd(2) should return NULL and set errno to EFAULT.
17 * 2) getcwd(2) should return NULL and set errno to ENOMEM.
18 * 3) getcwd(2) should return NULL and set errno to EINVAL.
19 * 4) getcwd(2) should return NULL and set errno to ERANGE.
20 * 5) getcwd(2) should return NULL and set errno to ERANGE.
24 #include <errno.h>
48 errno = 0; in verify_getcwd()
50 TST_ERR = errno; in verify_getcwd()
/third_party/ltp/testcases/kernel/syscalls/gettimeofday/
H A Dgettimeofday01.c25 * Testcase to check that gettimeofday(2) sets errno to EFAULT.
29 * set in errno.
39 #include <errno.h>
78 "gettimeofday(2) set the errno EFAULT correctly"); in main()
81 "gettimeofday(2) didn't set errno to EFAULT, errno=%i (%s)", in main()
82 errno, strerror(errno)); in main()

Completed in 7 milliseconds

1...<<51525354555657585960>>...568