os-k/kaleid/common/strtol.c

28 lines
948 B
C
Raw Normal View History

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;
errno = ENOSYS;
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;
errno = ENOSYS;
return 0;
2019-01-01 20:46:06 +01:00
}