Minishell
 
Loading...
Searching...
No Matches
tmp_generator.c File Reference
#include "file.h"
#include "garbage.h"
#include "libft.h"
#include "ft_printf.h"
#include "minishell.h"
#include <fcntl.h>
#include <stdlib.h>
Include dependency graph for tmp_generator.c:

Functions

t_tmp create_tmp (t_garbage *garbage, char *path, int nbr_try)
 Create a tmp file, verify if it already exist, tries to open it to verify permissions, and returns the result.