diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2023-06-01 03:46:48 +0000 |
---|---|---|
committer | Laurent Bercot <ska@appnovation.com> | 2023-06-01 03:46:48 +0000 |
commit | d0b38944c50dab81755fca50a983a1bddefbfadf (patch) | |
tree | 8bab9da952d45c28e3f6dbed705c0f4c9aa78325 /src/libstddjb/hiercopy_loose.c | |
parent | 96078d63fcd4acd96983a42abac5ab8604bc80ca (diff) | |
download | skalibs-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.c | 9 |
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) ; +} |