feature: update fs.h to include stddef.h and clarify timestamp type documentation
This commit is contained in:
parent
0db765dc98
commit
710f231a47
1 changed files with 2 additions and 2 deletions
|
|
@ -2,6 +2,7 @@
|
|||
#include "platform.h"
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stddef.h>
|
||||
|
||||
DRANG_BEGIN_DECLS
|
||||
|
||||
|
|
@ -59,8 +60,7 @@ typedef uint32_t drang_fs_permissions_t;
|
|||
/**
|
||||
* @brief File system timestamp type.
|
||||
*
|
||||
* Represents file timestamps as 64-bit values. The specific format
|
||||
* and epoch may be platform-dependent.
|
||||
* Represents 64-bits of time in seconds since the Unix epoch (1970-01-01 00:00:00 UTC).
|
||||
*/
|
||||
typedef uint64_t drang_fs_time_t;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue