From f0023fb42c6387fc2d475e028a45837a3f9a2d48 Mon Sep 17 00:00:00 2001 From: Meco Man <920369182@qq.com> Date: Sun, 7 Nov 2021 20:46:17 -0500 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4gettid=E7=AD=89=E4=B8=8D?= =?UTF-8?q?=E7=AC=A6=E5=90=88PSE51=E7=9A=84=E5=87=BD=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/libc/posix/src/unistd.c | 42 ------------------------------ 1 file changed, 42 deletions(-) diff --git a/components/libc/posix/src/unistd.c b/components/libc/posix/src/unistd.c index ef2df2c2f..99ff76873 100644 --- a/components/libc/posix/src/unistd.c +++ b/components/libc/posix/src/unistd.c @@ -1000,45 +1000,3 @@ int usleep(useconds_t usec) return 0; } RTM_EXPORT(usleep); - -pid_t gettid(void) -{ - /*TODO*/ - return 0; -} - -pid_t getpid(void) -{ - return gettid(); -} -RTM_EXPORT(getpid); - -pid_t getppid(void) -{ - return 0; -} -RTM_EXPORT(getppid); - -uid_t getuid(void) -{ - return 0; /*ROOT*/ -} -RTM_EXPORT(getuid); - -uid_t geteuid(void) -{ - return 0; /*ROOT*/ -} -RTM_EXPORT(geteuid); - -gid_t getgid(void) -{ - return 0; /*ROOT*/ -} -RTM_EXPORT(getgid); - -gid_t getegid(void) -{ - return 0; /*ROOT*/ -} -RTM_EXPORT(getegid); -- GitLab