summaryrefslogtreecommitdiffstats
path: root/src/posix
AgeCommit message (Collapse)AuthorFilesLines
2022-11-25Explicitly ignore posix_fadvise() return valueDavid Robillard1-2/+2
If some error happened here, there's nothing we can do but proceed and try to copy anyway.
2022-11-25Consistently pass stat structs by pointerDavid Robillard1-8/+10
These are usually quite large, over 128 bytes.
2022-11-15Fix unused return value warningDavid Robillard1-2/+3
2022-11-12Fix zix_current_path() on systems with a static PATH_MAXDavid Robillard1-1/+2
2022-11-02Add missing includeDavid Robillard1-0/+1
2022-11-01Add missing pure and const function attributesDavid Robillard1-0/+1
It seems that certain versions and/or configurations of gcc warn about these for static functions, which is annoying, but whatever.
2022-10-23Add filesystem APIDavid Robillard2-0/+470
2022-10-23Split up platform sourcesDavid Robillard2-0/+123
This puts more onus on the build system to do things properly, but it's still easy enough to build, even manually: all the files in the appropriate system subdirectory just need to be included in the build. Otherwise, the several nested levels of preprocessor conditionals get confusing, and clang-format doesn't format code properly.