libc: Stub out tmpfile() as well as add an empty math.h
This commit is contained in:
parent
58b01b74e2
commit
b615166373
0
libs/libc/include/math.h
Normal file
0
libs/libc/include/math.h
Normal file
@ -162,6 +162,8 @@ extern "C"
|
|||||||
|
|
||||||
int remove(const char* pathname); // Not implemented.
|
int remove(const char* pathname); // Not implemented.
|
||||||
|
|
||||||
|
FILE* tmpfile(void); // Not implemented.
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
@ -58,4 +58,10 @@ extern "C"
|
|||||||
{
|
{
|
||||||
NOT_IMPLEMENTED("sscanf");
|
NOT_IMPLEMENTED("sscanf");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
FILE* tmpfile()
|
||||||
|
{
|
||||||
|
errno = ENOTSUP;
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user