summaryrefslogtreecommitdiff
path: root/src/linker/strlcpy.h
diff options
context:
space:
mode:
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