diff options
| author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-10-03 17:06:53 +0200 |
|---|---|---|
| committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-10-03 17:06:53 +0200 |
| commit | 4cf209d8b88da70b6f8d4be096a2ef6140cb81a9 (patch) | |
| tree | 96808f82e989035927ee6e1c58976f47993600f2 /src/u_path.h | |
| parent | Normed u_parse (diff) | |
| download | 42-minishell-4cf209d8b88da70b6f8d4be096a2ef6140cb81a9.tar.gz 42-minishell-4cf209d8b88da70b6f8d4be096a2ef6140cb81a9.tar.bz2 42-minishell-4cf209d8b88da70b6f8d4be096a2ef6140cb81a9.tar.xz 42-minishell-4cf209d8b88da70b6f8d4be096a2ef6140cb81a9.tar.zst 42-minishell-4cf209d8b88da70b6f8d4be096a2ef6140cb81a9.zip | |
Normed u_path
Diffstat (limited to 'src/u_path.h')
| -rw-r--r-- | src/u_path.h | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/src/u_path.h b/src/u_path.h index 0c8e256..6224558 100644 --- a/src/u_path.h +++ b/src/u_path.h @@ -10,12 +10,18 @@ /* */ /* ************************************************************************** */ -#ifndef U_PATH_H -#define U_PATH_H +#ifndef FT_U_PATH_H +# define FT_U_PATH_H -#include <stdint.h> +# include <stddef.h> -#include "s_struct.h" +# include "s_struct.h" + +struct s_path +{ + char *tok_path; + size_t dstsize; +}; uint8_t u_search_in_path(char fullpath[], const char com[], |
