summaryrefslogtreecommitdiffstats
path: root/src/f_fail.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-08-01 21:25:09 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-08-01 21:25:09 +0200
commit8680737a802539f3c21a295ad45eb9be72c73f5f (patch)
tree337018ce1574f425847d5f1c089694f3e0996b1c /src/f_fail.c
parentMakefile update (diff)
download42-minishell-8680737a802539f3c21a295ad45eb9be72c73f5f.tar.gz
42-minishell-8680737a802539f3c21a295ad45eb9be72c73f5f.tar.bz2
42-minishell-8680737a802539f3c21a295ad45eb9be72c73f5f.tar.xz
42-minishell-8680737a802539f3c21a295ad45eb9be72c73f5f.tar.zst
42-minishell-8680737a802539f3c21a295ad45eb9be72c73f5f.zip
More UNIX friendly libft
Diffstat (limited to '')
-rw-r--r--src/f_fail.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/f_fail.c b/src/f_fail.c
index a3a1df1..5e6824f 100644
--- a/src/f_fail.c
+++ b/src/f_fail.c
@@ -49,10 +49,3 @@ void
{
write_fail(concern, FT_FAIL_TOO_MANY_ARGS, msh);
}
-
-void
- f_fail_alloc(t_msh *msh)
-{
- ft_dprintf(STDERR_FILENO, "%s: %s\n", msh->shname, strerror(errno));
- exit(FT_RET_ALLOC);
-}