summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authortrasz <trasz@FreeBSD.org>2009-07-13 12:53:43 +0000
committertrasz <trasz@FreeBSD.org>2009-07-13 12:53:43 +0000
commit1f46aed53dfeb292a0918a810a079b43ddeb4e85 (patch)
tree4a3dbf175a4a046c442bf3e55380b8e44bbedc3c /lib
parentd3041990a52003f5774eb40cf3224a22d2dca3e8 (diff)
downloadFreeBSD-src-1f46aed53dfeb292a0918a810a079b43ddeb4e85.zip
FreeBSD-src-1f46aed53dfeb292a0918a810a079b43ddeb4e85.tar.gz
Move msg{snd,recv,get,ctl} manual pages from section 3 to 2.
Approved by: re (kib)
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/gen/Makefile.inc2
-rw-r--r--lib/libc/gen/ftok.36
-rw-r--r--lib/libc/sys/Makefile.inc1
-rw-r--r--lib/libc/sys/msgctl.2 (renamed from lib/libc/gen/msgctl.3)14
-rw-r--r--lib/libc/sys/msgget.2 (renamed from lib/libc/gen/msgget.3)12
-rw-r--r--lib/libc/sys/msgrcv.2 (renamed from lib/libc/gen/msgrcv.3)10
-rw-r--r--lib/libc/sys/msgsnd.2 (renamed from lib/libc/gen/msgsnd.3)8
7 files changed, 27 insertions, 26 deletions
diff --git a/lib/libc/gen/Makefile.inc b/lib/libc/gen/Makefile.inc
index a4badb9..8837038 100644
--- a/lib/libc/gen/Makefile.inc
+++ b/lib/libc/gen/Makefile.inc
@@ -55,7 +55,7 @@ MAN+= alarm.3 arc4random.3 \
getpagesize.3 getpass.3 getpeereid.3 getprogname.3 getpwent.3 \
getttyent.3 getusershell.3 getvfsbyname.3 \
glob.3 initgroups.3 isgreater.3 ldexp.3 lockf.3 makecontext.3 \
- modf.3 msgctl.3 msgget.3 msgrcv.3 msgsnd.3 \
+ modf.3 \
nice.3 nlist.3 pause.3 popen.3 \
posix_spawn.3 posix_spawn_file_actions_addopen.3 \
posix_spawn_file_actions_init.3 posix_spawnattr_getflags.3 \
diff --git a/lib/libc/gen/ftok.3 b/lib/libc/gen/ftok.3
index a1c7dde..78bfe45 100644
--- a/lib/libc/gen/ftok.3
+++ b/lib/libc/gen/ftok.3
@@ -24,7 +24,7 @@
.\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
.\" $FreeBSD$
-.Dd June 24, 1994
+.Dd July 9, 2009
.Os
.Dt FTOK 3
.Sh NAME
@@ -41,7 +41,7 @@
The
.Fn ftok
function attempts to create a unique key suitable for use with the
-.Xr msgget 3 ,
+.Xr msgget 2 ,
.Xr semget 2
and
.Xr shmget 2
@@ -66,7 +66,7 @@ does not exist or if it cannot be accessed by the calling process.
.Sh SEE ALSO
.Xr semget 2 ,
.Xr shmget 2 ,
-.Xr msgget 3
+.Xr msgget 2
.Sh HISTORY
The
.Fn ftok
diff --git a/lib/libc/sys/Makefile.inc b/lib/libc/sys/Makefile.inc
index da4f3c5..1e6059d 100644
--- a/lib/libc/sys/Makefile.inc
+++ b/lib/libc/sys/Makefile.inc
@@ -81,6 +81,7 @@ MAN+= abort2.2 accept.2 access.2 acct.2 adjtime.2 \
mlockall.2 mmap.2 modfind.2 modnext.2 modstat.2 mount.2 mprotect.2 \
mq_close.2 mq_getattr.2 mq_notify.2 mq_open.2 mq_receive.2 mq_send.2 \
mq_setattr.2 \
+ msgctl.2 msgget.2 msgrcv.2 msgsnd.2 \
msync.2 munmap.2 nanosleep.2 nfssvc.2 ntp_adjtime.2 open.2 \
pathconf.2 pipe.2 poll.2 posix_openpt.2 profil.2 ptrace.2 quotactl.2 \
read.2 readlink.2 reboot.2 recv.2 rename.2 revoke.2 rfork.2 rmdir.2 \
diff --git a/lib/libc/gen/msgctl.3 b/lib/libc/sys/msgctl.2
index 7d4ec0d..34c5263 100644
--- a/lib/libc/gen/msgctl.3
+++ b/lib/libc/sys/msgctl.2
@@ -31,8 +31,8 @@
.\"
.\" $FreeBSD$
.\"/
-.Dd April 3, 2008
-.Dt MSGCTL 3
+.Dd July 9, 2009
+.Dt MSGCTL 2
.Os
.Sh NAME
.Nm msgctl
@@ -144,9 +144,9 @@ values in the data structure associated with the queue can do this.
.El
.Pp
The permission to read from or write to a message queue (see
-.Xr msgsnd 3
+.Xr msgsnd 2
and
-.Xr msgrcv 3 )
+.Xr msgrcv 2 )
is determined by the
.Va msg_perm.mode
field in the same way as is
@@ -202,9 +202,9 @@ argument
specifies an invalid address.
.El
.Sh SEE ALSO
-.Xr msgget 3 ,
-.Xr msgrcv 3 ,
-.Xr msgsnd 3
+.Xr msgget 2 ,
+.Xr msgrcv 2 ,
+.Xr msgsnd 2
.Sh HISTORY
Message queues appeared in the first release of
.At V .
diff --git a/lib/libc/gen/msgget.3 b/lib/libc/sys/msgget.2
index e257c60..27e1766 100644
--- a/lib/libc/gen/msgget.3
+++ b/lib/libc/sys/msgget.2
@@ -31,8 +31,8 @@
.\" $FreeBSD$
.\"
.\"/
-.Dd August 17, 1995
-.Dt MSGGET 3
+.Dd July 9, 2009
+.Dt MSGGET 2
.Os
.Sh NAME
.Nm msgget
@@ -67,7 +67,7 @@ bit is set in
If a new message queue is created, the data structure associated with it (the
.Va msqid_ds
structure, see
-.Xr msgctl 3 )
+.Xr msgctl 2 )
is initialized as follows:
.Bl -bullet
.It
@@ -133,9 +133,9 @@ and no message queue associated with
was found.
.El
.Sh SEE ALSO
-.Xr msgctl 3 ,
-.Xr msgrcv 3 ,
-.Xr msgsnd 3
+.Xr msgctl 2 ,
+.Xr msgrcv 2 ,
+.Xr msgsnd 2
.Sh HISTORY
Message queues appeared in the first release of
.At V .
diff --git a/lib/libc/gen/msgrcv.3 b/lib/libc/sys/msgrcv.2
index e554dcd..917a953 100644
--- a/lib/libc/gen/msgrcv.3
+++ b/lib/libc/sys/msgrcv.2
@@ -31,8 +31,8 @@
.\" $FreeBSD$
.\"
.\"/
-.Dd June 15, 2005
-.Dt MSGRCV 3
+.Dd July 9, 2009
+.Dt MSGRCV 2
.Os
.Sh NAME
.Nm msgrcv
@@ -214,9 +214,9 @@ is set in
.Fa msgflg .
.El
.Sh SEE ALSO
-.Xr msgctl 3 ,
-.Xr msgget 3 ,
-.Xr msgsnd 3
+.Xr msgctl 2 ,
+.Xr msgget 2 ,
+.Xr msgsnd 2
.Sh HISTORY
Message queues appeared in the first release of
.At V .
diff --git a/lib/libc/gen/msgsnd.3 b/lib/libc/sys/msgsnd.2
index fc802b3..d6333bb 100644
--- a/lib/libc/gen/msgsnd.3
+++ b/lib/libc/sys/msgsnd.2
@@ -31,8 +31,8 @@
.\"
.\" $FreeBSD$
.\"
-.Dd October 12, 2006
-.Dt MSGSND 3
+.Dd July 9, 2009
+.Dt MSGSND 2
.Os
.Sh NAME
.Nm msgsnd
@@ -63,7 +63,7 @@ consist of the following members:
.Pp
.Va mtype
is an integer greater than 0 that can be used for selecting messages (see
-.Xr msgrcv 3 ) ,
+.Xr msgrcv 2 ) ,
.Va mtext
is an array of
.Fa msgsz
@@ -78,7 +78,7 @@ If the number of bytes already on the message queue plus
is bigger than the maximum number of bytes on the message queue
.Pf ( Va msg_qbytes ,
see
-.Xr msgctl 3 ) ,
+.Xr msgctl 2 ) ,
or the number of messages on all queues system-wide is already equal to
the system limit,
.Fa msgflg
OpenPOWER on IntegriCloud