42_minishell/utils/utils.h

13 lines
371 B
C

#ifndef FT_UTILS
# define FT_UTILS
# include <stdlib.h>
# include "../libftx/libftx.h"
size_t ft_strncpy(char *dst, const char *src, size_t n);
int ft_is_in_quote(const char *str, size_t n);
char *ft_strreplace(char *str, const char *fill, size_t start, size_t stop);
ssize_t ft_strnchr(const char *str, char c);
char *ft_getstr(const char *str, size_t n);
#endif