[components][libc][compilers][newlib]添加getuid和umask函数
This commit is contained in:
parent
60f2ae4d3c
commit
8ed3daed5f
|
@ -442,3 +442,14 @@ void abort(void)
|
|||
|
||||
while (1);
|
||||
}
|
||||
|
||||
uid_t getuid(void)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
mode_t umask(mode_t mask)
|
||||
{
|
||||
return 022;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue