forked from Bananymous/banan-os
LibC: add more types to sys/types.h
This commit is contained in:
parent
dd046b1ace
commit
441999ba9f
|
@ -1,5 +1,6 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#include <stddef.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
|
|
||||||
|
@ -7,15 +8,19 @@ __BEGIN_DECLS
|
||||||
|
|
||||||
typedef int32_t blkcnt_t;
|
typedef int32_t blkcnt_t;
|
||||||
typedef int32_t blksize_t;
|
typedef int32_t blksize_t;
|
||||||
|
typedef uint64_t clock_t;
|
||||||
|
typedef int32_t clockid_t;
|
||||||
typedef uint64_t dev_t;
|
typedef uint64_t dev_t;
|
||||||
typedef uint32_t ino_t;
|
typedef uint32_t ino_t;
|
||||||
typedef uint16_t mode_t;
|
typedef uint16_t mode_t;
|
||||||
typedef uint32_t nlink_t;
|
typedef uint32_t nlink_t;
|
||||||
typedef int64_t off_t;
|
typedef int64_t off_t;
|
||||||
typedef uint64_t time_t;
|
typedef uint64_t time_t;
|
||||||
|
typedef uint64_t timer_t;
|
||||||
typedef int32_t id_t;
|
typedef int32_t id_t;
|
||||||
typedef id_t pid_t;
|
typedef id_t pid_t;
|
||||||
typedef id_t uid_t;
|
typedef id_t uid_t;
|
||||||
typedef id_t gid_t;
|
typedef id_t gid_t;
|
||||||
|
typedef int64_t ssize_t;
|
||||||
|
|
||||||
__END_DECLS
|
__END_DECLS
|
Loading…
Reference in New Issue