#include "ft_print.h"#include "ft_printf.h"#include <errno.h>#include <fcntl.h>#include <string.h>
Functions | |
| int | safe_open (char *file_name) |
| Try to open the map file specified by map_name. | |
| int | safe_close (int *fd) |
| Close safely the file descriptor Modify the file descriptor to -1 after closing it. | |