You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

43 lines
2.0 KiB

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* string.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: hroussea <hroussea@student.42lyon.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2021/02/27 22:27:21 by hroussea #+# #+# */
/* Updated: 2021/09/26 01:19:14 by hroussea ### ########lyon.fr */
/* */
/* ************************************************************************** */
#ifndef STRING_H
# define STRING_H
# include "types.h"
int ft_atoi(const char *str);
int ft_isalnum(int c);
int ft_isalpha(int c);
int ft_isascii(int c);
int ft_isdigit(int c);
int ft_isprint(int c);
int ft_isspace(int c);
void *ft_memchr(const void *s, int c, size_t n);
int ft_memcmp(const void *s1, const void *s2, size_t n);
void *ft_memcpy(void *dst, const void *src, size_t n);
void *ft_memmove(void *dst, const void *src, size_t len);
void *ft_memset(void *b, int c, size_t len);
size_t ft_strlen(char const *str);
char *ft_strchr(const char *s, int c);
int ft_strncmp(const char *s1, const char *s2, size_t n);
char *ft_strjoin(char const *s1, char const *s2);
char *ft_strnstr(const char *haystack, const char *needle, size_t size);
char *ft_itoa(int n);
char **ft_split(char const *s, char c);
char *ft_strdup(const char *s1);
char *ft_strtrim(char const *s1, char const *set);
char *ft_substr(char const *s, unsigned int start, size_t len);
char *ft_strinsert(char const *s1, char const *clipboard, unsigned int idx);
char *ft_strremove(char const *s1, unsigned int start, unsigned int end);
#endif