summaryrefslogtreecommitdiff
path: root/src/linker/strlcpy.h
diff options
context:
space:
mode:
authorJari Vetoniemi <mailroxas@gmail.com>2018-02-15 00:59:08 +0200
committerJari Vetoniemi <mailroxas@gmail.com>2018-02-16 18:22:14 +0200
commit33a9a63787154facfdaddaf719e727947c159800 (patch)
tree46f92364199658fc3d439fc056996c9b9afc237c /src/linker/strlcpy.h
Initial commit
Stuff in src/linker will get rewritten from scratch eventually, it's all horrible. But for now focus is getting on shit work.
Diffstat (limited to 'src/linker/strlcpy.h')
-rw-r--r--src/linker/strlcpy.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/linker/strlcpy.h b/src/linker/strlcpy.h
new file mode 100644
index 0000000..a524530
--- /dev/null
+++ b/src/linker/strlcpy.h
@@ -0,0 +1,10 @@
+#ifndef STRLCPY_H
+#define STRLCPY_H
+
+#include <sys/types.h>
+#include <string.h>
+
+size_t
+apkenv_strlcpy(char *dst, const char *src, size_t siz);
+
+#endif