aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-08-30 19:40:05 +0200
committerMattias Andrée <maandree@operamail.com>2015-08-30 19:40:05 +0200
commit72b80374256e8d42717dd2a55385d469b39c9497 (patch)
tree82f1624b70c6894a2ce3fcf4f8808e8848605987
parentmalloc: add overflow checks and add aligned alloc-functions (diff)
downloadslibc-72b80374256e8d42717dd2a55385d469b39c9497.tar.gz
slibc-72b80374256e8d42717dd2a55385d469b39c9497.tar.bz2
slibc-72b80374256e8d42717dd2a55385d469b39c9497.tar.xz
add memory.h
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r--include/memory.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/include/memory.h b/include/memory.h
new file mode 100644
index 0000000..795e07e
--- /dev/null
+++ b/include/memory.h
@@ -0,0 +1,19 @@
+/**
+ * slibc — Yet another C library
+ * Copyright © 2015 Mattias Andrée (maandree@member.fsf.org)
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+#include <string.h>
+