svn commit: r195656 - in head: . lib/libc/gen lib/libc/sys

Edward Tomasz Napierala trasz at FreeBSD.org
Mon Jul 13 12:53:44 UTC 2009


Author: trasz
Date: Mon Jul 13 12:53:43 2009
New Revision: 195656
URL: http://svn.freebsd.org/changeset/base/195656

Log:
  Move msg{snd,recv,get,ctl} manual pages from section 3 to 2.
  
  Approved by:	re (kib)

Added:
  head/lib/libc/sys/msgctl.2
     - copied, changed from r195490, head/lib/libc/gen/msgctl.3
  head/lib/libc/sys/msgget.2
     - copied, changed from r195490, head/lib/libc/gen/msgget.3
  head/lib/libc/sys/msgrcv.2
     - copied, changed from r195490, head/lib/libc/gen/msgrcv.3
  head/lib/libc/sys/msgsnd.2
     - copied, changed from r195490, head/lib/libc/gen/msgsnd.3
Deleted:
  head/lib/libc/gen/msgctl.3
  head/lib/libc/gen/msgget.3
  head/lib/libc/gen/msgrcv.3
  head/lib/libc/gen/msgsnd.3
Modified:
  head/ObsoleteFiles.inc
  head/lib/libc/gen/Makefile.inc
  head/lib/libc/gen/ftok.3
  head/lib/libc/sys/Makefile.inc

Modified: head/ObsoleteFiles.inc
==============================================================================
--- head/ObsoleteFiles.inc	Mon Jul 13 11:59:38 2009	(r195655)
+++ head/ObsoleteFiles.inc	Mon Jul 13 12:53:43 2009	(r195656)
@@ -14,6 +14,11 @@
 # The file is partitioned: OLD_FILES first, then OLD_LIBS and OLD_DIRS last.
 #
 
+# 20090709: msgctl.3 msgget.3 msgrcv.3 msgsnd.3 manual pages moved
+OLD_FILES+=usr/share/man/man3/msgctl.3.gz
+OLD_FILES+=usr/share/man/man3/msgget.3.gz
+OLD_FILES+=usr/share/man/man3/msgrcv.3.gz
+OLD_FILES+=usr/share/man/man3/msgsnd.3.gz
 # 20090630: old kernel RPC implementation removal
 OLD_FILES+=usr/include/nfs/rpcv2.h
 # 20090624: update usbdi(9)

Modified: head/lib/libc/gen/Makefile.inc
==============================================================================
--- head/lib/libc/gen/Makefile.inc	Mon Jul 13 11:59:38 2009	(r195655)
+++ head/lib/libc/gen/Makefile.inc	Mon Jul 13 12:53:43 2009	(r195656)
@@ -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 \

Modified: head/lib/libc/gen/ftok.3
==============================================================================
--- head/lib/libc/gen/ftok.3	Mon Jul 13 11:59:38 2009	(r195655)
+++ head/lib/libc/gen/ftok.3	Mon Jul 13 12:53:43 2009	(r195656)
@@ -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 access
 .Sh SEE ALSO
 .Xr semget 2 ,
 .Xr shmget 2 ,
-.Xr msgget 3
+.Xr msgget 2
 .Sh HISTORY
 The
 .Fn ftok

Modified: head/lib/libc/sys/Makefile.inc
==============================================================================
--- head/lib/libc/sys/Makefile.inc	Mon Jul 13 11:59:38 2009	(r195655)
+++ head/lib/libc/sys/Makefile.inc	Mon Jul 13 12:53:43 2009	(r195656)
@@ -81,6 +81,7 @@ MAN+=	abort2.2 accept.2 access.2 acct.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 \

Copied and modified: head/lib/libc/sys/msgctl.2 (from r195490, head/lib/libc/gen/msgctl.3)
==============================================================================
--- head/lib/libc/gen/msgctl.3	Thu Jul  9 12:48:43 2009	(r195490, copy source)
+++ head/lib/libc/sys/msgctl.2	Mon Jul 13 12:53:43 2009	(r195656)
@@ -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 
 .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 .

Copied and modified: head/lib/libc/sys/msgget.2 (from r195490, head/lib/libc/gen/msgget.3)
==============================================================================
--- head/lib/libc/gen/msgget.3	Thu Jul  9 12:48:43 2009	(r195490, copy source)
+++ head/lib/libc/sys/msgget.2	Mon Jul 13 12:53:43 2009	(r195656)
@@ -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 .

Copied and modified: head/lib/libc/sys/msgrcv.2 (from r195490, head/lib/libc/gen/msgrcv.3)
==============================================================================
--- head/lib/libc/gen/msgrcv.3	Thu Jul  9 12:48:43 2009	(r195490, copy source)
+++ head/lib/libc/sys/msgrcv.2	Mon Jul 13 12:53:43 2009	(r195656)
@@ -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 .

Copied and modified: head/lib/libc/sys/msgsnd.2 (from r195490, head/lib/libc/gen/msgsnd.3)
==============================================================================
--- head/lib/libc/gen/msgsnd.3	Thu Jul  9 12:48:43 2009	(r195490, copy source)
+++ head/lib/libc/sys/msgsnd.2	Mon Jul 13 12:53:43 2009	(r195656)
@@ -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 me
 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


More information about the svn-src-head mailing list