summaryrefslogtreecommitdiff
path: root/src/libunixonacid/openwritenclose.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libunixonacid/openwritenclose.c')
-rw-r--r--src/libunixonacid/openwritenclose.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/libunixonacid/openwritenclose.c b/src/libunixonacid/openwritenclose.c
new file mode 100644
index 0000000..09149e2
--- /dev/null
+++ b/src/libunixonacid/openwritenclose.c
@@ -0,0 +1,11 @@
+/* ISC license. */
+
+/* MT-unsafe */
+
+#include <skalibs/skamisc.h>
+#include <skalibs/unix-transactional.h>
+
+int openwritenclose (char const *fn, char const *s, unsigned int len)
+{
+ return openwritenclose_tmp(fn, s, len, &satmp) ;
+}