Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src More kernel documentation.



details:   https://anonhg.NetBSD.org/src/rev/a230c853a7a8
branches:  trunk
changeset: 538428:a230c853a7a8
user:      gmcgarry <gmcgarry%NetBSD.org@localhost>
date:      Sun Oct 20 05:16:31 2002 +0000

description:
More kernel documentation.

diffstat:

 distrib/sets/lists/comp/mi  |   80 ++++++++++-
 share/man/man9/Makefile     |   41 +++++-
 share/man/man9/cred.9       |  138 +++++++++++++++++++
 share/man/man9/dofileread.9 |  134 +++++++++++++++++++
 share/man/man9/file.9       |  254 ++++++++++++++++++++++++++++++++++++
 share/man/man9/filedesc.9   |  304 ++++++++++++++++++++++++++++++++++++++++++++
 6 files changed, 943 insertions(+), 8 deletions(-)

diffs (truncated from 1135 to 300 lines):

diff -r 131cb1d236ed -r a230c853a7a8 distrib/sets/lists/comp/mi
--- a/distrib/sets/lists/comp/mi        Sun Oct 20 02:37:21 2002 +0000
+++ b/distrib/sets/lists/comp/mi        Sun Oct 20 05:16:31 2002 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: mi,v 1.495 2002/10/14 21:03:19 gmcgarry Exp $
+#      $NetBSD: mi,v 1.496 2002/10/20 05:16:32 gmcgarry Exp $
 ./sys                          comp-sysutil-root
 ./usr/bin/addr2line            comp-debug-bin
 ./usr/bin/ar                   comp-util-bin
@@ -1154,8 +1154,8 @@
 ./usr/share/man/cat2/intro.0           comp-c-catman
 ./usr/share/man/cat2/ioctl.0           comp-c-catman
 ./usr/share/man/cat2/issetugid.0       comp-c-catman
+./usr/share/man/cat2/kevent.0          comp-c-catman
 ./usr/share/man/cat2/kill.0            comp-c-catman
-./usr/share/man/cat2/kevent.0          comp-c-catman
 ./usr/share/man/cat2/kqueue.0          comp-c-catman
 ./usr/share/man/cat2/ktrace.0          comp-c-catman
 ./usr/share/man/cat2/lchflags.0                comp-c-catman
@@ -2967,8 +2967,13 @@
 ./usr/share/man/cat9/ETHER_FIRST_MULTI.0               comp-sys-catman
 ./usr/share/man/cat9/ETHER_IS_MULTICAST.0              comp-sys-catman
 ./usr/share/man/cat9/ETHER_NEXT_MULTI.0                comp-sys-catman
+./usr/share/man/cat9/FILE_IS_USABLE.0          comp-sys-catman
+./usr/share/man/cat9/FILE_SET_MATURE.0         comp-sys-catman
+./usr/share/man/cat9/FILE_UNUSE.0              comp-sys-catman
+./usr/share/man/cat9/FILE_USE.0                comp-sys-catman
 ./usr/share/man/cat9/FREE.0            comp-sys-catman
 ./usr/share/man/cat9/HOLDRELE.0                comp-sys-catman
+./usr/share/man/cat9/KNOTE.0   comp-sys-catman
 ./usr/share/man/cat9/MALLOC.0          comp-sys-catman
 ./usr/share/man/cat9/MCHTYPE.0         comp-sys-catman
 ./usr/share/man/cat9/MCLGET.0          comp-sys-catman
@@ -3159,6 +3164,7 @@
 ./usr/share/man/cat9/chooseproc.0              comp-sys-catman
 ./usr/share/man/cat9/clock_secs_to_ymdhms.0    comp-sys-catman
 ./usr/share/man/cat9/clock_ymdhms_to_secs.0    comp-sys-catman
+./usr/share/man/cat9/closef.0          comp-sys-catman
 ./usr/share/man/cat9/cltom.0           comp-sys-catman
 ./usr/share/man/cat9/cnbell.0          comp-sys-catman
 ./usr/share/man/cat9/cngetc.0          comp-sys-catman
@@ -3206,6 +3212,13 @@
 ./usr/share/man/cat9/cpu_switch.0              comp-sys-catman
 ./usr/share/man/cat9/cpu_sysctl.0      comp-sys-catman
 ./usr/share/man/cat9/cpu_wait.0        comp-sys-catman
