[kernel] add rt_ssize_t data structure

This commit is contained in:
Meco Man
2022-09-12 15:05:53 -04:00
committed by guo
parent 1249bc45f9
commit 981e721c3b
2 changed files with 10 additions and 13 deletions

View File

@@ -27,11 +27,7 @@ typedef unsigned short uid_t;
typedef unsigned short gid_t;
typedef signed long off_t;
typedef int mode_t;
#ifndef ARCH_CPU_64BIT
typedef signed int ssize_t; /* Used for a count of bytes or an error indication. */
#else
typedef long signed int ssize_t; /* Used for a count of bytes or an error indication. */
#endif
typedef signed long ssize_t; /* Used for a count of bytes or an error indication. */
typedef unsigned long __timer_t;
typedef __timer_t timer_t;
typedef long suseconds_t; /* microseconds. */