mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-12-26 17:18:24 +00:00
[components][libc][compilers][newlib]添加getuid和umask函数
This commit is contained in:
@@ -442,3 +442,14 @@ void abort(void)
|
||||
|
||||
while (1);
|
||||
}
|
||||
|
||||
uid_t getuid(void)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
mode_t umask(mode_t mask)
|
||||
{
|
||||
return 022;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user