+./usr/share/man/cat9/crcopy.0          comp-sys-catman
+./usr/share/man/cat9/crcvt.0           comp-sys-catman
+./usr/share/man/cat9/crdup.0           comp-sys-catman
+./usr/share/man/cat9/cred.0            comp-sys-catman
+./usr/share/man/cat9/crfree.0          comp-sys-catman
+./usr/share/man/cat9/crget.0           comp-sys-catman
+./usr/share/man/cat9/crhold.0          comp-sys-catman
 ./usr/share/man/cat9/ctxsw.0           comp-sys-catman
 ./usr/share/man/cat9/curcpu.0  comp-sys-catman
 ./usr/share/man/cat9/curproc.0 comp-sys-catman
@@ -3228,10 +3241,15 @@
 ./usr/share/man/cat9/dmover_request_free.0             comp-sys-catman
 ./usr/share/man/cat9/dmover_session_create.0           comp-sys-catman
 ./usr/share/man/cat9/dmover_session_destroy.0          comp-sys-catman
+./usr/share/man/cat9/dofileread.0              comp-sys-catman
+./usr/share/man/cat9/dofilereadv.0             comp-sys-catman
+./usr/share/man/cat9/dofilewrite.0             comp-sys-catman
+./usr/share/man/cat9/dofilewritev.0            comp-sys-catman
 ./usr/share/man/cat9/dopowerhooks.0            comp-sys-catman
 ./usr/share/man/cat9/doshutdownhooks.0         comp-sys-catman
 ./usr/share/man/cat9/driver.0          comp-sys-catman
 ./usr/share/man/cat9/dumpsys.0 comp-sys-catman
+./usr/share/man/cat9/dupfdopen.0               comp-sys-catman
 ./usr/share/man/cat9/ether_addmulti.0          comp-sys-catman
 ./usr/share/man/cat9/ether_delmulti.0          comp-sys-catman
 ./usr/share/man/cat9/ether_ifattach.0          comp-sys-catman
@@ -3249,10 +3267,28 @@
 ./usr/share/man/cat9/extent_destroy.0          comp-sys-catman
 ./usr/share/man/cat9/extent_free.0             comp-sys-catman
 ./usr/share/man/cat9/extent_print.0            comp-sys-catman
+./usr/share/man/cat9/falloc.0          comp-sys-catman
+./usr/share/man/cat9/fd_getfile.0              comp-sys-catman
+./usr/share/man/cat9/fdalloc.0         comp-sys-catman
+./usr/share/man/cat9/fdavail.0         comp-sys-catman
+./usr/share/man/cat9/fdcheckstd.0              comp-sys-catman
+./usr/share/man/cat9/fdclear.0         comp-sys-catman
+./usr/share/man/cat9/fdcloseexec.0             comp-sys-catman
+./usr/share/man/cat9/fdcopy.0          comp-sys-catman
 ./usr/share/man/cat9/fddi_addmulti.0           comp-sys-catman
 ./usr/share/man/cat9/fddi_delmulti.0           comp-sys-catman
 ./usr/share/man/cat9/fddi_ifattach.0           comp-sys-catman
+./usr/share/man/cat9/fdexpand.0                comp-sys-catman
+./usr/share/man/cat9/fdfree.0          comp-sys-catman
+./usr/share/man/cat9/fdinit.0          comp-sys-catman
+./usr/share/man/cat9/fdrelease.0               comp-sys-catman
+./usr/share/man/cat9/fdremove.0                comp-sys-catman
+./usr/share/man/cat9/fdshare.0         comp-sys-catman
+./usr/share/man/cat9/fdunshare.0               comp-sys-catman
 ./usr/share/man/cat9/fetch.0           comp-sys-catman
+./usr/share/man/cat9/ffree.0           comp-sys-catman
+./usr/share/man/cat9/file.0            comp-sys-catman
+./usr/share/man/cat9/filedesc.0                comp-sys-catman
 ./usr/share/man/cat9/fork1.0           comp-sys-catman
 ./usr/share/man/cat9/format_bytes.0            comp-sys-catman
 ./usr/share/man/cat9/free.0            comp-sys-catman
@@ -3323,7 +3359,6 @@
 ./usr/share/man/cat9/isapnp_unconfig.0         comp-sys-catman
 ./usr/share/man/cat9/issignal.0                comp-sys-catman
 ./usr/share/man/cat9/itimerfix.0               comp-sys-catman
