MOS Source Code
Loading...
Searching...
No Matches
mos_stdlib.cpp File Reference
#include "mos_stdlib.hpp"
#include <mos/types.h>
#include <mos_stdio.hpp>
#include <mos_string.hpp>
Include dependency graph for mos_stdlib.cpp:

Go to the source code of this file.

Functions

unsigned char tolower (unsigned char c)
static int isspace (int _c)
s32 abs (s32 x)
long labs (long x)
s64 llabs (s64 x)
s32 atoi (const char *nptr)
unsigned long strtoul (const char *__restrict nptr, char **__restrict endptr, int base)
s64 strtoll (const char *str, char **endptr, int base)
s64 strntoll (const char *str, char **endptr, int base, size_t n)
void format_size (char *buf, size_t buf_size, u64 size)
char * string_trim (char *in)

Function Documentation

◆ isspace()

int isspace ( int _c)
static

Definition at line 20 of file mos_stdlib.cpp.

Referenced by atoi().

◆ strtoul()

unsigned long strtoul ( const char *__restrict nptr,
char **__restrict endptr,
int base )

Definition at line 67 of file mos_stdlib.cpp.

Here is the call graph for this function: