summaryrefslogtreecommitdiff
path: root/lib/libc/sys/close.2
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2014-11-25 15:02:14 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2014-11-25 15:02:14 +0000
commit3436544065e8647c69afb3876228ae404a2d1cf3 (patch)
tree8469590c92ee581c2f047f6f80024ef905e79d6f /lib/libc/sys/close.2
parent70d9806725ed9c29bb70c3498cf33b1653cd5d55 (diff)
macro and typo fixes from kaspars at bankovskis dot net
Diffstat (limited to 'lib/libc/sys/close.2')
-rw-r--r--lib/libc/sys/close.210
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/libc/sys/close.2 b/lib/libc/sys/close.2
index cb233343a3a..d13ff53f7c1 100644
--- a/lib/libc/sys/close.2
+++ b/lib/libc/sys/close.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: close.2,v 1.16 2013/03/31 08:34:27 guenther Exp $
+.\" $OpenBSD: close.2,v 1.17 2014/11/25 15:02:13 schwarze Exp $
.\" $NetBSD: close.2,v 1.5 1995/02/27 12:32:14 cgd Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993, 1994
@@ -30,20 +30,22 @@
.\"
.\" @(#)close.2 8.2 (Berkeley) 4/19/94
.\"
-.Dd $Mdocdate: March 31 2013 $
+.Dd $Mdocdate: November 25 2014 $
.Dt CLOSE 2
.Os
.Sh NAME
.Nm close
.Nd delete a descriptor
.Sh SYNOPSIS
-.Fd #include <unistd.h>
+.In unistd.h
.Ft int
.Fn close "int d"
.Sh DESCRIPTION
The
.Fn close
-call deletes a descriptor from the per-process object
+call deletes a descriptor
+.Fa d
+from the per-process object
reference table.
If this is the last reference to the underlying object, the
object will be deactivated.