summaryrefslogtreecommitdiff
path: root/src/libstddjb/hiercopy.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2015-02-23 23:28:33 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2015-02-23 23:28:33 +0000
commit7bfdb8092915753c42f9f06a56fbbc46b11e593e (patch)
treef6b914f3fcaf2c0c8b25edd10424c679f2d52cf4 /src/libstddjb/hiercopy.c
parent1cdd5c6f695be300527dace93b8a81c66ceadad8 (diff)
downloadskalibs-2.3.1.0.tar.xz
Add hiercopy and hiercopy_tmpv2.3.1.0
Diffstat (limited to 'src/libstddjb/hiercopy.c')
-rw-r--r--src/libstddjb/hiercopy.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/libstddjb/hiercopy.c b/src/libstddjb/hiercopy.c
new file mode 100644
index 0000000..34f027e
--- /dev/null
+++ b/src/libstddjb/hiercopy.c
@@ -0,0 +1,9 @@
+/* ISC license. */
+
+#include <skalibs/djbunix.h>
+#include <skalibs/skamisc.h>
+
+int hiercopy (char const *src, char const *dst)
+{
+ return hiercopy_tmp(src, dst, &satmp) ;
+}