diff options
Diffstat (limited to 'src/libstddjb/writevnclose_unsafe_internal_deprecated.c')
-rw-r--r-- | src/libstddjb/writevnclose_unsafe_internal_deprecated.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/libstddjb/writevnclose_unsafe_internal_deprecated.c b/src/libstddjb/writevnclose_unsafe_internal_deprecated.c deleted file mode 100644 index d966500..0000000 --- a/src/libstddjb/writevnclose_unsafe_internal_deprecated.c +++ /dev/null @@ -1,13 +0,0 @@ -/* ISC license. */ - -#include <skalibs/devino.h> -#include <skalibs/djbunix.h> - -int writevnclose_unsafe_internal (int fd, struct iovec const *v, unsigned int vlen, dev_t *dev, ino_t *ino, int dosync) -{ - devino di ; - if (!writevnclose_unsafe5(fd, v, vlen, dev || ino ? &di : 0, !!dosync)) return 0 ; - if (dev) *dev = di.dev ; - if (ino) *ino = di.ino ; - return 1 ; -} |