summaryrefslogtreecommitdiff
path: root/src/libunixonacid/openwritenclose.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2017-09-27 20:16:01 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2017-09-27 20:16:01 +0000
commitc365aeb0721d3749bb5f94f09a3ad97ec6131805 (patch)
tree0a63fa2d7c499b6e835d5665438f1f67cd7db494 /src/libunixonacid/openwritenclose.c
parent1728f7ed8e96a03dd6a75c9668d394562ed63a59 (diff)
downloadskalibs-c365aeb0721d3749bb5f94f09a3ad97ec6131805.tar.xz
Rewrite openwrite(v)nclose using mkstemp
Diffstat (limited to 'src/libunixonacid/openwritenclose.c')
-rw-r--r--src/libunixonacid/openwritenclose.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/libunixonacid/openwritenclose.c b/src/libunixonacid/openwritenclose.c
deleted file mode 100644
index d8dc174..0000000
--- a/src/libunixonacid/openwritenclose.c
+++ /dev/null
@@ -1,9 +0,0 @@
-/* ISC license. */
-
-#include <skalibs/skamisc.h>
-#include <skalibs/unix-transactional.h>
-
-int openwritenclose (char const *fn, char const *s, size_t len)
-{
- return openwritenclose_tmp(fn, s, len, &satmp) ;
-}