diff options
author | alfred <alfred@FreeBSD.org> | 2003-01-25 21:33:05 +0000 |
---|---|---|
committer | alfred <alfred@FreeBSD.org> | 2003-01-25 21:33:05 +0000 |
commit | 28e8e60e36c2d950d4ebf7b406f2401ccb63c0c1 (patch) | |
tree | 565a9f0b99f068635c74c8de66bf023c628f73a5 /lib | |
parent | 918ae76f60cdf7c75ca92bd430114118502aa7fe (diff) | |
download | FreeBSD-src-28e8e60e36c2d950d4ebf7b406f2401ccb63c0c1.zip FreeBSD-src-28e8e60e36c2d950d4ebf7b406f2401ccb63c0c1.tar.gz |
Bring shm functions closer the the opengroup standards.
PR: 47469
Submitted by: Craig Rodrigues <rodrigc@attbi.com>
Diffstat (limited to 'lib')
-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 |