/coreutils/src/ |
D | head.c | 151 diagnose_copy_fd_failure (enum Copy_fd_status err, char const *filename) in diagnose_copy_fd_failure() argument 156 error (0, errno, _("error reading %s"), quoteaf (filename)); in diagnose_copy_fd_failure() 159 error (0, errno, _("%s: file has shrunk too much"), quotef (filename)); in diagnose_copy_fd_failure() 167 write_header (char const *filename) in write_header() argument 171 printf ("%s==> %s <==\n", (first_file ? "" : "\n"), filename); in write_header() 224 elseek (int fd, off_t offset, int whence, char const *filename) in elseek() argument 234 quotef (filename), in elseek() 248 elide_tail_bytes_pipe (char const *filename, int fd, uintmax_t n_elide_0, in elide_tail_bytes_pipe() argument 308 error (0, errno, _("error reading %s"), quoteaf (filename)); in elide_tail_bytes_pipe() 390 error (0, errno, _("error reading %s"), quoteaf (filename)); in elide_tail_bytes_pipe() [all …]
|
D | stat.c | 108 statfs (char const *filename, struct fs_info *buf) in statfs() argument 110 dev_t device = dev_for_path (filename); in statfs() 248 int fd, char const *filename, void const *data); 835 out_file_context (char *pformat, size_t prefix_len, char const *filename) in out_file_context() argument 841 ? getfilecon (filename, &scontext) in out_file_context() 842 : lgetfilecon (filename, &scontext)) < 0) in out_file_context() 845 quoteaf (filename)); in out_file_context() 860 int fd, char const *filename, in print_statfs() argument 869 out_string (pformat, prefix_len, filename); in print_statfs() 989 out_mount_point (char const *filename, char *pformat, size_t prefix_len, in out_mount_point() argument [all …]
|
D | dircolors.c | 265 dc_parse_stream (FILE *fp, char const *filename) in dc_parse_stream() argument 302 error (0, errno, _("%s: read error"), quotef (filename)); in dc_parse_stream() 326 quotef (filename), line_number); in dc_parse_stream() 381 (filename ? quotef (filename) : _("<internal>")), in dc_parse_stream() 394 dc_parse_file (char const *filename) in dc_parse_file() argument 398 if (! STREQ (filename, "-") && freopen (filename, "r", stdin) == nullptr) in dc_parse_file() 400 error (0, errno, "%s", quotef (filename)); in dc_parse_file() 404 ok = dc_parse_stream (stdin, filename); in dc_parse_file() 408 error (0, errno, "%s", quotef (filename)); in dc_parse_file()
|
D | fold.c | 118 fold_file (char const *filename, size_t width) in fold_file() argument 128 if (STREQ (filename, "-")) in fold_file() 134 istream = fopen (filename, "r"); in fold_file() 138 error (0, errno, "%s", quotef (filename)); in fold_file() 223 if (STREQ (filename, "-")) in fold_file() 230 error (0, saved_errno, "%s", quotef (filename)); in fold_file()
|
D | users.c | 83 users (char const *filename, int options) in users() argument 88 if (read_utmp (filename, &n_users, &utmp_buf, options) != 0) in users() 89 error (EXIT_FAILURE, errno, "%s", quotef (filename)); in users()
|
D | tac.c | 441 tac_file (char const *filename) in tac_file() argument 446 bool is_stdin = STREQ (filename, "-"); in tac_file() 452 filename = _("standard input"); in tac_file() 457 fd = open (filename, O_RDONLY | O_BINARY); in tac_file() 461 quoteaf (filename)); in tac_file() 469 ? tac_nonseekable (fd, filename) in tac_file() 470 : tac_seekable (fd, filename, file_size)); in tac_file() 474 error (0, errno, _("%s: read error"), quotef (filename)); in tac_file()
|
D | uptime.c | 126 uptime (char const *filename, int options) in uptime() argument 130 int read_utmp_status = (read_utmp (filename, &n_users, &utmp_buf, options) < 0 in uptime() 134 error (0, errno, "%s", quotef (filename)); in uptime()
|
D | digest.c | 964 digest_file (char const *filename, int *binary, unsigned char *bin_result, in digest_file() argument 969 bool is_stdin = STREQ (filename, "-"); in digest_file() 987 fp = fopen (filename, (O_BINARY && *binary ? "rb" : "r")); in digest_file() 995 error (0, errno, "%s", quotef (filename)); in digest_file() 1021 error (0, err, "%s", quotef (filename)); in digest_file() 1170 char *filename; in digest_check() local 1200 if (! (split_3 (line, line_length, &digest, &d_len, &binary, &filename) in digest_check() 1201 && ! (is_stdin && STREQ (filename, "-")))) in digest_check() 1218 bool needs_escape = ! status_only && problematic_chars (filename); in digest_check() 1223 ok = digest_file (filename, &binary, bin_buffer, &missing, &length); in digest_check() [all …]
|
D | remove.c | 195 char const *filename = ent->fts_accpath; in prompt() local 217 write_protected = write_protected_non_symlink (fd_cwd, filename, sbuf); in prompt() 225 if (cache_fstatat (fd_cwd, filename, sbuf, AT_SYMLINK_NOFOLLOW) == 0) in prompt() 303 if (cache_fstatat (fd_cwd, filename, sbuf, AT_SYMLINK_NOFOLLOW) != 0) in prompt()
|
D | pinky.c | 464 short_pinky (char const *filename, in short_pinky() argument 469 if (read_utmp (filename, &n_users, &utmp_buf, READ_UTMP_USER_PROCESS) != 0) in short_pinky() 470 error (EXIT_FAILURE, errno, "%s", quotef (filename)); in short_pinky()
|
D | who.c | 618 who (char const *filename, int options) in who() argument 624 if (read_utmp (filename, &n_users, &utmp_buf, options) != 0) in who() 625 error (EXIT_FAILURE, errno, "%s", quotef (filename)); in who()
|
D | tail.c | 396 close_fd (int fd, char const *filename) in close_fd() argument 400 error (0, errno, _("closing %s (fd=%d)"), quoteaf (filename), fd); in close_fd() 478 xlseek (int fd, off_t offset, int whence, char const *filename) in xlseek() argument 492 quotef (filename), s); in xlseek() 496 quotef (filename), s); in xlseek() 501 quotef (filename), s); in xlseek() 1948 tail (char const *filename, int fd, uintmax_t n_units, in tail() argument 1953 return tail_lines (filename, fd, n_units, read_pos); in tail() 1955 return tail_bytes (filename, fd, n_units, read_pos); in tail()
|
D | test.c | 168 get_mtime (char const *filename, struct timespec *mtime) in get_mtime() argument 171 bool ok = (stat (filename, &finfo) == 0); in get_mtime()
|
D | pr.c | 434 static void init_header (char const *filename, int desc); 1645 init_header (char const *filename, int desc) in init_header() argument 1654 if (STREQ (filename, "-")) in init_header() 1683 file_text = custom_header ? custom_header : desc < 0 ? "" : filename; in init_header()
|
D | ls.c | 276 static void get_link_name (char const *filename, struct fileinfo *f, 3724 get_link_name (char const *filename, struct fileinfo *f, bool command_line_arg) in get_link_name() argument 3726 f->linkname = areadlink_with_size (filename, f->stat.st_size); in get_link_name() 3729 filename); in get_link_name()
|
D | copy.c | 201 follow_fstatat (int dirfd, char const *filename, struct stat *st, int flags) in follow_fstatat() argument 203 int result = fstatat (dirfd, filename, st, flags); in follow_fstatat()
|
/coreutils/tests/csplit/ |
D | csplit-suppress-matched.pl | 185 my $filename = sprintf("xx%02d",$out_file_num++); 186 my $cmp = {CMP => [ $output, { $filename => undef}]}; 192 my $filename = sprintf("xx%02d",$out_file_num++); 194 "'$filename' has been created\n" 195 if -e $filename; } } ;
|
/coreutils/doc/ |
D | local.mk | 78 grep -n filename $(texi_files) \
|
D | coreutils.texi | 10798 link @var{filename} @var{linkname} 10801 @var{filename} must specify an existing file, and @var{linkname} 10803 @command{link} simply calls @code{link (@var{filename}, @var{linkname})} 10807 --no-target-directory @var{filename} @var{linkname}}. However, the 10812 If @var{filename} is a symbolic link, it is unspecified whether 11458 unlink @var{filename}
|
/coreutils/ |
D | .vg-suppressions | 96 utimensat(filename)
|
D | TODO | 48 no longer incurs the overhead of saving src. dev/ino and dest. filename
|