Home
last modified time | relevance | path

Searched refs:bytes_to_write (Results 1 – 2 of 2) sorted by relevance

/coreutils/src/
Dhead.c775 head_bytes (char const *filename, int fd, uintmax_t bytes_to_write) in head_bytes() argument
780 while (bytes_to_write) in head_bytes()
783 if (bytes_to_write < bytes_to_read) in head_bytes()
784 bytes_to_read = bytes_to_write; in head_bytes()
794 bytes_to_write -= bytes_read; in head_bytes()
807 size_t bytes_to_write = 0; in head_lines() local
816 while (bytes_to_write < bytes_read) in head_lines()
817 if (buffer[bytes_to_write++] == line_end && --lines_to_write == 0) in head_lines()
819 off_t n_bytes_past_EOL = bytes_read - bytes_to_write; in head_lines()
831 xwrite_stdout (buffer, bytes_to_write); in head_lines()
Dod.c1421 size_t bytes_to_write; in dump() local
1427 bytes_to_write = l_c_m * ((n_bytes_read + l_c_m - 1) / l_c_m); in dump()
1429 memset (block[idx] + n_bytes_read, 0, bytes_to_write - n_bytes_read); in dump()