VSF Documented
Macros | Functions | Variables
vsf_linux_glibc_stdlib.c File Reference
#include "../../vsf_linux_cfg.h"
#include "../../include/unistd.h"
#include "../../include/errno.h"
#include "../../include/fcntl.h"
#include "../../include/spawn.h"
#include "../../include/sys/wait.h"
#include "../../include/simple_libc/stdlib.h"
#include "../../include/simple_libc/malloc.h"
#include <limits.h>
#include "../../include/simple_libc/string.h"

Macros

#define __VSF_LINUX_CLASS_INHERIT__
 

Functions

void __free_ex (vsf_linux_process_t *process, void *ptr)
 
void * ____malloc_ex (vsf_linux_process_t *process, size_t size, const char *file, const char *func, int line)
 
void * ____realloc_ex (vsf_linux_process_t *process, void *p, size_t size, const char *file, const char *func, int line)
 
void * ____calloc_ex (vsf_linux_process_t *process, size_t n, size_t size, const char *file, const char *func, int line)
 
VSF_CAL_NO_RETURN void exit (int status)
 
int atexit (void(*func)(void))
 
VSF_CAL_NO_RETURN void _Exit (int status)
 
int system (const char *cmd)
 
char * mktemps (char *template, int suffixlen)
 
char * mktemp (char *template)
 
int mkostemps (char *template, int suffixlen, int flags)
 
int mkostemp (char *template, int flags)
 
int mkstemps (char *template, int suffixlen)
 
int mkstemp (char *template)
 
char * mkdtemp (char *template)
 
int abs (int j)
 
long labs (long j)
 
long long llabs (long long j)
 
intmax_t imaxabs (intmax_t j)
 
int getloadavg (double loadavg[], int nelem)
 
long strtol (const char *str, char **endptr, int base)
 
long long strtoll (const char *str, char **endptr, int base)
 
unsigned long strtoul (const char *str, char **endptr, int base)
 
unsigned long long strtoull (const char *str, char **endptr, int base)
 
double strtod (const char *str, char **endptr)
 
float strtof (const char *str, char **endptr)
 
int atoi (const char *str)
 
long int atol (const char *str)
 
long long int atoll (const char *str)
 
double atof (const char *str)
 
char * itoa (int num, char *str, int radix)
 
int posix_memalign (void **memptr, size_t alignment, size_t size)
 
int __putenv_ex (vsf_linux_process_t *process, char *string)
 
char * __getenv_ex (vsf_linux_process_t *process, const char *name)
 
int __setenv_ex (vsf_linux_process_t *process, const char *name, const char *value, int replace)
 
int __clearenv_ex (vsf_linux_process_t *process)
 
int putenv (char *string)
 
char * getenv (const char *name)
 
int setenv (const char *name, const char *value, int replace)
 
int unsetenv (const char *name)
 
int clearenv (void)
 
VSF_CAL_NO_RETURN void abort (void)
 
char * realpath (const char *path, char *resolved_path)
 
void * malloc (size_t size)
 
void * realloc (void *p, size_t size)
 
void * calloc (size_t n, size_t size)
 

Variables

__VSF_VPLT_DECORATOR__ vsf_linux_libc_stdlib_vplt_t vsf_linux_libc_stdlib_vplt
 

Macro Definition Documentation

◆ __VSF_LINUX_CLASS_INHERIT__

#define __VSF_LINUX_CLASS_INHERIT__

Function Documentation

◆ __free_ex()

void __free_ex ( vsf_linux_process_t process,
void *  ptr 
)

◆ ____malloc_ex()

void * ____malloc_ex ( vsf_linux_process_t process,
size_t  size,
const char *  file,
const char *  func,
int  line 
)

◆ ____realloc_ex()

void * ____realloc_ex ( vsf_linux_process_t process,
void *  p,
size_t  size,
const char *  file,
const char *  func,
int  line 
)

◆ ____calloc_ex()

void * ____calloc_ex ( vsf_linux_process_t process,
size_t  n,
size_t  size,
const char *  file,
const char *  func,
int  line 
)

◆ exit()

VSF_CAL_NO_RETURN void exit ( int  status)

◆ atexit()

int atexit ( void(*)(void)  func)

◆ _Exit()

VSF_CAL_NO_RETURN void _Exit ( int  status)

◆ system()

int system ( const char *  cmd)

◆ mktemps()

char * mktemps ( char *  template,
int  suffixlen 
)

◆ mktemp()

char * mktemp ( char *  template)

◆ mkostemps()

int mkostemps ( char *  template,
int  suffixlen,
int  flags 
)

◆ mkostemp()

int mkostemp ( char *  template,
int  flags 
)

◆ mkstemps()

int mkstemps ( char *  template,
int  suffixlen 
)

◆ mkstemp()

int mkstemp ( char *  template)

◆ mkdtemp()

char * mkdtemp ( char *  template)

◆ abs()

int abs ( int  j)

◆ labs()

long labs ( long  j)

◆ llabs()

long long llabs ( long long  j)

◆ imaxabs()

intmax_t imaxabs ( intmax_t  j)

◆ getloadavg()

int getloadavg ( double  loadavg[],
int  nelem 
)

◆ strtol()

long strtol ( const char *  str,
char **  endptr,
int  base 
)

◆ strtoll()

long long strtoll ( const char *  str,
char **  endptr,
int  base 
)

◆ strtoul()

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

◆ strtoull()

unsigned long long strtoull ( const char *  str,
char **  endptr,
int  base 
)

◆ strtod()

double strtod ( const char *  str,
char **  endptr 
)

◆ strtof()

float strtof ( const char *  str,
char **  endptr 
)

◆ atoi()

int atoi ( const char *  str)

◆ atol()

long int atol ( const char *  str)

◆ atoll()

long long int atoll ( const char *  str)

◆ atof()

double atof ( const char *  str)

◆ itoa()

char * itoa ( int  num,
char *  str,
int  radix 
)

◆ posix_memalign()

int posix_memalign ( void **  memptr,
size_t  alignment,
size_t  size 
)

◆ __putenv_ex()

int __putenv_ex ( vsf_linux_process_t process,
char *  string 
)

◆ __getenv_ex()

char * __getenv_ex ( vsf_linux_process_t process,
const char *  name 
)

◆ __setenv_ex()

int __setenv_ex ( vsf_linux_process_t process,
const char *  name,
const char *  value,
int  replace 
)

◆ __clearenv_ex()

int __clearenv_ex ( vsf_linux_process_t process)

◆ putenv()

int putenv ( char *  string)

◆ getenv()

char * getenv ( const char *  name)

◆ setenv()

int setenv ( const char *  name,
const char *  value,
int  replace 
)

◆ unsetenv()

int unsetenv ( const char *  name)

◆ clearenv()

int clearenv ( void  )

◆ abort()

VSF_CAL_NO_RETURN void abort ( void  )

◆ realpath()

char * realpath ( const char *  path,
char *  resolved_path 
)

◆ malloc()

void * malloc ( size_t  size)

◆ realloc()

void * realloc ( void *  p,
size_t  size 
)

◆ calloc()

void * calloc ( size_t  n,
size_t  size 
)

Variable Documentation

◆ vsf_linux_libc_stdlib_vplt