Skip to content

Commit

Permalink
docs: arrangement according to the title
Browse files Browse the repository at this point in the history
  • Loading branch information
facetint committed Apr 2, 2024
1 parent 614d701 commit 1ebd49f
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions includes/env.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
/* By: facetint <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/03/31 09:27:13 by hamza #+# #+# */
/* Updated: 2024/04/02 17:01:45 by facetint ### ########.fr */
/* Updated: 2024/04/02 17:34:27 by facetint ### ########.fr */
/* */
/* ************************************************************************** */

Expand All @@ -21,16 +21,19 @@ typedef struct s_entry
char *value;
} t_entry;

// env
t_list *to_node(char *env);
t_list *to_list(char **env);
char **to_arr(t_list *lst);
void builtin_env(t_list *env, int fd[2]);
t_list **get_global_env(void);
char *ft_unsafe_substr(char const *s, unsigned int start, size_t len);
t_list **get_env(void);
t_list *create_node(char *key, char *value);
void free_list(t_list *lst);
char *find_env(char *key);
void unset_env(char *varname);
t_list *find_node(t_list *env, char *key);

void free_list(t_list *lst);
// builtin
void builtin_env(t_list *env, int fd[2]);
void unset_env(char *varname);
char *ft_unsafe_substr(char const *s, unsigned int start, size_t len);

#endif

0 comments on commit 1ebd49f

Please sign in to comment.