From 83761e599a18a7ac99e58aa67b6b4869557f26e5 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Sat, 7 Feb 2015 13:13:55 +0000 Subject: - Doc update - version: 2.3.0.0 rc --- doc/index.html | 2 +- doc/libstddjb/djbtime.html | 4 ++-- doc/libstddjb/djbunix.html | 47 ++++++++++++++++++++++++++++++++-------------- doc/upgrade.html | 8 ++++++++ 4 files changed, 44 insertions(+), 17 deletions(-) (limited to 'doc') diff --git a/doc/index.html b/doc/index.html index f41a771..117d9f0 100644 --- a/doc/index.html +++ b/doc/index.html @@ -59,7 +59,7 @@ with a standard C development environment

Download

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

- int localtmn_from_tain (localtmn_t_ref tmn, tain_t const *a, int lo) ;
+ int localtmn_from_tain (localtmn_t *tmn, tain_t const *a, int lo) ;
int tain_from_localtmn (tain_t *a, localtmn_t const *tmn) ;
-int localtmn_from_sysclock (localtmn_t_ref tmn, tain_t const *a, int lo) ;
+int localtmn_from_sysclock (localtmn_t *tmn, tain_t const *a, int lo) ;
int sysclock_from_localtmn (tain_t *a, localtmn_t const *tmn) ;

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.

int fd_sanitize (void)
-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 /dev/null. Returns 1 if it succeeds and 0 if it fails.

@@ -298,19 +298,6 @@ Opens file in write-only, non-blocking mode. Returns a valid fd number if it succeeds, or -1 (and sets errno) if it fails.

-

Seek operations

- -

- long seek_cur (int fd)
-Returns the current file offset for descriptor fd. -

- -

- int seek_set (int fd, long pos)
-Sets the current file offset for fd to pos. -Returns 0 if it succeeds, or -1 (and sets errno) if it fails. -

-

Privilege management

@@ -647,6 +634,38 @@ Trivial shortcuts around openwritenclose_suffix_internal(). The reader can easily figure out what they do.

+

+ int openwritevnclose_unsafe_internal (char const *file, siovec_t const *v, unsigned int vlen, uint64 *dev, uint64 *ino, unsigned char dosync)
+Like openwritenclose_unsafe_internal, but the content to +write is taken from a +siovec_t scatter/gather array of vlen +elements instead of a single string. +

+ +

+ int openwritevnclose_unsafe (char const *file, siovec_t const *v, unsigned int vlen)
+int openwritevnclose_unsafe_sync (char const *file, siovec_t const *v, unsigned int vlen)
+int openwritevnclose_unsafe_devino (char const *file, siovec_t const *v, unsigned int vlen, uint64 *dev, uint64 *ino)
+int openwritevnclose_unsafe_devino_sync (char const *file, siovec_t const *v, unsigned int vlen, uint64 *dev, uint64 *ino)

+Trivial wrappers around openwritevnclose_unsafe_internal(). +

+ +

+ int openwritevnclose_suffix_internal (char const *file, siovec_t const *v, unsigned int vlen, uint64 *dev, uint64 *ino, unsigned char dosync, char const *suffix)
+Like openwritenclose_suffix_internal, but the content to +write is taken from a +siovec_t scatter/gather array of vlen +elements instead of a single string. +

+ +

+ int openwritenclose_suffix (char const *file, char const *s, unsigned int len, char const *suffix)
+int openwritenclose_suffix_sync (char const *file, char const *s, unsigned int len, char const *suffix)
+int openwritenclose_suffix_devino (char const *file, char const *s, unsigned int len, uint64 *dev, uint64 *ino, char const *suffix)
+int openwritenclose_suffix_devino_sync (char const *file, char const *s, unsigned int len, uint64 *dev, uint64 *ino, char const *suffix)

+Trivial wrappers around openwritevnclose_suffix_internal(). +

+

Filesystem deletion

diff --git a/doc/upgrade.html b/doc/upgrade.html index 6786c2d..8f819c7 100644 --- a/doc/upgrade.html +++ b/doc/upgrade.html @@ -17,6 +17,14 @@

What has changed in skalibs

+

in 2.3.0.0

+ + +

in 2.2.1.0