diff options
Diffstat (limited to 'kernel/src/utils/linux.hpp')
| -rw-r--r-- | kernel/src/utils/linux.hpp | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/kernel/src/utils/linux.hpp b/kernel/src/utils/linux.hpp new file mode 100644 index 0000000..0fb2ab6 --- /dev/null +++ b/kernel/src/utils/linux.hpp @@ -0,0 +1,21 @@ +#pragma once +#include <cstdint> + +typedef uint64_t dev_t; +typedef uint64_t ino_t; + +typedef uint32_t mode_t; +typedef uint64_t nlink_t; +typedef uint32_t uid_t; +typedef uint32_t gid_t; + +typedef int64_t off_t; +typedef int64_t blksize_t; +typedef int64_t blkcnt_t; + +typedef int64_t time_t; + +struct timespec { + time_t tv_sec; + long tv_nsec; +};
\ No newline at end of file |
