diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2019-02-01 00:04:33 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2019-02-09 17:06:38 -0500 |
commit | d64db6bad79e10f92c56e5572d6ae9072d62b3a3 (patch) | |
tree | f1f334c165afecd1907e9c4cf377878ba172c35a /stat.h | |
parent | 563b5f9d48e54dc2f5d61a23ce2171e005da201a (diff) | |
download | bfs-d64db6bad79e10f92c56e5572d6ae9072d62b3a3.tar.xz |
Add some documentation comments
Diffstat (limited to 'stat.h')
-rw-r--r-- | stat.h | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -1,6 +1,6 @@ /**************************************************************************** * bfs * - * Copyright (C) 2018 Tavian Barnes <tavianator@tavianator.com> * + * Copyright (C) 2018-2019 Tavian Barnes <tavianator@tavianator.com> * * * * Permission to use, copy, modify, and/or distribute this software for any * * purpose with or without fee is hereby granted. * @@ -14,6 +14,14 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * ****************************************************************************/ +/** + * A facade over the stat() API that unifies some details that diverge between + * implementations, like the names of the timespec fields and the presence of + * file "birth" times. On new enough Linux kernels, the facade is backed by + * statx() instead, and so it exposes a similar interface with a mask for which + * fields were successfully returned. + */ + #ifndef BFS_STAT_H #define BFS_STAT_H |