[PATCH 1/2] doc: reconcile openwrite{,v}nclose_suffix{,_devino}{,_sync} with djbunix.h

From: Jesse Young <jlyo_at_jlyo.org>
Date: Sun, 13 Jun 2021 20:43:32 -0500

---
 Hello,
 I've been working with the some of the scatter/gather I/O functions
 and noticed the documentation duplicated the non-vectored names. On
 closer inspection, I also discovered the devino variants have their
 arguments rearranged (except for *_internal).
 Cheers,
 Jesse
 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
_at__at_ -560,8 +560,8 _at__at_ The function returns 1 if it succeeds, or 0 (and sets errno) if it fails.
 <p>
 <code> int openwritenclose_suffix (char const *file, char const *s, size_t len, char const *suffix) <br />
 int openwritenclose_suffix_sync (char const *file, char const *s, size_t len, char const *suffix) <br />
-int openwritenclose_suffix_devino (char const *file, char const *s, size_t len, dev_t *dev, ino_t *ino, char const *suffix) <br />
-int openwritenclose_suffix_devino_sync (char const *file, char const *s, size_t len, dev_t *dev, ino_t *ino, char const *suffix) </code> <br />
+int openwritenclose_suffix_devino (char const *file, char const *s, size_t len, char const *suffix, dev_t *dev, ino_t *ino) <br />
+int openwritenclose_suffix_devino_sync (char const *file, char const *s, size_t len, char const *suffix, dev_t *dev, ino_t *ino) </code> <br />
 Trivial shortcuts around <tt>openwritenclose_suffix_internal()</tt>. The
 reader can easily figure out what they do.
 </p>
_at__at_ -591,10 +591,10 _at__at_ elements instead of a single string.
 </p>
 
 <p>
-<code> int openwritenclose_suffix (char const *file, char const *s, size_t len, char const *suffix) <br />
-int openwritenclose_suffix_sync (char const *file, char const *s, size_t len, char const *suffix) <br />
-int openwritenclose_suffix_devino (char const *file, char const *s, size_t len, dev_t *dev, ino_t *ino, char const *suffix) <br />
-int openwritenclose_suffix_devino_sync (char const *file, char const *s, size_t len, dev_t *dev, ino_t *ino, char const *suffix) </code> <br />
+<code> int openwritevnclose_suffix (char const *file, struct iovec const *v, unsigned int vlen, char const *suffix) <br />
+int openwritevnclose_suffix_sync (char const *file, struct iovec const *v, unsigned int vlen, char const *suffix) <br />
+int openwritevnclose_suffix_devino (char const *file, struct iovec const *v, unsigned int vlen, char const *suffix, dev_t *dev, ino_t *ino) <br />
+int openwritevnclose_suffix_devino_sync (char const *file, struct iovec const *v, unsigned int vlen, char const *suffix, dev_t *dev, ino_t *ino) </code> <br />
 Trivial wrappers around <tt>openwritevnclose_suffix_internal()</tt>.
 </p>
 
-- 
2.32.0
Received on Mon Jun 14 2021 - 03:43:32 CEST

This archive was generated by hypermail 2.4.0 : Mon Jun 14 2021 - 03:44:06 CEST