From 659918a7eb3ed94e8519ebf3327493e05a29c4d2 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Mon, 14 Jun 2021 07:55:32 +0000 Subject: doc: reconcile openwrite{,v}nclose_suffix{,_devino}{,_sync} with djbunix.h Signed-off-by: Jesse Young --- doc/libstddjb/djbunix.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/libstddjb/djbunix.html b/doc/libstddjb/djbunix.html index 95f3777..ce34d25 100644 --- a/doc/libstddjb/djbunix.html +++ b/doc/libstddjb/djbunix.html @@ -560,8 +560,8 @@ The function returns 1 if it succeeds, or 0 (and sets errno) if it fails.

int openwritenclose_suffix (char const *file, char const *s, size_t len, char const *suffix)
int openwritenclose_suffix_sync (char const *file, char const *s, size_t len, char const *suffix)
-int openwritenclose_suffix_devino (char const *file, char const *s, size_t len, dev_t *dev, ino_t *ino, char const *suffix)
-int openwritenclose_suffix_devino_sync (char const *file, char const *s, size_t len, dev_t *dev, ino_t *ino, char const *suffix)

+int openwritenclose_suffix_devino (char const *file, char const *s, size_t len, char const *suffix, dev_t *dev, ino_t *ino)
+int openwritenclose_suffix_devino_sync (char const *file, char const *s, size_t len, char const *suffix, dev_t *dev, ino_t *ino)
Trivial shortcuts around openwritenclose_suffix_internal(). The reader can easily figure out what they do.

@@ -591,10 +591,10 @@ elements instead of a single string.

- int openwritenclose_suffix (char const *file, char const *s, size_t len, char const *suffix)
-int openwritenclose_suffix_sync (char const *file, char const *s, size_t len, char const *suffix)
-int openwritenclose_suffix_devino (char const *file, char const *s, size_t len, dev_t *dev, ino_t *ino, char const *suffix)
-int openwritenclose_suffix_devino_sync (char const *file, char const *s, size_t len, dev_t *dev, ino_t *ino, char const *suffix)

+ int openwritevnclose_suffix (char const *file, struct iovec const *v, unsigned int vlen, char const *suffix)
+int openwritevnclose_suffix_sync (char const *file, struct iovec const *v, unsigned int vlen, char const *suffix)
+int openwritevnclose_suffix_devino (char const *file, struct iovec const *v, unsigned int vlen, char const *suffix, dev_t *dev, ino_t *ino)
+int openwritevnclose_suffix_devino_sync (char const *file, struct iovec const *v, unsigned int vlen, char const *suffix, dev_t *dev, ino_t *ino)

Trivial wrappers around openwritevnclose_suffix_internal().

-- cgit v1.2.3