diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/index.html | 2 | ||||
-rw-r--r-- | doc/libstddjb/djbunix.html | 13 | ||||
-rw-r--r-- | doc/upgrade.html | 6 |
3 files changed, 20 insertions, 1 deletions
diff --git a/doc/index.html b/doc/index.html index 18fa214..8a903f1 100644 --- a/doc/index.html +++ b/doc/index.html @@ -60,7 +60,7 @@ with a standard C development environment </li> <h3> Download </h3> <ul> - <li> The current released version of skalibs is <a href="skalibs-2.9.0.0.tar.gz">2.9.0.0</a>. </li> + <li> The current released version of skalibs is <a href="skalibs-2.9.1.0.tar.gz">2.9.1.0</a>. </li> <li> Alternatively, you can checkout a copy of the <a href="//git.skarnet.org/cgi-bin/cgit.cgi/skalibs/">skalibs git repository</a>: diff --git a/doc/libstddjb/djbunix.html b/doc/libstddjb/djbunix.html index dca3a2c..6223bf4 100644 --- a/doc/libstddjb/djbunix.html +++ b/doc/libstddjb/djbunix.html @@ -808,5 +808,18 @@ Sleeps <em>n</em> milliseconds. Signals received during that time are handled, but <em>do not</em> interrupt the sleep. </p> +<h3> Miscellaneous functions </h3> + +<p> +<code> size_t path_canonicalize (char *out, char const *in, int check) </code> <br /> +Writes into <em>out</em> the canonical form of the Unix path given in +<em>in</em>. The <em>out</em> array must be preallocated with at least +<tt>strlen(in)+2</tt> bytes. Returns the length of the <em>out</em> path, without +counting the terminating null byte. If <em>check</em> is nonzero, <em>in</em> is tested +for every <tt>foobar/..</tt> element, and the function returns 0, and sets errno +appropriately, if <tt>foobar</tt> is not a valid directory; in that case, <em>out</em> +contains the problematic path. +</p> + </body> </html> diff --git a/doc/upgrade.html b/doc/upgrade.html index b5f7031..314a3ce 100644 --- a/doc/upgrade.html +++ b/doc/upgrade.html @@ -16,6 +16,12 @@ <a href="//skarnet.org/">skarnet.org</a> </p> +<h2> in 2.9.1.0 </h2> + +<ul> + <li> New function: <tt>path_canonicalize</tt> </li> +</ul> + <h2> in 2.9.0.0 </h2> <ul> |