summaryrefslogtreecommitdiff
path: root/doc/libstddjb
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2015-07-20 20:12:23 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2015-07-20 20:12:23 +0000
commita2898b9f8a33713c1718408237dd6517344da3b6 (patch)
tree91ddce086ffec43d83c050168eeca779cbaa0747 /doc/libstddjb
parenta1811ef52374d28346eb554930bd40f885fbed22 (diff)
downloadskalibs-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.html6
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