42_minishell/minish.h
2024-04-23 16:46:55 +02:00

24 lines
405 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>
# include "libft.h"
///// PATH /////
// Get the PATH values.
// Return a list of strings ended by NULL.
char **get_path(char **envp);
// ??? TODO
int search_path(char **path);
// Copy the path list.
char **cp_path(char **path);
#endif