diff options
| author | Meco Man <[email protected]> | 2021-02-21 18:20:45 +0800 |
|---|---|---|
| committer | Meco Man <[email protected]> | 2021-02-21 18:20:45 +0800 |
| commit | 19ef11201620038724b9ce0c464f63713134fc2b (patch) | |
| tree | e3d0ce9813d7ade76c80d26a281dfa9db36184d1 /components/libc/compilers/dlib | |
| parent | 3ebb48fae1c7765670bf248c80e12e657aa4f040 (diff) | |
improve and beautify syscalls
Diffstat (limited to 'components/libc/compilers/dlib')
| -rw-r--r-- | components/libc/compilers/dlib/sys/types.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/components/libc/compilers/dlib/sys/types.h b/components/libc/compilers/dlib/sys/types.h index 7dbeddcaa9..3af15ba251 100644 --- a/components/libc/compilers/dlib/sys/types.h +++ b/components/libc/compilers/dlib/sys/types.h @@ -14,7 +14,9 @@ typedef int32_t clockid_t; typedef int32_t key_t; /* Used for interprocess communication. */ -typedef int32_t pid_t; /* Used for process IDs and process group IDs. */ +typedef int pid_t; /* Used for process IDs and process group IDs. */ +typedef unsigned short uid_t; +typedef unsigned short gid_t; #ifndef ARCH_CPU_64BIT typedef signed int ssize_t; /* Used for a count of bytes or an error indication. */ #else |
