Searched refs:fd_file (Results 1 – 3 of 3) sorted by relevance
/third_party/ltp/testcases/kernel/syscalls/readv/ |
D | readv02.c | 30 static int fd_dir, fd_file; variable 63 {&fd_file, invalid_iovec, 1, EINVAL}, 64 {&fd_file, efault_iovec, 3, EFAULT}, 65 {&fd_file, large_iovec, -1, EINVAL}, 82 fd_file = SAFE_OPEN(TEST_FILE, O_RDONLY); in setup() 92 if (fd_file > 0) in cleanup() 93 SAFE_CLOSE(fd_file); in cleanup()
|
/third_party/ltp/testcases/kernel/syscalls/ioctl/ |
D | ioctl01.c | 33 static int fd, fd_file; variable 54 {"File descriptor is for a regular file (termio)", &fd_file, TCGETA, &termio, ENOTTY}, 55 {"File descriptor is for a regular file (termios)", &fd_file, TCGETS, &termios, ENOTTY}, 72 fd_file = SAFE_OPEN("x", O_CREAT, 0777); in setup() 81 if (fd_file > 0) in cleanup() 82 SAFE_CLOSE(fd_file); in cleanup()
|
/third_party/ltp/testcases/kernel/syscalls/getdents/ |
D | getdents02.c | 41 static int fd_file; variable 52 { &fd_file, &dirp, &size, ENOTDIR }, 64 fd_file = SAFE_OPEN("test", O_CREAT | O_RDWR, 0644); in setup()
|