-./usr/share/man/cat9/KNOTE.0   comp-sys-catman
 ./usr/share/man/cat9/kcopy.0   comp-sys-catman
 ./usr/share/man/cat9/kernacc.0                 comp-sys-catman
 ./usr/share/man/cat9/kfilter_register.0                comp-sys-catman
@@ -3894,8 +3929,8 @@
 ./usr/share/man/man2/intro.2           comp-c-man
 ./usr/share/man/man2/ioctl.2           comp-c-man
 ./usr/share/man/man2/issetugid.2               comp-c-man
+./usr/share/man/man2/kevent.2          comp-c-man
 ./usr/share/man/man2/kill.2            comp-c-man
-./usr/share/man/man2/kevent.2          comp-c-man
 ./usr/share/man/man2/kqueue.2          comp-c-man
 ./usr/share/man/man2/ktrace.2          comp-c-man
 ./usr/share/man/man2/lchflags.2                comp-c-man
@@ -5707,8 +5742,13 @@
 ./usr/share/man/man9/ETHER_FIRST_MULTI.9               comp-sys-man
 ./usr/share/man/man9/ETHER_IS_MULTICAST.9              comp-sys-man
 ./usr/share/man/man9/ETHER_NEXT_MULTI.9                comp-sys-man
+./usr/share/man/man9/FILE_IS_USABLE.9          comp-sys-man
+./usr/share/man/man9/FILE_SET_MATURE.9         comp-sys-man
+./usr/share/man/man9/FILE_UNUSE.9              comp-sys-man
+./usr/share/man/man9/FILE_USE.9                comp-sys-man
 ./usr/share/man/man9/FREE.9            comp-sys-man
 ./usr/share/man/man9/HOLDRELE.9                comp-sys-man
+./usr/share/man/man9/KNOTE.9   comp-sys-man
 ./usr/share/man/man9/MALLOC.9          comp-sys-man
 ./usr/share/man/man9/MCHTYPE.9         comp-sys-man
 ./usr/share/man/man9/MCLGET.9          comp-sys-man
@@ -5899,6 +5939,7 @@
 ./usr/share/man/man9/chooseproc.9              comp-sys-man
 ./usr/share/man/man9/clock_secs_to_ymdhms.9    comp-sys-man
 ./usr/share/man/man9/clock_ymdhms_to_secs.9    comp-sys-man
+./usr/share/man/man9/closef.9          comp-sys-man
 ./usr/share/man/man9/cltom.9           comp-sys-man
 ./usr/share/man/man9/cnbell.9          comp-sys-man
 ./usr/share/man/man9/cngetc.9          comp-sys-man
@@ -5946,6 +5987,13 @@
 ./usr/share/man/man9/cpu_switch.9              comp-sys-man
 ./usr/share/man/man9/cpu_sysctl.9      comp-sys-man
 ./usr/share/man/man9/cpu_wait.9        comp-sys-man
+./usr/share/man/man9/crcopy.9          comp-sys-man
+./usr/share/man/man9/crcvt.9           comp-sys-man
+./usr/share/man/man9/crdup.9           comp-sys-man
+./usr/share/man/man9/cred.9            comp-sys-man
+./usr/share/man/man9/crfree.9          comp-sys-man
+./usr/share/man/man9/crget.9           comp-sys-man
+./usr/share/man/man9/crhold.9          comp-sys-man
 ./usr/share/man/man9/ctxsw.9           comp-sys-man
 ./usr/share/man/man9/curcpu.9  comp-sys-man
 ./usr/share/man/man9/curproc.9 comp-sys-man
@@ -5968,10 +6016,15 @@
 ./usr/share/man/man9/dmover_request_free.9             comp-sys-man
 ./usr/share/man/man9/dmover_session_create.9           comp-sys-man
 ./usr/share/man/man9/dmover_session_destroy.9          comp-sys-man
+./usr/share/man/man9/dofileread.9              comp-sys-man
+./usr/share/man/man9/dofilereadv.9             comp-sys-man
+./usr/share/man/man9/dofilewrite.9             comp-sys-man
+./usr/share/man/man9/dofilewritev.9            comp-sys-man
 ./usr/share/man/man9/dopowerhooks.9            comp-sys-man
 ./usr/share/man/man9/doshutdownhooks.9         comp-sys-man
 ./usr/share/man/man9/driver.9          comp-sys-man
 ./usr/share/man/man9/dumpsys.9 comp-sys-man
