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

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()

static int isspace ( int _c)
static

Definition at line 16 of file mos_stdlib.c.

Referenced by atoi().

◆ strtoul()

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

Definition at line 63 of file mos_stdlib.c.

+ Here is the call graph for this function: