mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-07-12 15:59:17 +00:00
userspace/libc_test: add test functions for various libc components
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
This commit is contained in:
@ -16,3 +16,11 @@
|
||||
*/
|
||||
|
||||
#include <errno.h>
|
||||
|
||||
int test_strerror(void)
|
||||
{
|
||||
char *enosys = strerror(ENOSYS);
|
||||
if (enosys == ((void *)0))
|
||||
return -1;
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user