Browse Source

implement pid_t gettid(void)

Meco Man 4 years ago
parent
commit
cb7fa8fcea
1 changed files with 1 additions and 3 deletions
  1. 1 3
      components/libc/compilers/common/none-gcc/sys/unistd.h

+ 1 - 3
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);