summaryrefslogtreecommitdiff
path: root/lib/libc/sys/shmat.2
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1998-05-11 06:13:51 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1998-05-11 06:13:51 +0000
commitb8d1d50c3fffcefd6f68e32e7c96f4059ee6990e (patch)
treeff1928c98ae4361b1438095073f28f62f8bd3c02 /lib/libc/sys/shmat.2
parent0857b2aee21b3f88f3ce3f09690f03168612749f (diff)
const a few more calls
Diffstat (limited to 'lib/libc/sys/shmat.2')
-rw-r--r--lib/libc/sys/shmat.26
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/sys/shmat.2 b/lib/libc/sys/shmat.2
index 5539a0fad10..fd8683671b5 100644
--- a/lib/libc/sys/shmat.2
+++ b/lib/libc/sys/shmat.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: shmat.2,v 1.4 1997/11/24 02:07:35 deraadt Exp $
+.\" $OpenBSD: shmat.2,v 1.5 1998/05/11 06:13:50 deraadt Exp $
.\" $NetBSD: shmat.2,v 1.2 1997/03/27 08:20:38 mikel Exp $
.\"
.\" Copyright (c) 1995 Frank van der Linden
@@ -42,9 +42,9 @@
.Fd #include <sys/ipc.h>
.Fd #include <sys/shm.h>
.Ft void *
-.Fn shmat "int shmid" "void *shmaddr" "int shmflg"
+.Fn shmat "int shmid" "const void *shmaddr" "int shmflg"
.Ft int
-.Fn shmdt "void *shmaddr"
+.Fn shmdt "const void *shmaddr"
.Sh DESCRIPTION
.Fn shmat
maps the shared memory segment associated with the shared memory identifier