diff options
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/sys/shmat.2 | 4 | ||||
-rw-r--r-- | lib/libc/sys/shmget.2 | 2 |
2 files changed, 3 insertions, 3 deletions
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 |