Home
last modified time | relevance | path

Searched defs:fd (Results 1 – 25 of 35) sorted by relevance

12

/coreutils/gl/lib/
Dtargetdir.h38 target_dirfd_valid (int fd) in target_dirfd_valid()
Dfadvise.c31 fdadvise (int fd, off_t offset, off_t len, fadvice_t advice) in fdadvise()
Dfd-reopen.c34 int fd = open (file, flags, mode); in fd_reopen() local
Dtargetdir.c66 int fd = -1; in target_directory_operand() local
/coreutils/src/
Dhead.c224 elseek (int fd, off_t offset, int whence, char const *filename) in elseek()
248 elide_tail_bytes_pipe (char const *filename, int fd, uintmax_t n_elide_0, in elide_tail_bytes_pipe()
465 elide_tail_bytes_file (char const *filename, int fd, uintmax_t n_elide, in elide_tail_bytes_file()
498 elide_tail_lines_pipe (char const *filename, int fd, uintmax_t n_elide, in elide_tail_lines_pipe()
648 elide_tail_lines_seekable (char const *pretty_filename, int fd, in elide_tail_lines_seekable()
755 elide_tail_lines_file (char const *filename, int fd, uintmax_t n_elide, in elide_tail_lines_file()
775 head_bytes (char const *filename, int fd, uintmax_t bytes_to_write) in head_bytes()
800 head_lines (char const *filename, int fd, uintmax_t lines_to_write) in head_lines()
837 head (char const *filename, int fd, uintmax_t n_units, bool count_lines, in head()
874 int fd; in head_file() local
Dtail.c139 int fd; member
378 record_open_fd (struct File_spec *f, int fd, in record_open_fd()
396 close_fd (int fd, char const *filename) in close_fd()
433 dump_remainder (bool want_header, char const *pretty_filename, int fd, in dump_remainder()
478 xlseek (int fd, off_t offset, int whence, char const *filename) in xlseek()
518 file_lines (char const *pretty_filename, int fd, uintmax_t n_lines, in file_lines()
605 pipe_lines (char const *pretty_filename, int fd, uintmax_t n_lines, in pipe_lines()
743 pipe_bytes (char const *pretty_filename, int fd, uintmax_t n_bytes, in pipe_bytes()
844 start_bytes (char const *pretty_filename, int fd, uintmax_t n_bytes, in start_bytes()
879 start_lines (char const *pretty_filename, int fd, uintmax_t n_lines, in start_lines()
[all …]
Dshred.c299 dosync (int fd, char const *qname) in dosync()
330 direct_mode (int fd, bool enable) in direct_mode()
353 dorewind (int fd, struct stat const *st) in dorewind()
393 dopass (int fd, struct stat const *st, char const *qname, off_t *sizep, in dopass()
814 do_wipefd (int fd, char const *qname, struct randint_source *s, in do_wipefd()
956 wipefd (int fd, char const *qname, struct randint_source *s, in wipefd()
1122 int fd; in wipefile() local
Dlibstdbuf.c68 fileno_to_name (const int fd) in fileno_to_name()
Dtruncate.c105 do_ftruncate (int fd, char const *fname, off_t ssize, off_t rsize, in do_ftruncate()
356 int fd = open (fname, oflags, MODE_RW_UGO); in main() local
Dwc_avx2.c32 wc_lines_avx2 (int fd) in wc_lines_avx2()
Dtemp-stream.c126 int fd = mkstemp (tempfile); in temp_stream() local
Ddd.c917 iclose (int fd) in iclose()
1007 cache_round (int fd, off_t len) in cache_round()
1034 invalidate_cache (int fd, off_t len) in invalidate_cache()
1104 iread (int fd, char *buf, idx_t size) in iread()
1151 iread_fullblock (int fd, char *buf, idx_t size) in iread_fullblock()
1176 iwrite (int fd, char const *buf, idx_t size) in iwrite()
1273 ifdatasync (int fd) in ifdatasync()
1307 ifstat (int fd, struct stat *st) in ifstat()
1324 ifsync (int fd) in ifsync()
1341 iftruncate (int fd, off_t length) in iftruncate()
[all …]
Dsync.c92 int fd; in sync_arg() local
Dstat.c860 int fd, char const *filename, in print_statfs()
1130 print_it (char const *format, int fd, char const *filename, in print_it() argument
1370 int fd = STREQ (filename, "-") ? 0 : AT_FDCWD; in do_stat() local
1421 get_birthtime (int fd, char const *filename, struct stat const *st) in get_birthtime()
1459 int fd = STREQ (filename, "-") ? 0 : -1; in do_stat() local
1504 int fd, char const *filename, void const *data) in print_stat()
Diopoll.c185 int fd = fileno (f); in fwait_for_nonblocking_write() local
Dsplit.c280 copy_to_tmpfile (int fd, char *buf, idx_t bufsize) in copy_to_tmpfile()
315 input_file_size (int fd, struct stat const *st, char *buf, idx_t bufsize) in input_file_size()
480 int fd = open (name, oflags | O_EXCL, MODE_RW_UGO); in create() local
561 closeout (FILE *fp, int fd, pid_t pid, char const *name) in closeout()
1082 int fd; in ofile_open() local
Dwc.c250 wc_lines (int fd) in wc_lines()
304 wc (int fd, char const *file_x, struct fstatus *fstatus, off_t current_pos) in wc()
637 int fd = open (file, O_RDONLY | O_BINARY); in wc_file() local
Dtouch.c123 int fd = -1; in touch() local
Dmktemp.c316 int fd = mkstemp_len (dest_name, suffix_len, x_count, dry_run); in main() local
Dselinux.c187 int fd; in restorecon_private() local
Dpwd.c155 int fd; in find_dir_entry() local
Dchcon.c140 change_file_context (int fd, char const *file) in change_file_context()
Dmv.c471 int fd = target_directory_operand (lastfile, &sb); in main() local
Dinstall.c749 int fd = open (to_dir, O_PATHSEARCH | O_DIRECTORY); in install_file_in_dir() local
976 int fd = target_directory_operand (lastfile, &sb); in main() local
Dremove.c59 cache_fstatat (int fd, char const *file, struct stat *st, int flag) in cache_fstatat()

12