From 846cd5b2b12947753f5fd3f02c49f7d828fb763d Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Fri, 21 Jun 2019 07:17:22 +0000 Subject: Doc fix --- doc/libstddjb/djbunix.html | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'doc') 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.

- int fd_close (int fd)
+ void fd_close (int fd)
Closes fd. -Returns 0 if it succeeds, or -1 (and sets errno) if it fails. This is a safe wrapper around -close(), -or rather as safe a wrapper as is possible to write: the close() -specification does not allow a 100% safe behaviour. So, in rare cases -it is possible for fd_close() 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 fd_close() is -always a static programming error. +close().

-- cgit v1.2.3