inttypes.h 864 B

1234567891011121314151617181920212223242526272829303132
  1. /*
  2. * This file is part of the UCB release of Plan 9. It is subject to the license
  3. * terms in the LICENSE file found in the top-level directory of this
  4. * distribution and at http://akaros.cs.berkeley.edu/files/Plan9License. No
  5. * part of the UCB release of Plan 9, including this file, may be copied,
  6. * modified, propagated, or distributed except according to the terms contained
  7. * in the LICENSE file.
  8. */
  9. #ifndef _SUSV2_SOURCE
  10. #error "inttypes.h is SUSV2"
  11. #endif
  12. #ifndef _INTTYPES_H_
  13. #define _INTTYPES_H_ 1
  14. typedef int _intptr_t;
  15. typedef unsigned int _uintptr_t;
  16. typedef char int8_t;
  17. typedef short int16_t;
  18. typedef int int32_t;
  19. typedef long long int64_t;
  20. typedef unsigned char uint8_t;
  21. typedef unsigned short uint16_t;
  22. typedef unsigned int uint32_t;
  23. typedef unsigned long long uint64_t;
  24. typedef _intptr_t intptr_t;
  25. typedef _uintptr_t uintptr_t;
  26. #endif