/src/tests/fs/vfs/ |
t_rwtoro.c | 51 static int file_fd; variable in typeref:typename:int 97 RL(file_fd = rump_sys_open(file_path, O_CREAT | O_RDWR, 0777)); 98 RL(rump_sys_close(file_fd)); 99 RL(file_fd = rump_sys_open(file_path, O_RDONLY)); 107 RL(file_fd = rump_sys_open(file_path, O_CREAT | O_RDWR, 0777)); 108 RL(rump_sys_close(file_fd)); 109 RL(file_fd = rump_sys_open(file_path, O_RDONLY)); 118 RL(file_fd = rump_sys_open(file_path, O_CREAT | O_RDWR, 0777)); 125 RL(rump_sys_close(file_fd));
|
/src/tests/kernel/kqueue/ |
t_vnode.c | 683 int dir_fd, file_fd; local in function:ATF_TC_BODY 690 ATF_REQUIRE((file_fd = open(file_inside1, O_RDONLY | O_CREAT, 696 EV_SET(&event[1], file_fd, EVFILT_VNODE, EV_ADD, 704 event[0].ident == (uintptr_t)file_fd); 706 event[1].ident == (uintptr_t)file_fd);
|
/src/usr.bin/sed/ |
main.c | 524 FILE *file_fd; local in function:next_files_have_lines 529 if ((file_fd = fopen(file->fname, "r")) == NULL) 532 if ((ch = getc(file_fd)) != EOF) { 537 ungetc(ch, file_fd); 538 fclose(file_fd); 542 fclose(file_fd);
|