diff options
| author | Meco Man <[email protected]> | 2021-04-26 14:34:26 +0800 |
|---|---|---|
| committer | Meco Man <[email protected]> | 2021-04-26 14:34:26 +0800 |
| commit | cb7fa8fceaf5b9e2aacaee132ce5bb0ad49c92aa (patch) | |
| tree | d191365cec65af8dd7cd0d85e1a4a6e8ad6a969e /components/libc/compilers/common | |
| parent | 19347ed454621161caf4186f1a52ec656c3dc58f (diff) | |
implement pid_t gettid(void)
Diffstat (limited to 'components/libc/compilers/common')
| -rw-r--r-- | components/libc/compilers/common/none-gcc/sys/unistd.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/components/libc/compilers/common/none-gcc/sys/unistd.h b/components/libc/compilers/common/none-gcc/sys/unistd.h index 7752a1caf7..2f01f660b3 100644 --- a/components/libc/compilers/common/none-gcc/sys/unistd.h +++ b/components/libc/compilers/common/none-gcc/sys/unistd.h @@ -66,13 +66,11 @@ #endif - int isatty (int fd); char * ttyname (int desc); - unsigned int sleep(unsigned int seconds); int usleep(useconds_t usec); - +pid_t gettid(void); pid_t getpid(void); pid_t getppid(void); uid_t getuid(void); |
