2019-01-01 20:46:06 +01:00
|
|
|
//----------------------------------------------------------------------------//
|
|
|
|
// GNU GPL OS/K //
|
|
|
|
// //
|
|
|
|
// Authors: spectral` //
|
|
|
|
// NeoX //
|
|
|
|
// //
|
2019-01-14 14:31:49 +01:00
|
|
|
// Desc: strto(u)l functions //
|
2019-01-01 20:46:06 +01:00
|
|
|
//----------------------------------------------------------------------------//
|
|
|
|
|
|
|
|
#include <kaleid.h>
|
|
|
|
|
2019-01-14 14:31:49 +01:00
|
|
|
long strtol(const char *str, char **endp, int base) {
|
|
|
|
(void)str;
|
|
|
|
(void)endp;
|
|
|
|
(void)base;
|
2019-01-14 23:16:26 +01:00
|
|
|
__set_errno(ENOSYS);
|
2019-01-14 14:31:49 +01:00
|
|
|
return 0;
|
2019-01-01 20:46:06 +01:00
|
|
|
}
|
|
|
|
|
2019-01-14 14:31:49 +01:00
|
|
|
ulong strtoul(const char *str, char **endp, int base) {
|
|
|
|
(void)str;
|
|
|
|
(void)endp;
|
|
|
|
(void)base;
|
2019-01-14 23:16:26 +01:00
|
|
|
__set_errno(ENOSYS);
|
2019-01-14 14:31:49 +01:00
|
|
|
return 0;
|
2019-01-01 20:46:06 +01:00
|
|
|
}
|
|
|
|
|