summaryrefslogtreecommitdiff
path: root/doc/libstddjb
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2015-02-07 13:13:55 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2015-02-07 13:13:55 +0000
commit83761e599a18a7ac99e58aa67b6b4869557f26e5 (patch)
treefbab0798fce3867a7038a96751b3b4526370abaf /doc/libstddjb
parent153a646667ff5ae7578a6027938524db91c40821 (diff)
downloadskalibs-83761e599a18a7ac99e58aa67b6b4869557f26e5.tar.xz
- Doc update
- version: 2.3.0.0 rc
Diffstat (limited to 'doc/libstddjb')
-rw-r--r--doc/libstddjb/djbtime.html4
-rw-r--r--doc/libstddjb/djbunix.html47
2 files changed, 35 insertions, 16 deletions
diff --git a/doc/libstddjb/djbtime.html b/doc/libstddjb/djbtime.html
index 2fa3071..417fa7d 100644
--- a/doc/libstddjb/djbtime.html
+++ b/doc/libstddjb/djbtime.html
@@ -186,9 +186,9 @@ struct localtmn_s
</p>
<p>
-<code> int localtmn_from_tain (localtmn_t_ref tmn, tain_t const *a, int lo) ; <br />
+<code> int localtmn_from_tain (localtmn_t *tmn, tain_t const *a, int lo) ; <br />
int tain_from_localtmn (tain_t *a, localtmn_t const *tmn) ; <br />
-int localtmn_from_sysclock (localtmn_t_ref tmn, tain_t const *a, int lo) ; <br />
+int localtmn_from_sysclock (localtmn_t *tmn, tain_t const *a, int lo) ; <br />
int sysclock_from_localtmn (tain_t *a, localtmn_t const *tmn) ; </code> <br />
</p>
diff --git a/doc/libstddjb/djbunix.html b/doc/libstddjb/djbunix.html
index c65a60b..277db31 100644
--- a/doc/libstddjb/djbunix.html
+++ b/doc/libstddjb/djbunix.html
@@ -192,7 +192,7 @@ Returns 1 if it succeeds and 0 if it fails.
<p>
<code> int fd_sanitize (void) </code> <br />
-Ensures stdin and stdout are open. If one of those
+Ensures stdin, stdout and stderr are open. If one of those
file descriptors was closed, it now points to <tt>/dev/null</tt>.
Returns 1 if it succeeds and 0 if it fails.
</p>
@@ -298,19 +298,6 @@ Opens <em>file</em> in write-only, non-blocking mode.
Returns a valid fd number if it succeeds, or -1 (and sets errno) if it fails.
</p>
-<h3> Seek operations </h3>
-
-<p>
-<code> long seek_cur (int fd) </code> <br />
-Returns the current file offset for descriptor <em>fd</em>.
-</p>
-
-<p>
-<code> int seek_set (int fd, long pos) </code> <br />
-Sets the current file offset for <em>fd</em> to <em>pos</em>.
-Returns 0 if it succeeds, or -1 (and sets errno) if it fails.
-</p>
-
<h3> Privilege management </h3>
<p>
@@ -647,6 +634,38 @@ Trivial shortcuts around <tt>openwritenclose_suffix_internal()</tt>. The
reader can easily figure out what they do.
</p>
+<p>
+<code> int openwritevnclose_unsafe_internal (char const *file, siovec_t const *v, unsigned int vlen, uint64 *dev, uint64 *ino, unsigned char dosync) </code> <br />
+Like <tt>openwritenclose_unsafe_internal</tt>, but the content to
+write is taken from a
+<a href="siovec.html">siovec_t</a> scatter/gather array of <em>vlen</em>
+elements instead of a single string.
+</p>
+
+<p>
+<code> int openwritevnclose_unsafe (char const *file, siovec_t const *v, unsigned int vlen) <br />
+int openwritevnclose_unsafe_sync (char const *file, siovec_t const *v, unsigned int vlen) <br />
+int openwritevnclose_unsafe_devino (char const *file, siovec_t const *v, unsigned int vlen, uint64 *dev, uint64 *ino) <br />
+int openwritevnclose_unsafe_devino_sync (char const *file, siovec_t const *v, unsigned int vlen, uint64 *dev, uint64 *ino) </code> <br />
+Trivial wrappers around <tt>openwritevnclose_unsafe_internal()</tt>.
+</p>
+
+<p>
+<code> int openwritevnclose_suffix_internal (char const *file, siovec_t const *v, unsigned int vlen, uint64 *dev, uint64 *ino, unsigned char dosync, char const *suffix) </code> <br />
+Like <tt>openwritenclose_suffix_internal</tt>, but the content to
+write is taken from a
+<a href="siovec.html">siovec_t</a> scatter/gather array of <em>vlen</em>
+elements instead of a single string.
+</p>
+
+<p>
+<code> int openwritenclose_suffix (char const *file, char const *s, unsigned int len, char const *suffix) <br />
+int openwritenclose_suffix_sync (char const *file, char const *s, unsigned int len, char const *suffix) <br />
+int openwritenclose_suffix_devino (char const *file, char const *s, unsigned int len, uint64 *dev, uint64 *ino, char const *suffix) <br />
+int openwritenclose_suffix_devino_sync (char const *file, char const *s, unsigned int len, uint64 *dev, uint64 *ino, char const *suffix) </code> <br />
+Trivial wrappers around <tt>openwritevnclose_suffix_internal()</tt>.
+</p>
+
<h3> Filesystem deletion </h3>
<p>