summaryrefslogtreecommitdiff
path: root/kernel/src/utils/linux.hpp
blob: 0fb2ab63e934c6693a294e2542f80bbb599a5677 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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; 
};