[components][libc][compilers][newlib]添加getuid和umask函数

This commit is contained in:
zhangjun 2019-09-26 11:27:37 +08:00
parent 60f2ae4d3c
commit 8ed3daed5f
1 changed files with 11 additions and 0 deletions

View File

@ -442,3 +442,14 @@ void abort(void)
while (1);
}
uid_t getuid(void)
{
return 0;
}
mode_t umask(mode_t mask)
{
return 022;
}