aboutsummaryrefslogtreecommitdiffstats
path: root/src/malloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/malloc.c')
-rw-r--r--src/malloc.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/malloc.c b/src/malloc.c
new file mode 100644
index 0000000..8982de0
--- /dev/null
+++ b/src/malloc.c
@@ -0,0 +1,15 @@
+/**
+ * @file malloc.c
+ * @brief Stub implementation of malloc.
+ */
+
+#include "malloc.h"
+#include "libft.h"
+
+void *
+malloc (size_t size)
+{
+ (void)size;
+ ft_putendl_fd ("MALLOC", 1);
+ return (NULL);
+}