(my)TinyLibC 0.0.1
little tiny pretty lib c
Loading...
Searching...
No Matches
tlcstdlibs.h
Go to the documentation of this file.
1/*
2** EPITECH PROJECT, 2022
3** (my) Tiny Lib C
4** File description:
5** prototypes of stdlibs part
6*/
7
8#ifndef TLS_STDLIBS_H_
9 #define TLS_STDLIBS_H_
10
18int x_atoi(const char *x);
19
30int atoi_base(const char *nb, const char *base);
31
39char *x_calloc(int n);
40
48char **x_ccalloc(int n);
49
57char *x_itoa(int x);
58
69char *itoa_base(int nb, char const *base);
70
78double x_atod(char const *str);
79
88double x_atod_err(char const *str, int *is_error);
89
97float x_atof(const char *str);
98
107float x_atof_err(char const *str, int *is_error);
108
109#endif
float x_atof(const char *str)
string (in base 10) to float
double x_atod_err(char const *str, int *is_error)
string (in base 10) to double
char * x_itoa(int x)
int to string (malloc'd) in base 10 (0123456789)
double x_atod(char const *str)
string (in base 10) to double
char * itoa_base(int nb, char const *base)
int to string (malloc'd) in base len(base) (base)
int atoi_base(const char *nb, const char *base)
string (in custom base) to int
float x_atof_err(char const *str, int *is_error)
string (in base 10) to float
int x_atoi(const char *x)
string (in base 10) to int
char ** x_ccalloc(int n)
malloc n char * and fill with 0
char * x_calloc(int n)
malloc n char and fill with 0