summaryrefslogtreecommitdiff
path: root/components/libc
diff options
context:
space:
mode:
authorMeco Man <[email protected]>2021-04-26 14:34:26 +0800
committerMeco Man <[email protected]>2021-04-26 14:34:26 +0800
commitcb7fa8fceaf5b9e2aacaee132ce5bb0ad49c92aa (patch)
treed191365cec65af8dd7cd0d85e1a4a6e8ad6a969e /components/libc
parent19347ed454621161caf4186f1a52ec656c3dc58f (diff)
implement pid_t gettid(void)
Diffstat (limited to 'components/libc')
-rw-r--r--components/libc/compilers/common/none-gcc/sys/unistd.h4
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);