RossComputerGuy/stardustos

View on GitHub
libraries/libc/arch/x86/include/sys/types.h

Summary

Maintainability
Test Coverage
/**
    * StardustOS libc - (C) 2019 Tristan Ross
    */
#pragma once

typedef unsigned char uint8_t;
typedef unsigned short uint16_t;
typedef unsigned long uint32_t;
typedef unsigned long long uint64_t;
typedef unsigned long uintptr_t;

typedef signed char int8_t;
typedef signed short int16_t;
typedef signed long int32_t;
typedef signed long long int64_t;

typedef unsigned long long uintmax_t;
typedef signed long long intmax_t;

typedef unsigned int pid_t;
typedef unsigned int uid_t;
typedef unsigned int gid_t;
typedef unsigned int mode_t;
typedef unsigned long off_t;
typedef unsigned long ino_t;
typedef unsigned long blksize_t;
typedef unsigned int blkcnt_t;
typedef unsigned int dev_t;
typedef unsigned int nlink_t;

typedef signed int ssize_t;