diff options
Diffstat (limited to 'src/libstddjb')
8 files changed, 0 insertions, 104 deletions
diff --git a/src/libstddjb/openwritenclose_internal_deprecated.c b/src/libstddjb/openwritenclose_internal_deprecated.c deleted file mode 100644 index 89f8dd2..0000000 --- a/src/libstddjb/openwritenclose_internal_deprecated.c +++ /dev/null @@ -1,13 +0,0 @@ -/* ISC license. */ - -#include <skalibs/devino.h> -#include <skalibs/djbunix.h> - -int openwritenclose_internal (char const *fn, char const *s, size_t n, dev_t *dev, ino_t *ino, int dosync) -{ - devino di ; - if (!openwritenclose5(fn, s, n, dev || ino ? &di : 0, !!dosync)) return 0 ; - if (dev) *dev = di.dev ; - if (ino) *ino = di.ino ; - return 1 ; -} diff --git a/src/libstddjb/openwritenclose_suffix_internal_deprecated.c b/src/libstddjb/openwritenclose_suffix_internal_deprecated.c deleted file mode 100644 index 95c1fdf..0000000 --- a/src/libstddjb/openwritenclose_suffix_internal_deprecated.c +++ /dev/null @@ -1,13 +0,0 @@ -/* ISC license. */ - -#include <skalibs/devino.h> -#include <skalibs/djbunix.h> - -int openwritenclose_suffix_internal (char const *fn, char const *s, size_t n, dev_t *dev, ino_t *ino, int dosync, char const *suffix) -{ - devino di ; - if (!openwritenclose_suffix6(fn, s, n, dev || ino ? &di : 0, !!dosync, suffix)) return 0 ; - if (dev) *dev = di.dev ; - if (ino) *ino = di.ino ; - return 1 ; -} 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 ; -} diff --git a/src/libstddjb/openwritevnclose_internal_deprecated.c b/src/libstddjb/openwritevnclose_internal_deprecated.c deleted file mode 100644 index 1e0bfd1..0000000 --- a/src/libstddjb/openwritevnclose_internal_deprecated.c +++ /dev/null @@ -1,13 +0,0 @@ -/* ISC license. */ - -#include <skalibs/devino.h> -#include <skalibs/djbunix.h> - -int openwritevnclose_internal (char const *fn, struct iovec const *v, unsigned int vlen, dev_t *dev, ino_t *ino, int dosync) -{ - devino di ; - if (!openwritevnclose5(fn, v, vlen, dev || ino ? &di : 0, !!dosync)) return 0 ; - if (dev) *dev = di.dev ; - if (ino) *ino = di.ino ; - return 1 ; -} diff --git a/src/libstddjb/openwritevnclose_suffix_internal_deprecated.c b/src/libstddjb/openwritevnclose_suffix_internal_deprecated.c deleted file mode 100644 index 47278e5..0000000 --- a/src/libstddjb/openwritevnclose_suffix_internal_deprecated.c +++ /dev/null @@ -1,13 +0,0 @@ -/* ISC license. */ - -#include <skalibs/devino.h> -#include <skalibs/djbunix.h> - -int openwritevnclose_suffix_internal (char const *fn, struct iovec const *v, unsigned int n, dev_t *dev, ino_t *ino, int dosync, char const *suffix) -{ - devino di ; - if (!openwritevnclose_suffix6(fn, v, n, dev || ino ? &di : 0, !!dosync, suffix)) return 0 ; - if (dev) *dev = di.dev ; - if (ino) *ino = di.ino ; - return 1 ; -} diff --git a/src/libstddjb/openwritevnclose_unsafe_internal_deprecated.c b/src/libstddjb/openwritevnclose_unsafe_internal_deprecated.c deleted file mode 100644 index b81881d..0000000 --- a/src/libstddjb/openwritevnclose_unsafe_internal_deprecated.c +++ /dev/null @@ -1,13 +0,0 @@ -/* ISC license. */ - -#include <skalibs/devino.h> -#include <skalibs/djbunix.h> - -int openwritevnclose_unsafe_internal (char const *fn, struct iovec const *v, unsigned int vlen, dev_t *dev, ino_t *ino, int dosync) -{ - devino di ; - if (!openwritevnclose_unsafe5(fn, v, vlen, dev || ino ? &di : 0, !!dosync)) return 0 ; - if (dev) *dev = di.dev ; - if (ino) *ino = di.ino ; - return 1 ; -} diff --git a/src/libstddjb/writenclose_unsafe_internal_deprecated.c b/src/libstddjb/writenclose_unsafe_internal_deprecated.c deleted file mode 100644 index d5ba77c..0000000 --- a/src/libstddjb/writenclose_unsafe_internal_deprecated.c +++ /dev/null @@ -1,13 +0,0 @@ -/* ISC license. */ - -#include <skalibs/devino.h> -#include <skalibs/djbunix.h> - -int writenclose_unsafe_internal (int fd, char const *s, size_t len, dev_t *dev, ino_t *ino, int dosync) -{ - devino di ; - if (!writenclose_unsafe5(fd, s, len, dev || ino ? &di : 0, !!dosync)) return 0 ; - if (dev) *dev = di.dev ; - if (ino) *ino = di.ino ; - return 1 ; -} 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 ; -} |