24 lines
405 B
C
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
|