diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1997-03-30 18:49:54 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1997-03-30 18:49:54 +0000 |
commit | d58216a238c51140192a84b0720206a4bbe20cbb (patch) | |
tree | fb7268155523121b5dbbde3fab39a42d98781d5a /lib | |
parent | f4a5eb580f8b15dc64a626f24498614bcdda3f6f (diff) |
We run OpenBSD not NetBSD
From NetBSD:
Fix includes specified for shmctl(2)
Make xrefs consistent
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/sys/msgctl.2 | 7 | ||||
-rw-r--r-- | lib/libc/sys/msgrcv.2 | 10 | ||||
-rw-r--r-- | lib/libc/sys/msgsnd.2 | 10 | ||||
-rw-r--r-- | lib/libc/sys/semctl.2 | 6 | ||||
-rw-r--r-- | lib/libc/sys/semget.2 | 6 | ||||
-rw-r--r-- | lib/libc/sys/shmat.2 | 8 | ||||
-rw-r--r-- | lib/libc/sys/shmctl.2 | 7 | ||||
-rw-r--r-- | lib/libc/sys/shmget.2 | 8 |
8 files changed, 33 insertions, 29 deletions
diff --git a/lib/libc/sys/msgctl.2 b/lib/libc/sys/msgctl.2 index e3c609797a2..9dd36eaa554 100644 --- a/lib/libc/sys/msgctl.2 +++ b/lib/libc/sys/msgctl.2 @@ -1,4 +1,5 @@ -.\" $NetBSD: msgctl.2,v 1.1 1995/10/16 23:49:15 jtc Exp $ +.\" $OpenBSD: msgctl.2,v 1.3 1997/03/30 18:49:45 millert Exp $ +.\" $NetBSD: msgctl.2,v 1.2 1997/03/27 08:20:35 mikel Exp $ .\" .\" Copyright (c) 1995 Frank van der Linden .\" All rights reserved. @@ -194,8 +195,8 @@ is not a valid command. specifies an invalid address. .El .Sh SEE ALSO -.Xr msgsnd 2 , +.Xr msgget 2 , .Xr msgrcv 2 , -.Xr msgget 2 +.Xr msgsnd 2 .Sh HISTORY Message queues appeared in the first release of AT&T Unix System V. diff --git a/lib/libc/sys/msgrcv.2 b/lib/libc/sys/msgrcv.2 index 5a4ddf2e292..a76ce2c40e9 100644 --- a/lib/libc/sys/msgrcv.2 +++ b/lib/libc/sys/msgrcv.2 @@ -1,5 +1,5 @@ -.\" $OpenBSD: msgrcv.2,v 1.3 1996/12/11 17:39:19 deraadt Exp $ -.\" $NetBSD: msgrcv.2,v 1.1 1995/10/16 23:49:20 jtc Exp $ +.\" $OpenBSD: msgrcv.2,v 1.4 1997/03/30 18:49:47 millert Exp $ +.\" $NetBSD: msgrcv.2,v 1.2 1997/03/27 08:20:37 mikel Exp $ .\" .\" Copyright (c) 1995 Frank van der Linden .\" All rights reserved. @@ -170,11 +170,11 @@ There is no message of the requested type available on the message queue, and IPC_NOWAIT is set in .Fa msgflg . .Sh SEE ALSO -.Xr msgsnd 2 , .Xr msgctl 2 , -.Xr msgget 2 +.Xr msgget 2 , +.Xr msgsnd 2 .Sh BUGS -NetBSD does not define the EIDRM error value, which should be used in +OpenBSD does not define the EIDRM error value, which should be used in the case of a removed message queue, nor the ENOMSG value, which should be used when no suitable message is available and IPC_NOWAIT is set. diff --git a/lib/libc/sys/msgsnd.2 b/lib/libc/sys/msgsnd.2 index 83c2edc5f82..20f5bfc972d 100644 --- a/lib/libc/sys/msgsnd.2 +++ b/lib/libc/sys/msgsnd.2 @@ -1,5 +1,5 @@ -.\" $OpenBSD: msgsnd.2,v 1.2 1996/10/08 01:20:11 michaels Exp $ -.\" $NetBSD: msgsnd.2,v 1.1 1995/10/16 23:49:24 jtc Exp $ +.\" $OpenBSD: msgsnd.2,v 1.3 1997/03/30 18:49:48 millert Exp $ +.\" $NetBSD: msgsnd.2,v 1.2 1997/03/27 08:20:36 mikel Exp $ .\" .\" Copyright (c) 1995 Frank van der Linden .\" All rights reserved. @@ -139,8 +139,12 @@ points to an invalid address. .It Bq Er EINTR The system call was interrupted by the delivery of a signal. .El +.Sh SEE ALSO +.Xr msgctl 2 , +.Xr msgget 2 , +.Xr msgrcv 2 .Sh BUGS -NetBSD does not define the EIDRM error value, which should be used +OpenBSD does not define the EIDRM error value, which should be used in the case of a removed message queue. .Sh HISTORY Message queues appeared in the first release of AT&T Unix System V. diff --git a/lib/libc/sys/semctl.2 b/lib/libc/sys/semctl.2 index 23da10c56df..7b29cc99388 100644 --- a/lib/libc/sys/semctl.2 +++ b/lib/libc/sys/semctl.2 @@ -1,5 +1,5 @@ -.\" $OpenBSD: semctl.2,v 1.2 1996/10/08 01:20:13 michaels Exp $ -.\" $NetBSD: semctl.2,v 1.1 1995/10/16 23:49:26 jtc Exp $ +.\" $OpenBSD: semctl.2,v 1.3 1997/03/30 18:49:49 millert Exp $ +.\" $NetBSD: semctl.2,v 1.2 1997/03/27 08:20:40 mikel Exp $ .\" .\" Copyright (c) 1995 Frank van der Linden .\" All rights reserved. @@ -210,5 +210,5 @@ is not a valid command. specifies an invalid address. .El .Sh SEE ALSO +.Xr semget 2 , .Xr semop 2 -.Xr semget 2 diff --git a/lib/libc/sys/semget.2 b/lib/libc/sys/semget.2 index e293904b157..29ae1c7eff0 100644 --- a/lib/libc/sys/semget.2 +++ b/lib/libc/sys/semget.2 @@ -1,5 +1,5 @@ -.\" $OpenBSD: semget.2,v 1.2 1996/10/08 01:20:14 michaels Exp $ -.\" $NetBSD: semget.2,v 1.1 1995/10/16 23:49:27 jtc Exp $ +.\" $OpenBSD: semget.2,v 1.3 1997/03/30 18:49:50 millert Exp $ +.\" $NetBSD: semget.2,v 1.2 1997/03/27 08:20:41 mikel Exp $ .\" .\" Copyright (c) 1995 Frank van der Linden .\" All rights reserved. @@ -127,5 +127,5 @@ and no semaphore set associated with was found. .El .Sh SEE ALSO +.Xr semctl 2 , .Xr semop 2 -.Xr semctl 2 diff --git a/lib/libc/sys/shmat.2 b/lib/libc/sys/shmat.2 index 7ed9d04490b..d19c99980dd 100644 --- a/lib/libc/sys/shmat.2 +++ b/lib/libc/sys/shmat.2 @@ -1,5 +1,5 @@ -.\" $OpenBSD: shmat.2,v 1.2 1996/10/08 01:20:15 michaels Exp $ -.\" $NetBSD: shmat.2,v 1.1 1995/10/16 23:49:29 jtc Exp $ +.\" $OpenBSD: shmat.2,v 1.3 1997/03/30 18:49:51 millert Exp $ +.\" $NetBSD: shmat.2,v 1.2 1997/03/27 08:20:38 mikel Exp $ .\" .\" Copyright (c) 1995 Frank van der Linden .\" All rights reserved. @@ -113,6 +113,6 @@ will fail if: .Fa shmaddr is not the start address of a mapped shared memory segment. .Sh SEE ALSO +.Xr mmap 2 , .Xr shmctl 2 , -.Xr shmget 2 , -.Xr mmap 2 +.Xr shmget 2 diff --git a/lib/libc/sys/shmctl.2 b/lib/libc/sys/shmctl.2 index 036db38b3e9..e41ab3bf2c0 100644 --- a/lib/libc/sys/shmctl.2 +++ b/lib/libc/sys/shmctl.2 @@ -1,5 +1,5 @@ -.\" $OpenBSD: shmctl.2,v 1.2 1996/10/08 01:20:15 michaels Exp $ -.\" $NetBSD: shmctl.2,v 1.1 1995/10/16 23:49:30 jtc Exp $ +.\" $OpenBSD: shmctl.2,v 1.3 1997/03/30 18:49:52 millert Exp $ +.\" $NetBSD: shmctl.2,v 1.3 1997/03/27 08:20:39 mikel Exp $ .\" .\" Copyright (c) 1995 Frank van der Linden .\" All rights reserved. @@ -39,7 +39,7 @@ .Sh SYNOPSIS .Fd #include <sys/types.h> .Fd #include <sys/ipc.h> -.Fd #include <sys/msg.h> +.Fd #include <sys/shm.h> .Ft int .Fn shmctl "int shmid" "int cmd" "struct shmid_ds *buf" .Sh DESCRIPTION @@ -184,5 +184,4 @@ specifies an invalid address. .El .Sh SEE ALSO .Xr shmat 2 , -.Xr shmdt 2 , .Xr shmget 2 diff --git a/lib/libc/sys/shmget.2 b/lib/libc/sys/shmget.2 index 55ad6fbdd77..9a9f1ed8fb5 100644 --- a/lib/libc/sys/shmget.2 +++ b/lib/libc/sys/shmget.2 @@ -1,5 +1,5 @@ -.\" $OpenBSD: shmget.2,v 1.2 1996/10/08 01:20:16 michaels Exp $ -.\" $NetBSD: shmget.2,v 1.1 1995/10/16 23:49:32 jtc Exp $ +.\" $OpenBSD: shmget.2,v 1.3 1997/03/30 18:49:53 millert Exp $ +.\" $NetBSD: shmget.2,v 1.2 1997/03/27 08:20:39 mikel Exp $ .\" .\" Copyright (c) 1995 Frank van der Linden .\" All rights reserved. @@ -120,6 +120,6 @@ There is not enough memory left to created a shared memory segment of the requested size. .El .Sh SEE ALSO -.Xr shmctl 2 , +.Xr mmap 2 , .Xr shmat 2 , -.Xr shmdt 2 +.Xr shmctl 2 |