summaryrefslogtreecommitdiffstats
path: root/stat.h
AgeCommit message (Collapse)Author
2018-12-25stat: Provide a helper for getting human-readable field namesTavian Barnes
And fix -newerXY if the Y time doesn't exist.
2018-12-20stat: Unify bfs_stat_time() implementationsTavian Barnes
2018-11-08Check for <sys/param.h> before including itTavian Barnes
Fixes #38.
2018-11-01Print device major/minor numbers for -lsTavian Barnes
2018-07-24stat: Don't assume blocks are 512 bytesTavian Barnes
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.
2018-01-08stat: New wrapper around the stat() familyTavian Barnes
This lets bfs transparently support the new statx() system call on Linux, giving it access to file birth times.