summaryrefslogtreecommitdiff
path: root/share/man
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2008-09-24 13:30:48 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2008-09-24 13:30:48 +0000
commitefe01cffdc58e6b11a1d921f46371ba77803cd68 (patch)
tree5b0019f77b002540f0b0cc8d0a9ef95c816f7c3c /share/man
parent9950344f559ad543b21f3c9ee5d06f0982084149 (diff)
Document dlclose() return value.
Diffstat (limited to 'share/man')
-rw-r--r--share/man/man3/dlfcn.36
1 files changed, 4 insertions, 2 deletions
diff --git a/share/man/man3/dlfcn.3 b/share/man/man3/dlfcn.3
index ca065371c84..d92099e9a81 100644
--- a/share/man/man3/dlfcn.3
+++ b/share/man/man3/dlfcn.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: dlfcn.3,v 1.21 2007/05/31 19:19:48 jmc Exp $
+.\" $OpenBSD: dlfcn.3,v 1.22 2008/09/24 13:30:47 millert Exp $
.\" $NetBSD: dlfcn.3,v 1.3 1996/01/09 19:43:34 pk Exp $
.\"
.\" Copyright (c) 1995 Paul Kranenburg
@@ -29,7 +29,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: May 31 2007 $
+.Dd $Mdocdate: September 24 2008 $
.Dt DLFCN 3
.Os
.Sh NAME
@@ -148,6 +148,8 @@ If multiple calls to
.Fn dlopen
have been done on this object or the object is a dependency of another object
then the object is removed when its reference count drops to zero.
+.Fn dlclose
+returns 0 on success and non-zero on failure.
.Pp
.Fn dlsym
searches for a definition of