ca compiiiiiile
This commit is contained in:
parent
3b2980708d
commit
49f160bf49
2 changed files with 2 additions and 10 deletions
|
|
@ -6,20 +6,12 @@
|
||||||
/* By: jhalford <jack@crans.org> +#+ +:+ +#+ */
|
/* By: jhalford <jack@crans.org> +#+ +:+ +#+ */
|
||||||
/* +#+#+#+#+#+ +#+ */
|
/* +#+#+#+#+#+ +#+ */
|
||||||
/* Created: 2017/03/25 01:10:56 by jhalford #+# #+# */
|
/* Created: 2017/03/25 01:10:56 by jhalford #+# #+# */
|
||||||
/* Updated: 2017/03/25 02:02:20 by jhalford ### ########.fr */
|
/* Updated: 2017/03/25 02:19:58 by jhalford ### ########.fr */
|
||||||
/* */
|
/* */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
|
|
||||||
#include "libft.h"
|
#include "libft.h"
|
||||||
|
|
||||||
int is_directory(const char *path)
|
|
||||||
{
|
|
||||||
struct stat path_stat;
|
|
||||||
|
|
||||||
stat(path, &path_stat);
|
|
||||||
return (S_ISDIR(path_stat.st_mode));
|
|
||||||
}
|
|
||||||
|
|
||||||
int open_access(char *file, t_flag a_flag, t_flag o_flag, t_flag o_perm)
|
int open_access(char *file, t_flag a_flag, t_flag o_flag, t_flag o_perm)
|
||||||
{
|
{
|
||||||
int fd;
|
int fd;
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
/* By: wescande <wescande@student.42.fr> +#+ +:+ +#+ */
|
/* By: wescande <wescande@student.42.fr> +#+ +:+ +#+ */
|
||||||
/* +#+#+#+#+#+ +#+ */
|
/* +#+#+#+#+#+ +#+ */
|
||||||
/* Created: 2017/01/30 12:07:16 by wescande #+# #+# */
|
/* Created: 2017/01/30 12:07:16 by wescande #+# #+# */
|
||||||
/* Updated: 2017/03/25 01:39:50 by jhalford ### ########.fr */
|
/* Updated: 2017/03/25 02:19:43 by jhalford ### ########.fr */
|
||||||
/* */
|
/* */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue