#ifndef _SYS_TYPES_H
#define _SYS_TYPES_H

#include <stdint.h>

// Standard signed and unsigned size primitives
typedef int32_t  ssize_t;
typedef uint32_t size_t;

// Process and Thread IDs
typedef int32_t  pid_t;
typedef int32_t  id_t;

// File system block and reference markers
typedef int32_t  blkcnt_t;
typedef int32_t  blksize_t;
typedef uint32_t dev_t;
typedef uint32_t gid_t;
typedef uint32_t ino_t;
typedef uint32_t mode_t;
typedef uint32_t nlink_t;
typedef int32_t  off_t;
typedef uint32_t uid_t;

// Clock and Timing fields
typedef int32_t  time_t;
typedef int32_t  clock_t;

#endif /* _SYS_TYPES_H */