summaryrefslogtreecommitdiff
path: root/lib/libc/sys/close.2
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2013-03-31 08:34:28 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2013-03-31 08:34:28 +0000
commitd3358d8908dd0b9d2f5c495d363179c2e6fbd4ef (patch)
tree6de6bb5e537c571ef9d63ca011418dfe99e14d7c /lib/libc/sys/close.2
parent351933627cedd12250885e9cc7d29f16aef06133 (diff)
Updates to SYNOPSIS, ERRORS, and STANDARDS
ok jmc@
Diffstat (limited to 'lib/libc/sys/close.2')
-rw-r--r--lib/libc/sys/close.29
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/libc/sys/close.2 b/lib/libc/sys/close.2
index 50feeb1fa08..cb233343a3a 100644
--- a/lib/libc/sys/close.2
+++ b/lib/libc/sys/close.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: close.2,v 1.15 2011/11/06 17:22:20 schwarze Exp $
+.\" $OpenBSD: close.2,v 1.16 2013/03/31 08:34:27 guenther Exp $
.\" $NetBSD: close.2,v 1.5 1995/02/27 12:32:14 cgd Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993, 1994
@@ -30,7 +30,7 @@
.\"
.\" @(#)close.2 8.2 (Berkeley) 4/19/94
.\"
-.Dd $Mdocdate: November 6 2011 $
+.Dd $Mdocdate: March 31 2013 $
.Dt CLOSE 2
.Os
.Sh NAME
@@ -116,10 +116,13 @@ will fail if:
is not an active descriptor.
.It Bq Er EINTR
An interrupt was received.
+.It Bq Er EIO
+An I/O error occurred while writing to the file system.
.El
.Sh SEE ALSO
.Xr accept 2 ,
.Xr closefrom 2 ,
+.Xr dup2 2 ,
.Xr execve 2 ,
.Xr fcntl 2 ,
.Xr flock 2 ,
@@ -130,7 +133,7 @@ An interrupt was received.
.Sh STANDARDS
.Fn close
conforms to
-.St -p1003.1-88 .
+.St -p1003.1-2008 .
.Sh HISTORY
The
.Fn close