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

Go to the source code of this file.

Macros

#define MIN(a, b)
 
#define MAX(a, b)
 
#define pow2(x)
 

Functions

MOSAPI unsigned char tolower (unsigned char c)
 
MOSAPI s32 abs (s32 x)
 
MOSAPI long labs (long x)
 
MOSAPI s64 llabs (s64 x)
 
MOSAPI s32 atoi (const char *nptr)
 
MOSAPI unsigned long strtoul (const char *nptr, char **endptr, int base)
 
MOSAPI s64 strtoll (const char *str, char **endptr, int base)
 
MOSAPI s64 strntoll (const char *str, char **endptr, int base, size_t n)
 
MOSAPI void format_size (char *buf, size_t buf_size, u64 size)
 
MOSAPI char * string_trim (char *in)
 
MOSAPI pid_t spawn (const char *path, const char *const argv[])
 
MOSAPI void exit (int status)
 
MOSAPI int atexit (void(*func)(void))
 
MOSAPI tid_t start_thread (const char *name, thread_entry_t entry, void *arg)
 
MOSAPI void abort (void)