summaryrefslogtreecommitdiffstats
path: root/src/stat.h
Commit message (Collapse)AuthorAgeFilesLines
* Write @arg instead of @param arg in doc commentsTavian Barnes2024-10-011-4/+4
|
* build: Move feature test macros to prelude.hTavian Barnes2024-08-281-2/+0
| | | | | | This replaces the explicit CPPFLAGS list in flags.mk with just `-include src/prelude.h`, shortening our compiler command lines and allowing them to be easily documented.
* prelude: Split bfs-specific utilities into new bfs.h headerTavian Barnes2024-08-281-0/+3
|
* prelude: Rely more on __has_include()Tavian Barnes2024-08-281-1/+1
| | | | | Rather than a bunch of manual fallback macros, just provide a fallback definition that returns false.
* config: Check for statx()Tavian Barnes2024-04-191-6/+2
|
* Rename config.h to prelude.hTavian Barnes2024-04-191-1/+1
|
* stat: Pack struct bfs_stat a bitTavian Barnes2024-02-141-17/+16
|
* stat: Expose bfs_{fstatat,statx}_flags()Tavian Barnes2024-01-181-0/+10
|
* stat: Expose bfs_stat{,x}_convert()Tavian Barnes2024-01-181-8/+33
|
* style: Don't use tabs to indent preprocessor directivesTavian Barnes2023-05-031-4/+4
|
* Replace license boilerplate with SPDX tagsTavian Barnes2023-01-251-15/+2
| | | | | | | And while I'm at it, remove years from copyright declarations. Link: https://spdx.dev/about/ Link: https://daniel.haxx.se/blog/2023/01/08/copyright-without-years/
* config: Split out some of util.h into a new headerTavian Barnes2022-11-061-1/+1
|
* util: Get rid of BFS_HAS_INCLUDE() wrapper for __has_include()Tavian Barnes2022-11-061-1/+1
| | | | | | | | | Since __has_include() needs special preprocessing rules (e.g. not expanding `linux` in `__has_include(<linux/stat.h>)`, macros that expand to __has_include() do not necessarily behave correctly. Instead, we have to directly test `#if __has_include(...)`. See https://bugs.llvm.org/show_bug.cgi?id=37990 for more details.
* Source / Include Folder (#88)トトも2022-04-161-0/+155
Moved Source Files Into `src` Folder