diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2015-07-20 20:12:23 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2015-07-20 20:12:23 +0000 |
commit | a2898b9f8a33713c1718408237dd6517344da3b6 (patch) | |
tree | 91ddce086ffec43d83c050168eeca779cbaa0747 /doc/libstddjb | |
parent | a1811ef52374d28346eb554930bd40f885fbed22 (diff) | |
download | skalibs-a2898b9f8a33713c1718408237dd6517344da3b6.tar.xz |
- fd_close fix
- add openreadnclose_nb
- rc for 2.3.6.0
Diffstat (limited to 'doc/libstddjb')
-rw-r--r-- | doc/libstddjb/djbunix.html | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/libstddjb/djbunix.html b/doc/libstddjb/djbunix.html index d8de94e..18e3def 100644 --- a/doc/libstddjb/djbunix.html +++ b/doc/libstddjb/djbunix.html @@ -588,6 +588,12 @@ number of read bytes. If that number is not <em>n</em>, errno is set to EPIPE. </p> <p> +<code> int openreadnclose_nb (char const *file, char *s, unsigned int n) </code> <br /> +Like <tt>openreadnclose</tt>, but can fail with EAGAIN if the file cannot be +immediately read (for instance if it's a named pipe or other special file). +</p> + +<p> <code> int openreadfileclose (char const *file, stralloc *sa, unsigned int n) </code> <br /> Reads at most <em>n</em> bytes from file <em>file</em> into the *<em>sa</em> stralloc, which is grown (if needed) to <em>just</em> accommodate the file |