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);