From 3ebb48fae1c7765670bf248c80e12e657aa4f040 Mon Sep 17 00:00:00 2001 From: Meco Man <920369182@qq.com> Date: Sun, 21 Feb 2021 18:05:47 +0800 Subject: [PATCH] add comment --- components/libc/compilers/common/unistd.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/components/libc/compilers/common/unistd.c b/components/libc/compilers/common/unistd.c index b3efc386e9..0966242e55 100644 --- a/components/libc/compilers/common/unistd.c +++ b/components/libc/compilers/common/unistd.c @@ -52,6 +52,7 @@ RTM_EXPORT(usleep); pid_t getpid(void) { + /*TODO*/ return 0; } RTM_EXPORT(getpid); @@ -64,24 +65,24 @@ RTM_EXPORT(getppid); uid_t getuid(void) { - return 0; + return 0; /*ROOT*/ } RTM_EXPORT(getuid); uid_t geteuid(void) { - return 0; + return 0; /*ROOT*/ } RTM_EXPORT(geteuid); gid_t getgid(void) { - return 0; + return 0; /*ROOT*/ } RTM_EXPORT(getgid); gid_t getegid(void) { - return 0; + return 0; /*ROOT*/ } RTM_EXPORT(getegid);