summaryrefslogtreecommitdiffstats
path: root/src/f_alloc.h
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_alloc.h
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 'src/f_alloc.h')
-rw-r--r--src/f_alloc.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/f_alloc.h b/src/f_alloc.h
new file mode 100644
index 0000000..34a5e7d
--- /dev/null
+++ b/src/f_alloc.h
@@ -0,0 +1,21 @@
+/* ************************************************************************** */
+/* */
+/* ::: :::::::: */
+/* f_alloc.h :+: :+: :+: */
+/* +:+ +:+ +:+ */
+/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */
+/* +#+#+#+#+#+ +#+ */
+/* Created: 2020/02/14 17:19:27 by rbousset #+# #+# */
+/* Updated: 2020/02/14 17:19:29 by rbousset ### ########lyon.fr */
+/* */
+/* ************************************************************************** */
+
+#ifndef F_ALLOC_H
+#define F_ALLOC_H
+
+#include "s_struct.h"
+
+void f_fail_alloc(t_msh *msh);
+void f_fail_alloc_and_destroy(t_msh *msh);
+
+#endif