summaryrefslogtreecommitdiff
path: root/src/libstddjb/hiercopy_loose.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2023-06-01 03:46:48 +0000
committerLaurent Bercot <ska@appnovation.com>2023-06-01 03:46:48 +0000
commitd0b38944c50dab81755fca50a983a1bddefbfadf (patch)
tree8bab9da952d45c28e3f6dbed705c0f4c9aa78325 /src/libstddjb/hiercopy_loose.c
parent96078d63fcd4acd96983a42abac5ab8604bc80ca (diff)
downloadskalibs-d0b38944c50dab81755fca50a983a1bddefbfadf.tar.xz
Refactor to add hiercopy_loose (for s6-l-i)
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/libstddjb/hiercopy_loose.c')
-rw-r--r--src/libstddjb/hiercopy_loose.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/libstddjb/hiercopy_loose.c b/src/libstddjb/hiercopy_loose.c
new file mode 100644
index 0000000..38e47b5
--- /dev/null
+++ b/src/libstddjb/hiercopy_loose.c
@@ -0,0 +1,9 @@
+/* ISC license. */
+
+#include <skalibs/skamisc.h>
+#include <skalibs/djbunix.h>
+
+int hiercopy_loose (char const *src, char const *dst)
+{
+ return hiercopy_internal(src, dst, &satmp, 1) ;
+}