summaryrefslogtreecommitdiffstats
path: root/src/basic/fileio.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* basic/fileio: use strdup_to_full() in read_stripped_line()Zbigniew Jędrzejewski-Szmek2024-03-201-12/+6
* fileio,data-fd-util: use U64_* moreMike Yuan2024-03-121-2/+2
* fileio: fputs_with_space → _with_separator and modernizationMike Yuan2024-01-251-18/+16
* fileio: add new flag WRITE_STRING_FILE_MODE_0444Lennart Poettering2024-01-051-2/+15
* various: clean up isatty() handlingMike Yuan2023-12-221-1/+2
* basic/fileio: drop O_CREAT before passing flags to fd_reopenMike Yuan2023-11-081-1/+3
* fileio: add read_stripped_line() as trivial read_line() + strstrip() comboLennart Poettering2023-10-171-0/+30
* fileio: revamp search_and_fopen()Lennart Poettering2023-10-051-56/+110
* fileio: make read_full_file_full() usable with size and READ_FULL_FILE_UNBASE64Yu Watanabe2023-10-021-1/+15
* tree-wide: add path_simplify_alloc() and use itZbigniew Jędrzejewski-Szmek2023-09-221-14/+8
* Merge pull request #27184 from yuwata/xfopenat-fullDaan De Meyer2023-04-101-91/+103
|\
| * fileio: introduce xfopenat_full()Yu Watanabe2023-04-081-65/+86
| * fileio: use take_fdopen() and friendsYu Watanabe2023-04-081-29/+20
* | fileio: introduce read_one_line_file_at()Yu Watanabe2023-04-091-5/+6
|/
* chase-symlinks: Rename chase_symlinks() to chase()Daan De Meyer2023-03-241-1/+1
* fileio: add new helper fdopen_independent()Lennart Poettering2023-03-231-0/+29
* tree-wide: fix typo and comment style updateYu Watanabe2023-02-151-1/+1
* string-util: add new strdupcspn()/strdupspn()Lennart Poettering2023-01-201-4/+1
* fundamental: rework IN_SET() to require at least three argumentsLennart Poettering2023-01-021-1/+1
* tree-wide: use -EBADF moreYu Watanabe2022-12-201-1/+1
* tree-wide: use -EBADF for fd initializationZbigniew Jędrzejewski-Szmek2022-12-191-5/+5
* strv: move nulstr utilities to nulstr-util.[ch]Lennart Poettering2022-11-131-0/+1
* fileio: Add openat() like helpersDaan De Meyer2022-11-091-21/+24
* fileio: port read_file_full() to use connect_unix_path()Lennart Poettering2022-05-131-21/+6
* fileio: fix error propagationLennart Poettering2022-05-131-1/+1
* fileio: propagate original error if we notice AF_UNIX connect() is not going ...Lennart Poettering2022-05-131-1/+1
* strv: make iterator in STRV_FOREACH() declaread in the loopYu Watanabe2022-03-191-2/+0
* tree-wide: use timestamp_is_set() moreLennart Poettering2022-02-221-2/+2
* Typos found by codespellDimitri Papadopoulos2021-10-201-1/+1
* fileio: add read_virtual_file_at() flavour that takes dir_fd/path pairLennart Poettering2021-10-111-3/+16
* fileio: add shortcut for xopendirat() when called in opendir() compatible modeLennart Poettering2021-10-071-0/+3
* basic: move chase_symlinks_and_fopen_unlocked() → chase-symlinks.[ch]Lennart Poettering2021-10-051-35/+4
* basic: spit out chase_symlinks() from fs-util.[ch] → chase-symlinks.[ch]Lennart Poettering2021-10-051-0/+1
* basic: split out sync() family of calls from fs-util.[ch] into new c/h fileLennart Poettering2021-10-051-4/+2
* fileio: introduce new mode to suppress writing the same valueAntony Deepak Thomas2021-09-291-2/+27
* fileio: introduce read_virtual_file_fd()Antony Deepak Thomas2021-09-291-8/+16
* smack: move helper function to smack-util.cZbigniew Jędrzejewski-Szmek2021-09-211-13/+0
* fileio: fix truncated read handling in read_virtual_file()Lennart Poettering2021-09-161-3/+8
* fileio: start with 4k buffer for procfsAnita Zhang2021-09-161-0/+5
* fileio: set O_NOCTTY when reading virtual filesLennart Poettering2021-09-151-1/+1
* fileio: lower maximum virtual file buffer size by one byteLennart Poettering2021-09-151-8/+10
* tree-wide: port things over to FORMAT_PROC_FD_PATH()Lennart Poettering2021-08-191-4/+1
* fileio: optionally allow interpreting file size as limitLennart Poettering2021-07-081-17/+36
* fileio: bump limit for read_full_file() and friends to 64MLennart Poettering2021-06-101-8/+17
* tree-wide: always drop unnecessary dot in pathYu Watanabe2021-05-281-3/+3
* fileio: read_virtual_file(): on last attempt ignore file sizeLennart Poettering2021-05-211-14/+11
* fileio: read_virtual_file() don't tweak buffer for returning it when we aren'...Lennart Poettering2021-05-211-15/+17
* fileio: fix typo in commentLennart Poettering2021-05-211-3/+3
* fileio: read_virtual_file(): exit once the max_size limit is reachedLennart Poettering2021-05-211-0/+7
* fileio: if we try to read a file larger than SIZE_MAX this is not a problem i...Lennart Poettering2021-05-211-5/+11