summaryrefslogtreecommitdiffstats
path: root/stat.h
Commit message (Collapse)AuthorAgeFilesLines
* stat: Don't assume blocks are 512 bytesTavian Barnes2018-07-241-1/+11
| | | | | | | | | | | | POSIX says > The unit for the st_blocks member of the stat structure is not defined > within POSIX.1‐2008. and recommends using DEV_BSIZE from <sys/param.h> if available. Also, for -printf '%S', print 1 instead of NaN for empty files with no blocks.
* stat: New wrapper around the stat() familyTavian Barnes2018-01-081-0/+94
This lets bfs transparently support the new statx() system call on Linux, giving it access to file birth times.