Various SysV IPC prototype changes.
This commit is contained in:
parent
bd6d376a49
commit
592bbd088a
@ -1,4 +1,4 @@
|
||||
.\" $NetBSD: msgrcv.2,v 1.5 1998/02/08 20:09:12 kleink Exp $
|
||||
.\" $NetBSD: msgrcv.2,v 1.6 1998/05/07 18:42:00 kleink Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1995 Frank van der Linden
|
||||
.\" All rights reserved.
|
||||
@ -39,7 +39,7 @@
|
||||
.Fd #include <sys/types.h>
|
||||
.Fd #include <sys/ipc.h>
|
||||
.Fd #include <sys/msg.h>
|
||||
.Ft int
|
||||
.Ft ssize_t
|
||||
.Fn msgrcv "int msqid" "void *msgp" "size_t msgsz" "long msgtyp" "int msgflg"
|
||||
.Sh DESCRIPTION
|
||||
The
|
||||
|
@ -1,4 +1,4 @@
|
||||
.\" $NetBSD: msgsnd.2,v 1.5 1998/02/16 15:28:37 kleink Exp $
|
||||
.\" $NetBSD: msgsnd.2,v 1.6 1998/05/07 18:42:00 kleink Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1995 Frank van der Linden
|
||||
.\" All rights reserved.
|
||||
@ -40,7 +40,7 @@
|
||||
.Fd #include <sys/ipc.h>
|
||||
.Fd #include <sys/msg.h>
|
||||
.Ft int
|
||||
.Fn msgsnd "int msqid" "void *msgp" "size_t msgsz" "int msgflg"
|
||||
.Fn msgsnd "int msqid" "const void *msgp" "size_t msgsz" "int msgflg"
|
||||
.Sh DESCRIPTION
|
||||
The
|
||||
.Fn msgsnd
|
||||
|
@ -1,4 +1,4 @@
|
||||
.\" $NetBSD: semop.2,v 1.3 1997/11/27 10:25:11 mikel Exp $
|
||||
.\" $NetBSD: semop.2,v 1.4 1998/05/07 18:42:01 kleink Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1995 Frank van der Linden
|
||||
.\" All rights reserved.
|
||||
@ -40,7 +40,7 @@
|
||||
.Fd #include <sys/ipc.h>
|
||||
.Fd #include <sys/sem.h>
|
||||
.Ft int
|
||||
.Fn semop "int semid" "struct sembuf *sops" "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. The semaphore
|
||||
|
@ -1,4 +1,4 @@
|
||||
.\" $NetBSD: shmat.2,v 1.4 1997/11/27 10:25:14 mikel Exp $
|
||||
.\" $NetBSD: shmat.2,v 1.5 1998/05/07 18:42:01 kleink Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1995 Frank van der Linden
|
||||
.\" All rights reserved.
|
||||
@ -41,9 +41,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
|
||||
|
@ -1,4 +1,4 @@
|
||||
.\" $NetBSD: shmget.2,v 1.3 1997/11/27 10:25:22 mikel Exp $
|
||||
.\" $NetBSD: shmget.2,v 1.4 1998/05/07 18:42:01 kleink Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1995 Frank van der Linden
|
||||
.\" All rights reserved.
|
||||
@ -40,7 +40,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
|
||||
|
Loading…
Reference in New Issue
Block a user