Skip to content

Vivelis/libmy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

libmy

libmy library for epitech

how_to_use_it

Do not touch to the lib folder.
The first Makefile is an exemple and can be used to create your own.
You can re-use the repos structure.
Don't forget to include libmy header that you can find in lib/headers/my.h.
Don't forget to include lib/headers/printf.h to use printf.

functions

void my_putchar(char c);
char *my_strstr(char *str, char const *to_find);
int my_strcmp(char const *s1, char const *s2);
int my_putnbr(int nb);
int my_strncmp(char const *s1, char const *s2, int n);
void my_swap(int *a, int *b);
char *my_strupcase(char *str);
void my_putstr(char const *str);
char *my_strlowcase(char *str);
int my_strlen(char const *str);
char *my_strcapitalize(char *str);
int my_getnbr(char const *str);
void my_sort_int_array(int *tab, int size);
int my_str_isnum(char const *str);
int my_compute_power_rec(int nb, int power);
int my_str_islower(char const *str);
int my_compute_square_root(int nb);
int my_str_isupper(char const *str);
char my_is_prime(int nb);
int my_str_isprintable(char const *str);
int my_find_prime_sup(int nb);
int my_showstr(char const *str);
char *my_strcpy(char *dest, char const *src);
char *my_strncpy(char *dest, char const *src, int n);
char *my_strcat(char *dest, char const *src);
char *my_revstr(char *str);
char *my_strncat(char *dest, char const *src, int nb);
int str_len(char *str);
char *my_strdup(char const *src);
void my_memset(char *s, char c, int n);
int my_strtol(char *str, int *end_index);
int unsigned_nbr_to_int(char *str_nbr);
char *dup_nchar(char *str, int n);
char is_number(char input);
int my_revstrtol(char *str, int *start);
char *my_inttos(int nbr);
int my_printf(const char *format, ...);
int my_puterror(char *str, int error_num);
int do_strmalloc(char **str, long size);