Searched refs:fdfl (Results 1 – 1 of 1) sorted by relevance
44 fdfl_to_str(int fdfl) { in fdfl_to_str() argument48 if (fdfl & O_RDWR) { in fdfl_to_str()50 } else if (fdfl & O_WRONLY) { in fdfl_to_str()61 int fd, fdfl; in is_obj_file() local66 ((fdfl = fcntl(fd, F_GETFL)) != -1) /* got descriptor flags */ in is_obj_file()79 int fd, fdfl; in obj_to_file() local83 fdfl = fcntl(fd, F_GETFL); in obj_to_file()84 fp = fdopen(dup(fd), fdfl_to_str(fdfl)); /* the FILE* must be flushed in obj_to_file()88 fd, fdfl, fdfl_to_str(fdfl), (void *)fp); in obj_to_file()