summaryrefslogtreecommitdiffstats
path: root/stat.h
Commit message (Collapse)AuthorAgeFilesLines
* Implement -flags, from FreeBSD findTavian Barnes2021-03-061-4/+8
| | | | This is the last BSD-specific primary I'm aware of. Fixes #14.
* Fix up some #includesTavian Barnes2021-02-051-1/+0
|
* stat: Rename bfs_stat_flag to _flagsTavian Barnes2020-09-181-2/+2
| | | | Flags enums should be plural.
* stat: New BFS_STAT_NOSYNC flagTavian Barnes2019-08-291-0/+2
|
* stat: Get rid of bfs_fstat()Tavian Barnes2019-05-041-6/+2
| | | | We can just use bfs_stat() with a NULL at_path.
* stat: Unify the flags argumentsTavian Barnes2019-05-041-3/+18
|
* parse: Use a trie to hold currently open filesTavian Barnes2019-03-061-0/+10
|
* Add some documentation commentsTavian Barnes2019-02-091-1/+9
|
* stat: Provide a helper for getting human-readable field namesTavian Barnes2018-12-251-0/+5
| | | | And fix -newerXY if the Y time doesn't exist.
* stat: Unify bfs_stat_time() implementationsTavian Barnes2018-12-201-0/+5
|
* Check for <sys/param.h> before including itTavian Barnes2018-11-081-1/+5
| | | | Fixes #38.
* Print device major/minor numbers for -lsTavian Barnes2018-11-011-4/+7
|
* 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.