new types!

This commit is contained in:
Gitea 2020-12-16 14:06:16 -06:00
parent b5e059fc03
commit 3dc05967d3
7 changed files with 44 additions and 0 deletions

View File

@ -19,6 +19,14 @@
#include <types/off_t.h>
#include <types/mode_t.h>
#include <types/nlink_t.h>
#include <types/blkcnt_t.h>
#include <types/blksize_t.h>
#include <types/fsblkcnt_t.h>
#include <types/fsfilcnt_t.h>
#include <types/ino_t.h>
#include <types/id_t.h>
#include <types/uid_t.h>

6
include/types/blkcnt_t.h Normal file
View File

@ -0,0 +1,6 @@
#ifndef _TYPES_BLKCNT_T_H
#define _TYPES_BLKCNT_T_H
typedef long int blkcnt_t;
#endif

View File

@ -0,0 +1,6 @@
#ifndef _TYPES_BLKSIZE_T_H
#define _TYPES_BLKSIZE_T_H
typedef long int blksize_t;
#endif

View File

@ -0,0 +1,6 @@
#ifndef _TYPES_FSBLKCNT_T_H
#define _TYPES_FSBLKCNT_T_H
typedef unsigned long int fsblkcnt_t;
#endif

View File

@ -0,0 +1,6 @@
#ifndef _TYPES_FSFILCNT_T_H
#define _TYPES_FSFILCNT_T_H
typedef unsigned long int fsfilcnt_t;
#endif

6
include/types/ino_t.h Normal file
View File

@ -0,0 +1,6 @@
#ifndef _TYPES_INO_T_H
#define _TYPES_INO_T_H
typedef unsigned long long int ino_t;
#endif

6
include/types/nlink_t.h Normal file
View File

@ -0,0 +1,6 @@
#ifndef _TYPES_NLINK_T_H
#define _TYPES_NLINK_T_H
typedef long int nlink_t;
#endif