summaryrefslogtreecommitdiff
path: root/lib/libc/sys/shmat.2
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2014-11-15 22:19:54 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2014-11-15 22:19:54 +0000
commit545efc2f67914f0a7f699bc68d6146a1a8077925 (patch)
treef6207a7fc3bace0a8915c66a38c9b21d98da0d48 /lib/libc/sys/shmat.2
parent180812bbadb6e93f98fae6d1df4329d5589f9788 (diff)
Per POSIX, we now only require <sys/msg.h>, <sys/sem.h>, or <sys/shm.h>
Diffstat (limited to 'lib/libc/sys/shmat.2')
-rw-r--r--lib/libc/sys/shmat.28
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/libc/sys/shmat.2 b/lib/libc/sys/shmat.2
index 30c8dbe9b6c..ba90ab3b9a3 100644
--- a/lib/libc/sys/shmat.2
+++ b/lib/libc/sys/shmat.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: shmat.2,v 1.15 2014/01/21 03:15:45 schwarze Exp $
+.\" $OpenBSD: shmat.2,v 1.16 2014/11/15 22:19:53 guenther Exp $
.\" $NetBSD: shmat.2,v 1.2 1997/03/27 08:20:38 mikel Exp $
.\"
.\" Copyright (c) 1995 Frank van der Linden
@@ -30,7 +30,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: January 21 2014 $
+.Dd $Mdocdate: November 15 2014 $
.Dt SHMAT 2
.Os
.Sh NAME
@@ -38,9 +38,7 @@
.Nm shmdt
.Nd map/unmap shared memory
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <sys/ipc.h>
-.Fd #include <sys/shm.h>
+.In sys/shm.h
.Ft void *
.Fn shmat "int shmid" "const void *shmaddr" "int shmflg"
.Ft int