From 28e8e60e36c2d950d4ebf7b406f2401ccb63c0c1 Mon Sep 17 00:00:00 2001 From: alfred Date: Sat, 25 Jan 2003 21:33:05 +0000 Subject: Bring shm functions closer the the opengroup standards. PR: 47469 Submitted by: Craig Rodrigues --- lib/libc/sys/shmat.2 | 4 ++-- lib/libc/sys/shmget.2 | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/libc') diff --git a/lib/libc/sys/shmat.2 b/lib/libc/sys/shmat.2 index 31e2a80..b992d41 100644 --- a/lib/libc/sys/shmat.2 +++ b/lib/libc/sys/shmat.2 @@ -40,9 +40,9 @@ .In sys/ipc.h .In sys/shm.h .Ft void * -.Fn shmat "int shmid" "void *addr" "int flag" +.Fn shmat "int shmid" "const void *addr" "int flag" .Ft int -.Fn shmdt "void *addr" +.Fn shmdt "const void *addr" .Sh DESCRIPTION The .Fn shmat diff --git a/lib/libc/sys/shmget.2 b/lib/libc/sys/shmget.2 index e27ad0d..5d8bc5a 100644 --- a/lib/libc/sys/shmget.2 +++ b/lib/libc/sys/shmget.2 @@ -39,7 +39,7 @@ .In sys/ipc.h .In sys/shm.h .Ft int -.Fn shmget "key_t key" "int size" "int flag" +.Fn shmget "key_t key" "size_t size" "int flag" .Sh DESCRIPTION Based on the values of .Fa key -- cgit v1.1