+./usr/share/man/man9/dupfdopen.9               comp-sys-man
 ./usr/share/man/man9/ether_addmulti.9          comp-sys-man
 ./usr/share/man/man9/ether_delmulti.9          comp-sys-man
 ./usr/share/man/man9/ether_ifattach.9          comp-sys-man
@@ -5989,10 +6042,28 @@
 ./usr/share/man/man9/extent_destroy.9          comp-sys-man
 ./usr/share/man/man9/extent_free.9             comp-sys-man
 ./usr/share/man/man9/extent_print.9            comp-sys-man
+./usr/share/man/man9/falloc.9          comp-sys-man
+./usr/share/man/man9/fd_getfile.9              comp-sys-man
+./usr/share/man/man9/fdalloc.9         comp-sys-man
+./usr/share/man/man9/fdavail.9         comp-sys-man
+./usr/share/man/man9/fdcheckstd.9              comp-sys-man
+./usr/share/man/man9/fdclear.9         comp-sys-man
+./usr/share/man/man9/fdcloseexec.9             comp-sys-man
+./usr/share/man/man9/fdcopy.9          comp-sys-man
 ./usr/share/man/man9/fddi_addmulti.9           comp-sys-man
 ./usr/share/man/man9/fddi_delmulti.9           comp-sys-man
 ./usr/share/man/man9/fddi_ifattach.9           comp-sys-man
+./usr/share/man/man9/fdexpand.9                comp-sys-man
+./usr/share/man/man9/fdfree.9          comp-sys-man
+./usr/share/man/man9/fdinit.9          comp-sys-man
+./usr/share/man/man9/fdrelease.9               comp-sys-man
+./usr/share/man/man9/fdremove.9                comp-sys-man
+./usr/share/man/man9/fdshare.9         comp-sys-man
+./usr/share/man/man9/fdunshare.9               comp-sys-man
 ./usr/share/man/man9/fetch.9           comp-sys-man
+./usr/share/man/man9/ffree.9           comp-sys-man
+./usr/share/man/man9/file.9            comp-sys-man
+./usr/share/man/man9/filedesc.9                comp-sys-man
 ./usr/share/man/man9/fork1.9           comp-sys-man
 ./usr/share/man/man9/format_bytes.9            comp-sys-man
 ./usr/share/man/man9/free.9            comp-sys-man
@@ -6063,7 +6134,6 @@
 ./usr/share/man/man9/isapnp_unconfig.9         comp-sys-man
 ./usr/share/man/man9/issignal.9                        comp-sys-man
 ./usr/share/man/man9/itimerfix.9               comp-sys-man
-./usr/share/man/man9/KNOTE.9   comp-sys-man
 ./usr/share/man/man9/kcopy.9   comp-sys-man
 ./usr/share/man/man9/kernacc.9                 comp-sys-man
 ./usr/share/man/man9/kfilter_register.9                comp-sys-man
diff -r 131cb1d236ed -r a230c853a7a8 share/man/man9/Makefile
--- a/share/man/man9/Makefile   Sun Oct 20 02:37:21 2002 +0000
+++ b/share/man/man9/Makefile   Sun Oct 20 05:16:31 2002 +0000
@@ -1,4 +1,4 @@
-#       $NetBSD: Makefile,v 1.129 2002/10/14 21:03:22 gmcgarry Exp $
+#       $NetBSD: Makefile,v 1.130 2002/10/20 05:16:32 gmcgarry Exp $
 
 #      Makefile for section 9 (kernel function and variable) manual pages.
 
@@ -10,9 +10,10 @@
        cpu_fork.9 \
        cpu_initclocks.9 cpu_number.9 cpu_reboot.9 cpu_rootconf.9 \
        cpu_startup.9 cpu_swapout.9 cpu_sysctl.9 cpu_wait.9 \
-       ctxsw.9 curproc.9 delay.9 disk.9 disklabel.9 \
+       cred.9 \
+       ctxsw.9 curproc.9 delay.9 disk.9 disklabel.9 dofileread.9 \
        dopowerhooks.9 doshutdownhooks.9 driver.9 ethersubr.9 evcnt.9 \
