1*c34da317SVincent Dagonneau /* SPDX-License-Identifier: LGPL-2.1 OR MIT */ 2*c34da317SVincent Dagonneau /* 3*c34da317SVincent Dagonneau * Standard definitions and types for NOLIBC 4*c34da317SVincent Dagonneau * Copyright (C) 2023 Vincent Dagonneau <v@vda.io> 5*c34da317SVincent Dagonneau */ 6*c34da317SVincent Dagonneau 7*c34da317SVincent Dagonneau #ifndef _NOLIBC_STDINT_H 8*c34da317SVincent Dagonneau #define _NOLIBC_STDINT_H 9*c34da317SVincent Dagonneau 10*c34da317SVincent Dagonneau typedef unsigned char uint8_t; 11*c34da317SVincent Dagonneau typedef signed char int8_t; 12*c34da317SVincent Dagonneau typedef unsigned short uint16_t; 13*c34da317SVincent Dagonneau typedef signed short int16_t; 14*c34da317SVincent Dagonneau typedef unsigned int uint32_t; 15*c34da317SVincent Dagonneau typedef signed int int32_t; 16*c34da317SVincent Dagonneau typedef unsigned long long uint64_t; 17*c34da317SVincent Dagonneau typedef signed long long int64_t; 18*c34da317SVincent Dagonneau typedef unsigned long size_t; 19*c34da317SVincent Dagonneau typedef signed long ssize_t; 20*c34da317SVincent Dagonneau typedef unsigned long uintptr_t; 21*c34da317SVincent Dagonneau typedef signed long intptr_t; 22*c34da317SVincent Dagonneau typedef signed long ptrdiff_t; 23*c34da317SVincent Dagonneau 24*c34da317SVincent Dagonneau #endif /* _NOLIBC_STDINT_H */ 25