diff options
Diffstat (limited to 'src/libstddjb/openwritenclose_unsafe_internal_deprecated.c')
-rw-r--r-- | src/libstddjb/openwritenclose_unsafe_internal_deprecated.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/libstddjb/openwritenclose_unsafe_internal_deprecated.c b/src/libstddjb/openwritenclose_unsafe_internal_deprecated.c deleted file mode 100644 index 58f88e6..0000000 --- a/src/libstddjb/openwritenclose_unsafe_internal_deprecated.c +++ /dev/null @@ -1,13 +0,0 @@ -/* ISC license. */ - -#include <skalibs/devino.h> -#include <skalibs/djbunix.h> - -int openwritenclose_unsafe_internal (char const *fn, char const *s, size_t len, dev_t *dev, ino_t *ino, int dosync) -{ - devino di ; - if (!openwritenclose_unsafe5(fn, s, len, dev || ino ? &di : 0, !!dosync)) return 0 ; - if (dev) *dev = di.dev ; - if (ino) *ino = di.ino ; - return 1 ; -} |