diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2004-05-03 17:36:30 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2004-05-03 17:36:30 +0000 |
commit | ca3f78ca5742c4bebeeeebecaa0d76df2987c4f7 (patch) | |
tree | dbd6e855a534ec30005ab85d5c4053fd969866b3 /lib/libc/sys | |
parent | b06f767d46a1344c0f6ab3a9d0383916082a8b0d (diff) |
Use size_t as the type of the length parameter per POSIX
Diffstat (limited to 'lib/libc/sys')
-rw-r--r-- | lib/libc/sys/semop.2 | 4 | ||||
-rw-r--r-- | lib/libc/sys/shmget.2 | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/sys/semop.2 b/lib/libc/sys/semop.2 index f6928eb04b9..669cfa15022 100644 --- a/lib/libc/sys/semop.2 +++ b/lib/libc/sys/semop.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: semop.2,v 1.12 2003/11/20 20:46:24 millert Exp $ +.\" $OpenBSD: semop.2,v 1.13 2004/05/03 17:36:29 millert Exp $ .\" $NetBSD: semop.2,v 1.1 1995/10/16 23:49:28 jtc Exp $ .\" .\" Copyright (c) 1995 Frank van der Linden @@ -41,7 +41,7 @@ .Fd #include <sys/ipc.h> .Fd #include <sys/sem.h> .Ft int -.Fn semop "int semid" "struct sembuf *sops" "u_int nsops" +.Fn semop "int semid" "struct sembuf *sops" "size_t nsops" .Sh DESCRIPTION .Fn semop provides a number of atomic operations on a set of semaphores. diff --git a/lib/libc/sys/shmget.2 b/lib/libc/sys/shmget.2 index 0849a15739a..4db51a8e45d 100644 --- a/lib/libc/sys/shmget.2 +++ b/lib/libc/sys/shmget.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: shmget.2,v 1.13 2004/03/23 17:35:04 jmc Exp $ +.\" $OpenBSD: shmget.2,v 1.14 2004/05/03 17:36:29 millert Exp $ .\" $NetBSD: shmget.2,v 1.2 1997/03/27 08:20:39 mikel Exp $ .\" .\" Copyright (c) 1995 Frank van der Linden @@ -41,7 +41,7 @@ .Fd #include <sys/ipc.h> .Fd #include <sys/shm.h> .Ft int -.Fn shmget "key_t key" "int size" "int shmflg" +.Fn shmget "key_t key" "size_t size" "int shmflg" .Sh DESCRIPTION .Fn shmget returns the shared memory identifier associated with the key |