Update libc

This commit is contained in:
Alex 2023-06-12 00:46:35 +03:00
parent 964d5fa2d0
commit b10d76cd53
Signed by untrusted user who does not match committer: enderice2
GPG Key ID: EACC3AD603BAB4DD
2 changed files with 13 additions and 0 deletions

View File

@ -10,6 +10,7 @@
#endif // !PRIVATE
typedef int __pid_t;
typedef int __ssize_t;
typedef unsigned int __id_t;
typedef unsigned int __useconds_t;
@ -28,4 +29,9 @@ typedef __useconds_t useconds_t;
#define __useconds_t_defined
#endif
#ifndef __ssize_t_defined
typedef __ssize_t ssize_t;
#define __ssize_t_defined
#endif
#endif

View File

@ -17,6 +17,13 @@ typedef struct
#include <bits/waitstatus.h>
#define WCONTINUED 1
#define WNOHANG 2
#define WUNTRACED 4
#define WEXITED 8
#define WNOWAIT 16
#define WSTOPPED 32
/**
* @brief Macro for extracting the exit status from a status value.
*