summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2019-06-21 07:17:22 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2019-06-21 07:17:22 +0000
commit846cd5b2b12947753f5fd3f02c49f7d828fb763d (patch)
tree5c95a60a3b49e7dda3fc3dcfe2f6ff452afad85f /doc
parentda84f235ef985883c79066204ee838717aacd41a (diff)
downloadskalibs-846cd5b2b12947753f5fd3f02c49f7d828fb763d.tar.xz
Doc fix
Diffstat (limited to 'doc')
-rw-r--r--doc/libstddjb/djbunix.html11
1 files changed, 2 insertions, 9 deletions
diff --git a/doc/libstddjb/djbunix.html b/doc/libstddjb/djbunix.html
index db2e91e..dca3a2c 100644
--- a/doc/libstddjb/djbunix.html
+++ b/doc/libstddjb/djbunix.html
@@ -120,17 +120,10 @@ Returns 0 if it succeeds, or -1 (and sets errno) if it fails.
</p>
<p>
-<code> int fd_close (int fd) </code> <br />
+<code> void fd_close (int fd) </code> <br />
Closes <em>fd</em>.
-Returns 0 if it succeeds, or -1 (and sets errno) if it fails.
This is a <a href="safewrappers.html">safe wrapper</a> around
-<a href="http://www.opengroup.org/onlinepubs/9699919799/functions/close.html">close()</a>,
-or rather as safe a wrapper as is possible to write: the <tt>close()</tt>
-specification does not allow a 100% safe behaviour. So, in rare cases
-it is possible for <tt>fd_close()</tt> to return 0 (instead of -1 EBADF)
-when it is provided an argument that is not an open fd. This should not
-be a problem, because giving wrong arguments to <tt>fd_close()</tt> is
-always a static programming error.
+<a href="http://www.opengroup.org/onlinepubs/9699919799/functions/close.html">close()</a>.
</p>
<p>