Searched refs:bad_fd (Results 1 – 5 of 5) sorted by relevance
/external/ltp/testcases/kernel/syscalls/lseek/ |
D | lseek02.c | 26 static int bad_fd = -1; variable 35 {&bad_fd, SEEK_SET, EBADF}, 36 {&bad_fd, SEEK_CUR, EBADF}, 37 {&bad_fd, SEEK_END, EBADF},
|
/external/ltp/testcases/kernel/syscalls/fchdir/ |
D | fchdir02.c | 70 const int bad_fd = -5; in main() local 80 TEST(fchdir(bad_fd)); in main()
|
/external/ltp/testcases/kernel/syscalls/fsync/ |
D | fsync03.c | 25 static int sock_fd, bad_fd = -1; variable 38 {&bad_fd, EBADF},
|
/external/ltp/testcases/kernel/syscalls/ftruncate/ |
D | ftruncate03.c | 32 static int bad_fd = -1; variable 42 {&bad_fd, 4, EBADF},
|
/external/ltp/testcases/kernel/syscalls/execveat/ |
D | execveat02.c | 34 static int bad_fd = -1, fd; variable 43 {&bad_fd, "", AT_EMPTY_PATH, EBADF},
|