From a2898b9f8a33713c1718408237dd6517344da3b6 Mon Sep 17 00:00:00 2001
From: Laurent Bercot
Date: Mon, 20 Jul 2015 20:12:23 +0000
Subject: - fd_close fix - add openreadnclose_nb - rc for 2.3.6.0
---
doc/libstddjb/djbunix.html | 6 ++++++
1 file changed, 6 insertions(+)
(limited to 'doc/libstddjb/djbunix.html')
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
@@ -587,6 +587,12 @@ buffer s. Returns -1 (and sets errno) if it fails; else returns the
number of read bytes. If that number is not n, errno is set to EPIPE.
+
+ int openreadnclose_nb (char const *file, char *s, unsigned int n)
+Like openreadnclose, but can fail with EAGAIN if the file cannot be
+immediately read (for instance if it's a named pipe or other special file).
+
+
int openreadfileclose (char const *file, stralloc *sa, unsigned int n)
Reads at most n bytes from file file into the *sa
--
cgit v1.2.3