-       extent.9 fetch.9 fork1.9 \
+       extent.9 fetch.9 file.9 filedesc.9 fork1.9 \
        hash.9 hardclock.9 humanize_number.9 hz.9 \
        in4_cksum.9 inittodr.9 intro.9 ioasic.9 ioctl.9 ipkdb.9 isa.9 \
        isapnp.9 itimerfix.9 kcopy.9 \
@@ -132,6 +133,12 @@
        cpu_dumpconf.9 dumpsys.9
 MLINKS+=cpu_fork.9 child_return.9 cpu_fork.9 proc_trampoline.9
 MLINKS+=cpu_swapout.9 cpu_swapin.9
+MLINKS+=cred.9 crfree.9 \
+       cred.9 crhold.9 \
+       cred.9 crcopy.9 \
+       cred.9 crdup.9 \
+       cred.9 crget.9 \
+       cred.9 crcvt.9
 MLINKS+=ctxsw.9 cpu_switch.9 ctxsw.9 mi_switch.9
 MLINKS+=curproc.9 curcpu.9
 MLINKS+=delay.9 DELAY.9
@@ -140,6 +147,9 @@
        disk.9 disk_resetstat.9
 MLINKS+=disklabel.9 readdisklabel.9 disklabel.9 writedisklabel.9 \
        disklabel.9 setdisklabel.9 disklabel.9 bounds_check_with_label.9
+MLINKS+=dofileread.9 dofilewrite.9 \
+       dofileread.9 dofilereadv.9 \
+       dofileread.9 dofilewritev.9
 MLINKS+=ethersubr.9 ether_ifattach.9 ethersubr.9 ether_addmulti.9 \
        ethersubr.9 ether_delmulti.9 ethersubr.9 ETHER_IS_MULTICAST.9 \
        ethersubr.9 ETHER_FIRST_MULTI.9 ethersubr.9 ETHER_NEXT_MULTI.9 \
@@ -153,6 +163,28 @@
        extent.9 extent_print.9
 MLINKS+=fetch.9 fubyte.9 fetch.9 fuibyte.9 fetch.9 fusword.9 \
        fetch.9 fuswintr.9 fetch.9 fuword.9 fetch.9 fuiword.9
+MLINKS+=file.9 closef.9 \
+       file.9 ffree.9 \
+       file.9 FILE_IS_USABLE.9 \
+       file.9 FILE_USE.9 \
+       file.9 FILE_UNUSE.9 \
+       file.9 FILE_SET_MATURE.9
+MLINKS+=filedesc.9 falloc.9 \
+       filedesc.9 fd_getfile.9 \
+       filedesc.9 dupfdopen.9 \
+       filedesc.9 fdalloc.9 \
+       filedesc.9 fdavail.9 \
+       filedesc.9 fdcheckstd.9 \
+       filedesc.9 fdclear.9 \
+       filedesc.9 fdcloseexec.9 \
+       filedesc.9 fdcopy.9 \
+       filedesc.9 fdexpand.9 \
+       filedesc.9 fdfree.9 \
+       filedesc.9 fdinit.9 \
+       filedesc.9 fdrelease.9 \
+       filedesc.9 fdremove.9 \
+       filedesc.9 fdshare.9 \
+       filedesc.9 fdunshare.9
 MLINKS+=hash.9 hash32_buf.9 hash.9 hash32_str.9 hash.9 hash32_strn.9
 MLINKS+=humanize_number.9 format_bytes.9
 MLINKS+=in4_cksum.9 in_cksum.9 \
@@ -543,3 +575,6 @@
 
 .include <bsd.man.mk>
 .include <bsd.subdir.mk>
+
+
+
diff -r 131cb1d236ed -r a230c853a7a8 share/man/man9/cred.9
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/share/man/man9/cred.9     Sun Oct 20 05:16:31 2002 +0000
@@ -0,0 +1,138 @@
+.\"     $NetBSD: cred.9,v 1.1 2002/10/20 05:16:32 gmcgarry Exp $
+.\"
+.\" Copyright (c) 2002 The NetBSD Foundation, Inc.
+.\" All rights reserved.
+.\"
+.\" This code is derived from software contributed to The NetBSD Foundation
+.\" by Gregory McGarry.
+.\"



Home | Main Index | Thread Index | Old Index