42_minishell/minish.h
joris schaft 17770aa6ae a
2024-04-23 16:04:24 +02:00

22 lines
No EOL
529 B
C

#ifndef MINISH_H
# define MINISH_H
# include <unistd.h>
# include <fcntl.h>
# include <stdlib.h>
# include <strings.h>
# include <stdio.h>
# include <sys/types.h>
char **get_path(char **envp);
int search_path(char **path);
char **cp_path(char **path);
char *ft_substr(char const *s, unsigned int start, size_t len);
char *ft_strjoin(char const *s1, char const *s2);
int ft_strncmp(char *s1, char *s2, size_t n);
char **ft_split(char const *s, char c);
size_t ft_strlen(char const *s);
char *ft_strdup(const char *s);
#endif