improve and beautify syscalls

This commit is contained in:
Meco Man
2021-02-21 18:20:45 +08:00
parent 3ebb48fae1
commit 19ef112016
3 changed files with 42 additions and 23 deletions

View File

@@ -15,7 +15,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