Hi,
This diff converts all obsolete '.Fd' tags into '.In' tags of manpages
of category nine. I hope this diff is ok and that there are no 3rd
party dependencies in kernel ;-) If something is wrong with it, just
wrote me and I will fix it.
I need this change for a private manpage scripting project.
I have checked this diff with these commands from Ingo Schwarze:
grep '^-[^-]' man9.diff | sed 's/^-.Fd #include <//' | sed 's/>$//'
> minus.txt
grep '^+[^+]' man9.diff | sed 's/^+.In //' > plus.txt
diff -u minus.txt plus.txt
The only special case is this one:
Index: rasops.9
===================================================================
RCS file: /openbsd/src/share/man/man9/rasops.9,v
retrieving revision 1.10
diff -u -p -r1.10 rasops.9
--- rasops.9 26 Jun 2008 05:42:08 -0000 1.10
+++ rasops.9 4 Jun 2013 15:00:43 -0000
@@ -37,8 +37,8 @@
.Nm rasops_reconfig
.Nd raster display operations
.Sh SYNOPSIS
-.Fd #include \*[Lt]dev/wscons/wsdisplayvar.h\*[Gt]
-.Fd #include \*[Lt]dev/rasops/rasops.h\*[Gt]
+.In dev/wscons/wsdisplayvar.h
+.In dev/rasops/rasops.h
.Ft int
.Fn rasops_init "struct rasops_info *ri" "int wantrows" "int wantcols"
.Ft int
bye,
Jan
Index: VOP_GETATTR.9
===================================================================
RCS file: /openbsd/src/share/man/man9/VOP_GETATTR.9,v
retrieving revision 1.4
diff -u -p -r1.4 VOP_GETATTR.9
--- VOP_GETATTR.9 9 Dec 2007 20:54:01 -0000 1.4
+++ VOP_GETATTR.9 4 Jun 2013 15:00:43 -0000
@@ -23,7 +23,7 @@
.Nm VOP_SETATTR
.Nd get or set vnode attributes
.Sh SYNOPSIS
-.Fd #include <sys/vnode.h>
+.In sys/vnode.h
.Ft int
.Fo VOP_GETATTR
.Fa "struct vnode *vp"
Index: VOP_LOOKUP.9
===================================================================
RCS file: /openbsd/src/share/man/man9/VOP_LOOKUP.9,v
retrieving revision 1.22
diff -u -p -r1.22 VOP_LOOKUP.9
--- VOP_LOOKUP.9 7 Sep 2010 00:10:12 -0000 1.22
+++ VOP_LOOKUP.9 4 Jun 2013 15:00:43 -0000
@@ -30,7 +30,7 @@
.Nm VOP_LOOKUP
.Nd vnode operations
.Sh SYNOPSIS
-.Fd #include <sys/vnode.h>
+.In sys/vnode.h
.Ft int
.Fo VOP_ABORTOP
.Fa "struct vnode *dvp"
Index: altq.9
===================================================================
RCS file: /openbsd/src/share/man/man9/altq.9,v
retrieving revision 1.15
diff -u -p -r1.15 altq.9
--- altq.9 15 Nov 2012 13:26:26 -0000 1.15
+++ altq.9 4 Jun 2013 15:00:43 -0000
@@ -32,9 +32,9 @@
.Nm altq
.Nd kernel interfaces for manipulating output queues on network interfaces
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <sys/socket.h>
-.Fd #include <net/if.h>
+.In sys/types.h
+.In sys/socket.h
+.In net/if.h
.Ft void \"macro
.Fn IFQ_ENQUEUE "struct ifaltq *ifq" "struct mbuf *m" "struct altq_pktattr
*pa" "int err"
.Ft void \"macro
Index: aml_evalnode.9
===================================================================
RCS file: /openbsd/src/share/man/man9/aml_evalnode.9,v
retrieving revision 1.7
diff -u -p -r1.7 aml_evalnode.9
--- aml_evalnode.9 26 Mar 2010 19:30:40 -0000 1.7
+++ aml_evalnode.9 4 Jun 2013 15:00:43 -0000
@@ -25,11 +25,11 @@
.Nm aml_val2int
.Nd AML API
.Sh SYNOPSIS
-.Fd #include <dev/acpi/acpireg.h>
-.Fd #include <dev/acpi/acpivar.h>
-.Fd #include <dev/acpi/acpidev.h>
-.Fd #include <dev/acpi/amltypes.h>
-.Fd #include <dev/acpi/dsdt.h>
+.In dev/acpi/acpireg.h
+.In dev/acpi/acpivar.h
+.In dev/acpi/acpidev.h
+.In dev/acpi/amltypes.h
+.In dev/acpi/dsdt.h
.Ft int
.Fn "aml_evalnode" "struct acpi_softc *sc" "struct aml_node *node" \
"int argc" "struct aml_value *argv" "struct aml_value *res"
Index: arc4random.9
===================================================================
RCS file: /openbsd/src/share/man/man9/arc4random.9,v
retrieving revision 1.5
diff -u -p -r1.5 arc4random.9
--- arc4random.9 9 Jan 2011 02:20:53 -0000 1.5
+++ arc4random.9 4 Jun 2013 15:00:43 -0000
@@ -30,7 +30,7 @@
.Nm arc4random
.Nd kernel random subsystem
.Sh SYNOPSIS
-.Fd #include <dev/rndvar.h>
+.In dev/rndvar.h
.Ft void
.Fn add_true_randomness "int"
.Ft void
Index: atomic.9
===================================================================
RCS file: /openbsd/src/share/man/man9/atomic.9,v
retrieving revision 1.4
diff -u -p -r1.4 atomic.9
--- atomic.9 31 May 2007 19:20:00 -0000 1.4
+++ atomic.9 4 Jun 2013 15:00:43 -0000
@@ -24,7 +24,7 @@
.Nm atomic_clearbits_int
.Nd interface to perform atomic operations on data
.Sh SYNOPSIS
-.Fd #include <machine/atomic.h>
+.In machine/atomic.h
.Ft void
.Fn atomic_setbits_int "unsigned int *p" "unsigned int b"
.Ft void
Index: autoconf.9
===================================================================
RCS file: /openbsd/src/share/man/man9/autoconf.9,v
retrieving revision 1.10
diff -u -p -r1.10 autoconf.9
--- autoconf.9 26 Jun 2008 05:42:08 -0000 1.10
+++ autoconf.9 4 Jun 2013 15:00:43 -0000
@@ -35,8 +35,8 @@
.Nm autoconf
.Nd autoconfiguration framework
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/device.h>
+.In sys/param.h
+.In sys/device.h
.Sh DESCRIPTION
Autoconfiguration is the process of matching hardware devices with an
appropriate device driver.
Index: boot.9
===================================================================
RCS file: /openbsd/src/share/man/man9/boot.9,v
retrieving revision 1.8
diff -u -p -r1.8 boot.9
--- boot.9 23 May 2013 17:11:48 -0000 1.8
+++ boot.9 4 Jun 2013 15:00:43 -0000
@@ -37,7 +37,7 @@
.Nm boot
.Nd halt or reboot the system
.Sh SYNOPSIS
-.Fd #include <sys/reboot.h>
+.In sys/reboot.h
.Ft void
.Fn boot "int howto"
.Sh DESCRIPTION
Index: bus_dma.9
===================================================================
RCS file: /openbsd/src/share/man/man9/bus_dma.9,v
retrieving revision 1.30
diff -u -p -r1.30 bus_dma.9
--- bus_dma.9 10 Dec 2012 13:01:26 -0000 1.30
+++ bus_dma.9 4 Jun 2013 15:00:43 -0000
@@ -36,7 +36,7 @@
.Nm bus_dma
.Nd bus and machine independent DMA mapping interface
.Sh SYNOPSIS
-.Fd #include <machine/bus.h>
+.In machine/bus.h
.Sh DESCRIPTION
The
.Nm
Index: bus_space.9
===================================================================
RCS file: /openbsd/src/share/man/man9/bus_space.9,v
retrieving revision 1.26
diff -u -p -r1.26 bus_space.9
--- bus_space.9 29 Jan 2013 14:22:09 -0000 1.26
+++ bus_space.9 4 Jun 2013 15:00:43 -0000
@@ -109,7 +109,7 @@
.\".Nm bus_space_write_stream_8 ,
.Nd bus space manipulation functions
.Sh SYNOPSIS
-.Fd #include <machine/bus.h>
+.In machine/bus.h
.Ft int
.Fn bus_space_map "bus_space_tag_t space" "bus_addr_t address" \
"bus_size_t size" "int flags" "bus_space_handle_t *handlep"
Index: copy.9
===================================================================
RCS file: /openbsd/src/share/man/man9/copy.9,v
retrieving revision 1.15
diff -u -p -r1.15 copy.9
--- copy.9 21 Jun 2012 18:01:40 -0000 1.15
+++ copy.9 4 Jun 2013 15:00:43 -0000
@@ -40,8 +40,8 @@
.Nm copy
.Nd kernel copy functions
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <sys/systm.h>
+.In sys/types.h
+.In sys/systm.h
.Ft int
.Fn copyin "const void *uaddr" "void *kaddr" "size_t len"
.Ft int
Index: crypto.9
===================================================================
RCS file: /openbsd/src/share/man/man9/crypto.9,v
retrieving revision 1.34
diff -u -p -r1.34 crypto.9
--- crypto.9 17 Jan 2013 21:54:18 -0000 1.34
+++ crypto.9 4 Jun 2013 15:00:43 -0000
@@ -22,7 +22,7 @@
.Nm crypto
.Nd API for cryptographic services in the kernel
.Sh SYNOPSIS
-.Fd #include <crypto/cryptodev.h>
+.In crypto/cryptodev.h
.Ft int32_t
.Fn crypto_get_driverid "u_int8_t"
.Ft int
Index: disk.9
===================================================================
RCS file: /openbsd/src/share/man/man9/disk.9,v
retrieving revision 1.31
diff -u -p -r1.31 disk.9
--- disk.9 6 Apr 2012 15:42:56 -0000 1.31
+++ disk.9 4 Jun 2013 15:00:43 -0000
@@ -38,9 +38,9 @@
.Nm disk
.Nd generic disk framework
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <sys/disklabel.h>
-.Fd #include <sys/disk.h>
+.In sys/types.h
+.In sys/disklabel.h
+.In sys/disk.h
.Ft void
.Fn disk_init "void"
.Ft void
Index: disklabel.9
===================================================================
RCS file: /openbsd/src/share/man/man9/disklabel.9,v
retrieving revision 1.16
diff -u -p -r1.16 disklabel.9
--- disklabel.9 6 Jul 2011 04:55:00 -0000 1.16
+++ disklabel.9 4 Jun 2013 15:00:43 -0000
@@ -39,8 +39,8 @@
.Nm bounds_check_with_label
.Nd disk label management routines
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/disklabel.h>
+.In sys/param.h
+.In sys/disklabel.h
.Ft int
.Fn readdisklabel "dev_t dev" "void (*strat)(struct buf *)" "struct disklabel
*lp" "int spoofonly"
.Ft int
Index: dma_alloc.9
===================================================================
RCS file: /openbsd/src/share/man/man9/dma_alloc.9,v
retrieving revision 1.5
diff -u -p -r1.5 dma_alloc.9
--- dma_alloc.9 12 Apr 2011 20:24:56 -0000 1.5
+++ dma_alloc.9 4 Jun 2013 15:00:43 -0000
@@ -24,8 +24,8 @@
.Nm dma_free
.Nd DMA-safe memory allocator
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <sys/pool.h>
+.In sys/types.h
+.In sys/pool.h
.Ft void *
.Fo dma_alloc
.Fa "size_t size"
Index: dohooks.9
===================================================================
RCS file: /openbsd/src/share/man/man9/dohooks.9,v
retrieving revision 1.5
diff -u -p -r1.5 dohooks.9
--- dohooks.9 31 May 2007 19:20:00 -0000 1.5
+++ dohooks.9 4 Jun 2013 15:00:43 -0000
@@ -32,8 +32,8 @@
.Nm dohooks
.Nd run all hooks in a list
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <sys/systm.h>
+.In sys/types.h
+.In sys/systm.h
.Ft void
.Fn dohooks "struct hook_desc_head *head" "int flags"
.Sh DESCRIPTION
Index: domountroothooks.9
===================================================================
RCS file: /openbsd/src/share/man/man9/domountroothooks.9,v
retrieving revision 1.3
diff -u -p -r1.3 domountroothooks.9
--- domountroothooks.9 31 May 2007 19:20:00 -0000 1.3
+++ domountroothooks.9 4 Jun 2013 15:00:43 -0000
@@ -32,8 +32,8 @@
.Nm domountroothooks
.Nd run all mountroot hooks
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <sys/systm.h>
+.In sys/types.h
+.In sys/systm.h
.Ft void
.Fn domountroothooks "void"
.Sh DESCRIPTION
Index: dopowerhooks.9
===================================================================
RCS file: /openbsd/src/share/man/man9/dopowerhooks.9,v
retrieving revision 1.6
diff -u -p -r1.6 dopowerhooks.9
--- dopowerhooks.9 17 Jan 2009 18:02:29 -0000 1.6
+++ dopowerhooks.9 4 Jun 2013 15:00:43 -0000
@@ -32,8 +32,8 @@
.Nm dopowerhooks
.Nd run all power hooks
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <sys/systm.h>
+.In sys/types.h
+.In sys/systm.h
.Ft void
.Fn dopowerhooks "int why"
.Sh DESCRIPTION
Index: doshutdownhooks.9
===================================================================
RCS file: /openbsd/src/share/man/man9/doshutdownhooks.9,v
retrieving revision 1.10
diff -u -p -r1.10 doshutdownhooks.9
--- doshutdownhooks.9 31 May 2007 19:20:00 -0000 1.10
+++ doshutdownhooks.9 4 Jun 2013 15:00:43 -0000
@@ -37,8 +37,8 @@
.Nm doshutdownhooks
.Nd run all shutdown hooks
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <sys/systm.h>
+.In sys/types.h
+.In sys/systm.h
.Ft void
.Fn doshutdownhooks "void"
.Sh DESCRIPTION
Index: dostartuphooks.9
===================================================================
RCS file: /openbsd/src/share/man/man9/dostartuphooks.9,v
retrieving revision 1.8
diff -u -p -r1.8 dostartuphooks.9
--- dostartuphooks.9 31 May 2007 19:20:00 -0000 1.8
+++ dostartuphooks.9 4 Jun 2013 15:00:43 -0000
@@ -32,8 +32,8 @@
.Nm dostartuphooks
.Nd run all startup hooks
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <sys/systm.h>
+.In sys/types.h
+.In sys/systm.h
.Ft void
.Fn dostartuphooks "void"
.Sh DESCRIPTION
Index: extent.9
===================================================================
RCS file: /openbsd/src/share/man/man9/extent.9,v
retrieving revision 1.14
diff -u -p -r1.14 extent.9
--- extent.9 19 Apr 2009 15:26:52 -0000 1.14
+++ extent.9 4 Jun 2013 15:00:43 -0000
@@ -41,8 +41,8 @@
.Nm extent_print
.Nd general purpose extent manager
.Sh SYNOPSIS
-.Fd #include <sys/malloc.h>
-.Fd #include <sys/extent.h>
+.In sys/malloc.h
+.In sys/extent.h
.Ft struct extent *
.Fn extent_create "char *name" "u_long start" "u_long end" "int mtype"
"caddr_t storage" "size_t storagesize" "int flags"
.Ft void
Index: file.9
===================================================================
RCS file: /openbsd/src/share/man/man9/file.9,v
retrieving revision 1.11
diff -u -p -r1.11 file.9
--- file.9 4 Oct 2012 02:47:49 -0000 1.11
+++ file.9 4 Jun 2013 15:00:43 -0000
@@ -29,8 +29,8 @@
.Nm file
.Nd an overview of file descriptor handling
.Sh SYNOPSIS
-.Fd #include <sys/file.h>
-.Fd #include <sys/filedesc.h>
+.In sys/file.h
+.In sys/filedesc.h
.Ft int
.Fn falloc "struct proc *p" "struct file **resultfp" "int *resultfd"
.Ft int
@@ -43,9 +43,9 @@
.Fn fd_getfile "struct filedesc *fdp" "int fd"
.Ft int
.Fn getsock "struct filedesc *fdp" "int fd" "struct file **fpp"
-.Fd #include <sys/file.h>
-.Fd #include <sys/filedesc.h>
-.Fd #include <sys/vnode.h>
+.In sys/file.h
+.In sys/filedesc.h
+.In sys/vnode.h
.Ft int
.Fn getvnode "struct filedesc *fdp" "int fd" "struct file **fpp"
.Sh DESCRIPTION
Index: fork1.9
===================================================================
RCS file: /openbsd/src/share/man/man9/fork1.9,v
retrieving revision 1.19
diff -u -p -r1.19 fork1.9
--- fork1.9 13 Jun 2012 06:15:23 -0000 1.19
+++ fork1.9 4 Jun 2013 15:00:43 -0000
@@ -36,8 +36,8 @@
.Nm fork1
.Nd create a new process
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <sys/proc.h>
+.In sys/types.h
+.In sys/proc.h
.Ft int
.Fo "fork1"
.Fa "struct proc *p1"
Index: fusebuf.9
===================================================================
RCS file: /openbsd/src/share/man/man9/fusebuf.9,v
retrieving revision 1.3
diff -u -p -r1.3 fusebuf.9
--- fusebuf.9 3 Jun 2013 16:35:55 -0000 1.3
+++ fusebuf.9 4 Jun 2013 15:00:43 -0000
@@ -21,7 +21,7 @@
.Nm fusebuf
.Nd kernel messaging mechanism for file system in userland
.Sh SYNOPSIS
-.Fd #include <sys/fusebuf.h>
+.In sys/fusebuf.h
.Ft struct fusebuf *
.Fn fb_setup "size_t size" "ino_t inode" "int type" "struct proc *p"
.Ft int
Index: getdevvp.9
===================================================================
RCS file: /openbsd/src/share/man/man9/getdevvp.9,v
retrieving revision 1.7
diff -u -p -r1.7 getdevvp.9
--- getdevvp.9 31 May 2007 19:20:00 -0000 1.7
+++ getdevvp.9 4 Jun 2013 15:00:43 -0000
@@ -35,8 +35,8 @@
.Nm cdevvp
.Nd create a vnode for a device
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/vnode.h>
+.In sys/param.h
+.In sys/vnode.h
.Ft int
.Fn getdevvp "dev_t dev" "struct vnode **vpp" "enum vtype type"
.Ft int
Index: getnewvnode.9
===================================================================
RCS file: /openbsd/src/share/man/man9/getnewvnode.9,v
retrieving revision 1.6
diff -u -p -r1.6 getnewvnode.9
--- getnewvnode.9 18 May 2012 05:56:00 -0000 1.6
+++ getnewvnode.9 4 Jun 2013 15:00:43 -0000
@@ -34,9 +34,9 @@
.Nm getnewvnode
.Nd "get a new vnode"
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/vnode.h>
-.Fd #include <sys/mount.h>
+.In sys/param.h
+.In sys/vnode.h
+.In sys/mount.h
.Ft int
.Fo getnewvnode
.Fa "enum vtagtype tag"
Index: hardclock.9
===================================================================
RCS file: /openbsd/src/share/man/man9/hardclock.9,v
retrieving revision 1.8
diff -u -p -r1.8 hardclock.9
--- hardclock.9 31 May 2007 19:20:00 -0000 1.8
+++ hardclock.9 4 Jun 2013 15:00:43 -0000
@@ -31,7 +31,7 @@
.Nm hardclock
.Nd real-time system clock
.Sh SYNOPSIS
-.Fd #include <sys/systm.h>
+.In sys/systm.h
.Ft void
.Fo "hardclock"
.Fa "struct clockframe *frame"
Index: hash.9
===================================================================
RCS file: /openbsd/src/share/man/man9/hash.9,v
retrieving revision 1.6
diff -u -p -r1.6 hash.9
--- hash.9 31 May 2007 19:20:00 -0000 1.6
+++ hash.9 4 Jun 2013 15:00:43 -0000
@@ -39,7 +39,7 @@
.\" .Nm hash32_strne
.Nd general kernel hashing functions
.Sh SYNOPSIS
-.Fd #include <sys/hash.h>
+.In sys/hash.h
.Ft uint32_t
.Fn hash32_buf "void *buf" "size_t len" "uint32_t hash"
.Ft uint32_t
Index: hashinit.9
===================================================================
RCS file: /openbsd/src/share/man/man9/hashinit.9,v
retrieving revision 1.4
diff -u -p -r1.4 hashinit.9
--- hashinit.9 31 May 2007 19:20:00 -0000 1.4
+++ hashinit.9 4 Jun 2013 15:00:43 -0000
@@ -34,7 +34,7 @@
.\" .Nm hashdone
.Nd kernel hashtable functions
.Sh SYNOPSIS
-.Fd #include <sys/systm.h>
+.In sys/systm.h
.Ft void *
.Fn hashinit "int num" "int type" "int flags" "u_long *mask"
.Sh DESCRIPTION
Index: hook_establish.9
===================================================================
RCS file: /openbsd/src/share/man/man9/hook_establish.9,v
retrieving revision 1.9
diff -u -p -r1.9 hook_establish.9
--- hook_establish.9 31 May 2007 19:20:00 -0000 1.9
+++ hook_establish.9 4 Jun 2013 15:00:43 -0000
@@ -33,8 +33,8 @@
.Nm hook_disestablish
.Nd add or remove a hook from a specified list
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <sys/systm.h>
+.In sys/types.h
+.In sys/systm.h
.Ft void *
.Fn hook_establish "struct hook_desc_head *head" "int tail" "void (*fn)(void
*)" "void *arg"
.Ft void
Index: hzto.9
===================================================================
RCS file: /openbsd/src/share/man/man9/hzto.9,v
retrieving revision 1.7
diff -u -p -r1.7 hzto.9
--- hzto.9 20 Aug 2010 22:03:22 -0000 1.7
+++ hzto.9 4 Jun 2013 15:00:43 -0000
@@ -30,9 +30,9 @@
.Nm hzto
.Nd translate absolute time to timeout delay
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <sys/time.h>
-.Fd #include <sys/systm.h>
+.In sys/types.h
+.In sys/time.h
+.In sys/systm.h
.Ft int
.Fn hzto "const struct timeval *tv"
.Sh DESCRIPTION
Index: idgen32.9
===================================================================
RCS file: /openbsd/src/share/man/man9/idgen32.9,v
retrieving revision 1.2
diff -u -p -r1.2 idgen32.9
--- idgen32.9 9 Jan 2011 00:06:50 -0000 1.2
+++ idgen32.9 4 Jun 2013 15:00:43 -0000
@@ -22,7 +22,7 @@
.Nm idgen32
.Nd non-repeating ID generation
.Sh SYNOPSIS
-.Fd #include <crypto/idgen.h>
+.In crypto/idgen.h
.Ft void
.Fn idgen32_init "struct idgen32_ctx *ctx"
.Ft uint32_t
Index: iic.9
===================================================================
RCS file: /openbsd/src/share/man/man9/iic.9,v
retrieving revision 1.6
diff -u -p -r1.6 iic.9
--- iic.9 31 May 2007 19:20:00 -0000 1.6
+++ iic.9 4 Jun 2013 15:00:43 -0000
@@ -45,7 +45,7 @@
.Nm iic_smbus_receive_byte
.Nd Inter IC (I2C) bus
.Sh SYNOPSIS
-.Fd #include <dev/i2c/i2cvar.h>
+.In dev/i2c/i2cvar.h
.Ft int
.Fo iic_acquire_bus
.Fa "i2c_tag_t ic"
Index: kern.9
===================================================================
RCS file: /openbsd/src/share/man/man9/kern.9,v
retrieving revision 1.15
diff -u -p -r1.15 kern.9
--- kern.9 26 Apr 2012 01:22:31 -0000 1.15
+++ kern.9 4 Jun 2013 15:00:43 -0000
@@ -31,7 +31,7 @@
.Nm kern
.Nd kernel library routines
.Sh SYNOPSIS
-.Fd #include <lib/libkern/libkern.h>
+.In lib/libkern/libkern.h
.Sh DESCRIPTION
The
.Nm
Index: km_alloc.9
===================================================================
RCS file: /openbsd/src/share/man/man9/km_alloc.9,v
retrieving revision 1.4
diff -u -p -r1.4 km_alloc.9
--- km_alloc.9 17 May 2013 05:24:56 -0000 1.4
+++ km_alloc.9 4 Jun 2013 15:00:43 -0000
@@ -22,8 +22,8 @@
.Nm km_free
.Nd kernel memory allocator
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <uvm/uvm_extern.h>
+.In sys/types.h
+.In uvm/uvm_extern.h
.Ft void *
.Fn km_alloc "size_t size" "struct kmem_va_mode *kv" "struct kmem_pa_mode *kp"
"struct kmem_dyn_mode *kd"
.Ft void
Index: knote.9
===================================================================
RCS file: /openbsd/src/share/man/man9/knote.9,v
retrieving revision 1.6
diff -u -p -r1.6 knote.9
--- knote.9 26 Jun 2008 05:42:08 -0000 1.6
+++ knote.9 4 Jun 2013 15:00:43 -0000
@@ -36,8 +36,8 @@
.Nm KNOTE
.Nd raise kernel event
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/event.h>
+.In sys/param.h
+.In sys/event.h
.Ft void
.Fn knote "struct klist *list" "long hint"
.Fn KNOTE "struct klist *list" "long hint"
Index: kthread.9
===================================================================
RCS file: /openbsd/src/share/man/man9/kthread.9,v
retrieving revision 1.8
diff -u -p -r1.8 kthread.9
--- kthread.9 31 May 2007 19:20:00 -0000 1.8
+++ kthread.9 4 Jun 2013 15:00:43 -0000
@@ -32,7 +32,7 @@
.Nm kthread_create_deferred
.Nd kernel threads
.Sh SYNOPSIS
-.Fd #include <sys/kthread.h>
+.In sys/kthread.h
.Ft int
.Fn kthread_create "void (*func)(void *)" "void *arg" "struct proc **newpp"
"const char *fmt" ...
.Ft void
Index: ktrace.9
===================================================================
RCS file: /openbsd/src/share/man/man9/ktrace.9,v
retrieving revision 1.6
diff -u -p -r1.6 ktrace.9
--- ktrace.9 31 May 2007 19:20:00 -0000 1.6
+++ ktrace.9 4 Jun 2013 15:00:43 -0000
@@ -37,9 +37,9 @@
.Nm KTRPOINT
.Nd "process tracing kernel interface"
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/proc.h>
-.Fd #include <sys/ktrace.h>
+.In sys/param.h
+.In sys/proc.h
+.In sys/ktrace.h
.Fn KTRPOINT "struct proc *p" "int type"
.Ft void
.Fn ktrcsw "struct proc *p" "int out" "int user"
Index: loadfirmware.9
===================================================================
RCS file: /openbsd/src/share/man/man9/loadfirmware.9,v
retrieving revision 1.3
diff -u -p -r1.3 loadfirmware.9
--- loadfirmware.9 31 May 2007 19:20:00 -0000 1.3
+++ loadfirmware.9 4 Jun 2013 15:00:43 -0000
@@ -22,7 +22,7 @@
.Nm loadfirmware
.Nd load a firmware file from the filesystem
.Sh SYNOPSIS
-.Fd #include <sys/device.h>
+.In sys/device.h
.Ft int
.Fn loadfirmware "const char *filename" "u_char **buf" "size_t *buflen"
.Sh DESCRIPTION
Index: lock.9
===================================================================
RCS file: /openbsd/src/share/man/man9/lock.9,v
retrieving revision 1.19
diff -u -p -r1.19 lock.9
--- lock.9 25 Mar 2009 21:20:50 -0000 1.19
+++ lock.9 4 Jun 2013 15:00:43 -0000
@@ -40,7 +40,7 @@
.Nm lockmgr_printinfo ,
.Nd kernel lock functions
.Sh SYNOPSIS
-.Fd #include <sys/lock.h>
+.In sys/lock.h
.Ft void
.Fn simple_lock_init "struct simplelock *slock"
.Ft void
Index: log.9
===================================================================
RCS file: /openbsd/src/share/man/man9/log.9,v
retrieving revision 1.8
diff -u -p -r1.8 log.9
--- log.9 26 Jun 2008 05:42:08 -0000 1.8
+++ log.9 4 Jun 2013 15:00:43 -0000
@@ -38,7 +38,7 @@
.Pa /dev/klog
device
.Sh SYNOPSIS
-.Fd #include <sys/syslog.h>
+.In sys/syslog.h
.Ft void
.Fo "log"
.Fa "int level"
Index: malloc.9
===================================================================
RCS file: /openbsd/src/share/man/man9/malloc.9,v
retrieving revision 1.47
diff -u -p -r1.47 malloc.9
--- malloc.9 6 Apr 2012 15:42:56 -0000 1.47
+++ malloc.9 4 Jun 2013 15:00:43 -0000
@@ -36,8 +36,8 @@
.Nm free
.Nd kernel memory allocator
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <sys/malloc.h>
+.In sys/types.h
+.In sys/malloc.h
.Ft void *
.Fn malloc "unsigned long size" "int type" "int flags"
.Ft void
Index: mbuf.9
===================================================================
RCS file: /openbsd/src/share/man/man9/mbuf.9,v
retrieving revision 1.60
diff -u -p -r1.60 mbuf.9
--- mbuf.9 23 Mar 2013 18:33:43 -0000 1.60
+++ mbuf.9 4 Jun 2013 15:00:43 -0000
@@ -32,7 +32,7 @@
.Nm mbuf
.Nd kernel memory management for networking protocols
.Sh SYNOPSIS
-.Fd #include <sys/mbuf.h>
+.In sys/mbuf.h
.Ft struct mbuf *
.Fn m_copym2 "struct mbuf *m" "int off" "int len" "int wait"
.Ft struct mbuf *
Index: mbuf_tags.9
===================================================================
RCS file: /openbsd/src/share/man/man9/mbuf_tags.9,v
retrieving revision 1.28
diff -u -p -r1.28 mbuf_tags.9
--- mbuf_tags.9 17 May 2013 22:42:20 -0000 1.28
+++ mbuf_tags.9 4 Jun 2013 15:00:43 -0000
@@ -22,7 +22,7 @@
.Nm mbuf_tags
.Nd a framework for generic packet attributes
.Sh SYNOPSIS
-.Fd #include <sys/mbuf.h>
+.In sys/mbuf.h
.Ft "struct m_tag *"
.Fn m_tag_get "int type" "int len" "int flags"
.Ft "struct m_tag *"
Index: md5.9
===================================================================
RCS file: /openbsd/src/share/man/man9/md5.9,v
retrieving revision 1.11
diff -u -p -r1.11 md5.9
--- md5.9 9 Jan 2011 00:06:50 -0000 1.11
+++ md5.9 4 Jun 2013 15:00:43 -0000
@@ -30,7 +30,7 @@
.Nm md5
.Nd message digest routines
.Sh SYNOPSIS
-.Fd #include <sys/kernel.h>
+.In sys/kernel.h
.Ft void
.Fn MD5Init "u_int32_t buf[4]"
.Ft void
Index: mi_switch.9
===================================================================
RCS file: /openbsd/src/share/man/man9/mi_switch.9,v
retrieving revision 1.4
diff -u -p -r1.4 mi_switch.9
--- mi_switch.9 26 Jun 2008 05:42:08 -0000 1.4
+++ mi_switch.9 4 Jun 2013 15:00:43 -0000
@@ -36,8 +36,8 @@
.Nm cpu_switchto
.Nd switch to another process context
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/proc.h>
+.In sys/param.h
+.In sys/proc.h
.Ft void
.Fn mi_switch "void"
.Ft void
Index: microtime.9
===================================================================
RCS file: /openbsd/src/share/man/man9/microtime.9,v
retrieving revision 1.13
diff -u -p -r1.13 microtime.9
--- microtime.9 26 Jun 2008 05:42:08 -0000 1.13
+++ microtime.9 4 Jun 2013 15:00:43 -0000
@@ -44,7 +44,7 @@
.Nm binuptime
.Nd system clock
.Sh SYNOPSIS
-.Fd #include <sys/time.h>
+.In sys/time.h
.Ft void
.Fo "microtime"
.Fa "struct timeval *tv"
Index: mountroothook_establish.9
===================================================================
RCS file: /openbsd/src/share/man/man9/mountroothook_establish.9,v
retrieving revision 1.2
diff -u -p -r1.2 mountroothook_establish.9
--- mountroothook_establish.9 31 May 2007 19:20:00 -0000 1.2
+++ mountroothook_establish.9 4 Jun 2013 15:00:43 -0000
@@ -38,8 +38,8 @@
.Nm mountroothook_disestablish
.Nd add or remove a mountroot hook
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <sys/systm.h>
+.In sys/types.h
+.In sys/systm.h
.Ft void *
.Fn mountroothook_establish "void (*fn)(void *)" "void *arg"
.Ft void
Index: mutex.9
===================================================================
RCS file: /openbsd/src/share/man/man9/mutex.9,v
retrieving revision 1.14
diff -u -p -r1.14 mutex.9
--- mutex.9 8 Aug 2010 12:39:05 -0000 1.14
+++ mutex.9 4 Jun 2013 15:00:43 -0000
@@ -26,7 +26,7 @@
.Nm mtx_leave
.Nd interface to CPU mutexes
.Sh SYNOPSIS
-.Fd #include <sys/mutex.h>
+.In sys/mutex.h
.Ft void
.Fn mtx_init "struct mutex *mtxp" "int wantipl"
.Ft void
Index: namei.9
===================================================================
RCS file: /openbsd/src/share/man/man9/namei.9,v
retrieving revision 1.16
diff -u -p -r1.16 namei.9
--- namei.9 31 May 2013 20:06:23 -0000 1.16
+++ namei.9 4 Jun 2013 15:00:43 -0000
@@ -38,8 +38,8 @@
.Nm NDINIT
.Nd pathname lookup
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/namei.h>
+.In sys/param.h
+.In sys/namei.h
.Ft int
.Fn namei "struct nameidata *ndp"
.Ft int
Index: panic.9
===================================================================
RCS file: /openbsd/src/share/man/man9/panic.9,v
retrieving revision 1.7
diff -u -p -r1.7 panic.9
--- panic.9 31 May 2007 19:20:00 -0000 1.7
+++ panic.9 4 Jun 2013 15:00:43 -0000
@@ -37,8 +37,8 @@
.Nm panic
.Nd Bring down system on fatal error
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <sys/systm.h>
+.In sys/types.h
+.In sys/systm.h
.Ft void
.Fn panic "const char *fmt, ..."
.Sh DESCRIPTION
Index: pci_conf_read.9
===================================================================
RCS file: /openbsd/src/share/man/man9/pci_conf_read.9,v
retrieving revision 1.10
diff -u -p -r1.10 pci_conf_read.9
--- pci_conf_read.9 26 Jan 2008 23:07:55 -0000 1.10
+++ pci_conf_read.9 4 Jun 2013 15:00:43 -0000
@@ -25,11 +25,11 @@
.Nm pci_conf_write
.Nd PCI config space manipulation functions
.Sh SYNOPSIS
-.Fd #include <alpha/pci/pci_machdep.h>
-.Fd #include <i386/pci/pci_machdep.h>
-.Fd #include <powerpc/pci/pci_machdep.h>
-.Fd #include <sgi/pci/pci_machdep.h>
-.Fd #include <machine/pci_machdep.h>
+.In alpha/pci/pci_machdep.h
+.In i386/pci/pci_machdep.h
+.In powerpc/pci/pci_machdep.h
+.In sgi/pci/pci_machdep.h
+.In machine/pci_machdep.h
.Ft pcitag_t
.Fn pci_make_tag "pci_chipset_tag_t pc" "int bus" "int dev" "int func"
.Ft void
Index: pci_intr_map.9
===================================================================
RCS file: /openbsd/src/share/man/man9/pci_intr_map.9,v
retrieving revision 1.12
diff -u -p -r1.12 pci_intr_map.9
--- pci_intr_map.9 22 May 2011 06:20:46 -0000 1.12
+++ pci_intr_map.9 4 Jun 2013 15:00:43 -0000
@@ -27,11 +27,11 @@
.Nm pci_intr_disestablish
.Nd PCI interrupts
.Sh SYNOPSIS
-.Fd #include <alpha/pci/pci_machdep.h>
-.Fd #include <i386/pci/pci_machdep.h>
-.Fd #include <powerpc/pci/pci_machdep.h>
-.Fd #include <sgi/pci/pci_machdep.h>
-.Fd #include <machine/pci_machdep.h>
+.In alpha/pci/pci_machdep.h
+.In i386/pci/pci_machdep.h
+.In powerpc/pci/pci_machdep.h
+.In sgi/pci/pci_machdep.h
+.In machine/pci_machdep.h
.Ft int
.Fn pci_intr_map "struct pci_attach_args *paa" "pci_intr_handle_t *ih"
.Ft int
Index: pfind.9
===================================================================
RCS file: /openbsd/src/share/man/man9/pfind.9,v
retrieving revision 1.6
diff -u -p -r1.6 pfind.9
--- pfind.9 31 May 2007 19:20:00 -0000 1.6
+++ pfind.9 4 Jun 2013 15:00:43 -0000
@@ -31,8 +31,8 @@
.Nm pgfind
.Nd find process / process group by number
.Sh SYNOPSIS
-.Fd #include <sys/cdefs.h>
-.Fd #include <sys/proc.h>
+.In sys/cdefs.h
+.In sys/proc.h
.Ft "struct proc *"
.Fn pfind "pid_t pid"
.Ft "struct pgrp *"
Index: pmap.9
===================================================================
RCS file: /openbsd/src/share/man/man9/pmap.9,v
retrieving revision 1.11
diff -u -p -r1.11 pmap.9
--- pmap.9 31 Dec 2008 08:28:53 -0000 1.11
+++ pmap.9 4 Jun 2013 15:00:43 -0000
@@ -31,7 +31,7 @@
.Nm pmap
.Nd machine dependent interface to the MMU
.Sh SYNOPSIS
-.Fd #include <machine/pmap.h>
+.In machine/pmap.h
.Sh DESCRIPTION
The architecture-dependent
.Nm
Index: pool.9
===================================================================
RCS file: /openbsd/src/share/man/man9/pool.9,v
retrieving revision 1.43
diff -u -p -r1.43 pool.9
--- pool.9 17 Sep 2012 06:11:58 -0000 1.43
+++ pool.9 4 Jun 2013 15:00:43 -0000
@@ -43,8 +43,8 @@
.Nm pool_sethardlimit
.Nd resource-pool manager
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <sys/pool.h>
+.In sys/types.h
+.In sys/pool.h
.Ft void
.Fo pool_init
.Fa "struct pool *pool"
Index: powerhook_establish.9
===================================================================
RCS file: /openbsd/src/share/man/man9/powerhook_establish.9,v
retrieving revision 1.6
diff -u -p -r1.6 powerhook_establish.9
--- powerhook_establish.9 31 May 2007 19:20:00 -0000 1.6
+++ powerhook_establish.9 4 Jun 2013 15:00:43 -0000
@@ -33,8 +33,8 @@
.Nm powerhook_disestablish
.Nd add or remove a power hook
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <sys/systm.h>
+.In sys/types.h
+.In sys/systm.h
.Ft void *
.Fn powerhook_establish "void (*fn)(int, void *)" "void *arg"
.Ft void
Index: ppsratecheck.9
===================================================================
RCS file: /openbsd/src/share/man/man9/ppsratecheck.9,v
retrieving revision 1.4
diff -u -p -r1.4 ppsratecheck.9
--- ppsratecheck.9 26 Jun 2008 05:42:08 -0000 1.4
+++ ppsratecheck.9 4 Jun 2013 15:00:43 -0000
@@ -35,7 +35,7 @@
.Nm ppsratecheck
.Nd function to help implement rate-limited actions
.Sh SYNOPSIS
-.Fd #include <sys/time.h>
+.In sys/time.h
.Ft int
.Fn ppsratecheck "struct timeval *lasttime" "int *curpps" "int maxpps"
.Sh DESCRIPTION
Index: printf.9
===================================================================
RCS file: /openbsd/src/share/man/man9/printf.9,v
retrieving revision 1.18
diff -u -p -r1.18 printf.9
--- printf.9 19 Sep 2011 10:25:37 -0000 1.18
+++ printf.9 4 Jun 2013 15:00:43 -0000
@@ -41,8 +41,8 @@
.Nm db_printf
.Nd kernel formatted output conversion
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <sys/systm.h>
+.In sys/types.h
+.In sys/systm.h
.Ft int
.Fo "printf"
.Fa "const char *format"
Index: rasops.9
===================================================================
RCS file: /openbsd/src/share/man/man9/rasops.9,v
retrieving revision 1.10
diff -u -p -r1.10 rasops.9
--- rasops.9 26 Jun 2008 05:42:08 -0000 1.10
+++ rasops.9 4 Jun 2013 15:00:43 -0000
@@ -37,8 +37,8 @@
.Nm rasops_reconfig
.Nd raster display operations
.Sh SYNOPSIS
-.Fd #include \*[Lt]dev/wscons/wsdisplayvar.h\*[Gt]
-.Fd #include \*[Lt]dev/rasops/rasops.h\*[Gt]
+.In dev/wscons/wsdisplayvar.h
+.In dev/rasops/rasops.h
.Ft int
.Fn rasops_init "struct rasops_info *ri" "int wantrows" "int wantcols"
.Ft int
Index: ratecheck.9
===================================================================
RCS file: /openbsd/src/share/man/man9/ratecheck.9,v
retrieving revision 1.9
diff -u -p -r1.9 ratecheck.9
--- ratecheck.9 26 Jun 2008 05:42:08 -0000 1.9
+++ ratecheck.9 4 Jun 2013 15:00:43 -0000
@@ -35,7 +35,7 @@
.Nm ratecheck
.Nd function to help implement rate-limited actions
.Sh SYNOPSIS
-.Fd #include <sys/time.h>
+.In sys/time.h
.Ft int
.Fn ratecheck "struct timeval *lasttime" "const struct timeval *mininterval"
.Sh DESCRIPTION
Index: route.9
===================================================================
RCS file: /openbsd/src/share/man/man9/route.9,v
retrieving revision 1.5
diff -u -p -r1.5 route.9
--- route.9 19 Sep 2012 19:30:42 -0000 1.5
+++ route.9 4 Jun 2013 15:00:43 -0000
@@ -22,7 +22,7 @@
.Nm route
.Nd kernel routing interface
.Sh SYNOPSIS
-.Fd #include <net/route.h>
+.In net/route.h
.Ft struct rtentry *
.Fn rt_lookup "struct sockaddr *dst" "struct sockaddr *mask" "u_int tableid"
.Ft void
Index: rwlock.9
===================================================================
RCS file: /openbsd/src/share/man/man9/rwlock.9,v
retrieving revision 1.9
diff -u -p -r1.9 rwlock.9
--- rwlock.9 1 Aug 2010 14:21:10 -0000 1.9
+++ rwlock.9 4 Jun 2013 15:00:43 -0000
@@ -29,7 +29,7 @@
.Nm rw_exit_write
.Nd interface to read/write locks
.Sh SYNOPSIS
-.Fd #include <sys/rwlock.h>
+.In sys/rwlock.h
.Ft void
.Fn rw_init "struct rwlock *rwl" "const char *name"
.Ft int
Index: sensor_attach.9
===================================================================
RCS file: /openbsd/src/share/man/man9/sensor_attach.9,v
retrieving revision 1.9
diff -u -p -r1.9 sensor_attach.9
--- sensor_attach.9 29 Jul 2007 21:09:38 -0000 1.9
+++ sensor_attach.9 4 Jun 2013 15:00:43 -0000
@@ -38,7 +38,7 @@
.Nm sensor_task_unregister
.Nd sensors framework
.Sh SYNOPSIS
-.Fd #include <sys/sensors.h>
+.In sys/sensors.h
.Ft void
.Fn "sensordev_install" "struct ksensordev *sensdev"
.Ft void
Index: shutdownhook_establish.9
===================================================================
RCS file: /openbsd/src/share/man/man9/shutdownhook_establish.9,v
retrieving revision 1.15
diff -u -p -r1.15 shutdownhook_establish.9
--- shutdownhook_establish.9 31 May 2007 19:20:01 -0000 1.15
+++ shutdownhook_establish.9 4 Jun 2013 15:00:43 -0000
@@ -38,8 +38,8 @@
.Nm shutdownhook_disestablish
.Nd add or remove a shutdown hook
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <sys/systm.h>
+.In sys/types.h
+.In sys/systm.h
.Ft void *
.Fn shutdownhook_establish "void (*fn)(void *)" "void *arg"
.Ft void
Index: spl.9
===================================================================
RCS file: /openbsd/src/share/man/man9/spl.9,v
retrieving revision 1.23
diff -u -p -r1.23 spl.9
--- spl.9 14 Sep 2007 16:16:08 -0000 1.23
+++ spl.9 4 Jun 2013 15:00:43 -0000
@@ -34,7 +34,7 @@
.Nm spl
.Nd modify system interrupt priority level
.Sh SYNOPSIS
-.Fd #include <machine/intr.h>
+.In machine/intr.h
.Ft int
.Fn splhigh void
.Ft int
Index: startuphook_establish.9
===================================================================
RCS file: /openbsd/src/share/man/man9/startuphook_establish.9,v
retrieving revision 1.5
diff -u -p -r1.5 startuphook_establish.9
--- startuphook_establish.9 31 May 2007 19:20:01 -0000 1.5
+++ startuphook_establish.9 4 Jun 2013 15:00:43 -0000
@@ -33,8 +33,8 @@
.Nm startuphook_disestablish
.Nd add or remove a startup hook
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <sys/systm.h>
+.In sys/types.h
+.In sys/systm.h
.Ft void *
.Fn startuphook_establish "void (*fn)(void *)" "void *arg"
.Ft void
Index: sysctl_int.9
===================================================================
RCS file: /openbsd/src/share/man/man9/sysctl_int.9,v
retrieving revision 1.4
diff -u -p -r1.4 sysctl_int.9
--- sysctl_int.9 31 May 2007 19:20:01 -0000 1.4
+++ sysctl_int.9 4 Jun 2013 15:00:43 -0000
@@ -31,8 +31,8 @@
.Nm sysctl_struct
.Nd kernel sysctl interface
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <sys/sysctl.h>
+.In sys/types.h
+.In sys/sysctl.h
.Ft int
.Fn sysctl_int "void *oldp" "size_t *oldlenp" "void *newp" "size_t newlen"
"int *valp"
.Ft int
Index: systrace.9
===================================================================
RCS file: /openbsd/src/share/man/man9/systrace.9,v
retrieving revision 1.6
diff -u -p -r1.6 systrace.9
--- systrace.9 31 May 2007 19:20:01 -0000 1.6
+++ systrace.9 4 Jun 2013 15:00:43 -0000
@@ -32,7 +32,7 @@
.Nm systrace_exit
.Nd "enforce policies for system calls"
.Sh SYNOPSIS
-.Fd #include <dev/systrace.h>
+.In dev/systrace.h
.Ft int
.Fn systrace_redirect "int code" "struct proc *p" "void *args" "register_t
*retval"
.Ft void
Index: tc_init.9
===================================================================
RCS file: /openbsd/src/share/man/man9/tc_init.9,v
retrieving revision 1.6
diff -u -p -r1.6 tc_init.9
--- tc_init.9 18 Aug 2012 08:44:25 -0000 1.6
+++ tc_init.9 4 Jun 2013 15:00:43 -0000
@@ -21,7 +21,7 @@
.Nm tc_init
.Nd machine-independent binary timescale
.Sh SYNOPSIS
-.Fd #include <sys/timetc.h>
+.In sys/timetc.h
.Ft void
.Fn tc_init "struct timecounter *tc"
.Sh DESCRIPTION
Index: timeout.9
===================================================================
RCS file: /openbsd/src/share/man/man9/timeout.9,v
retrieving revision 1.31
diff -u -p -r1.31 timeout.9
--- timeout.9 10 May 2011 01:03:28 -0000 1.31
+++ timeout.9 4 Jun 2013 15:00:43 -0000
@@ -42,8 +42,8 @@
.Nm timeout_triggered
.Nd execute a function after a specified period of time
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <sys/timeout.h>
+.In sys/types.h
+.In sys/timeout.h
.Ft void
.Fn "timeout_set" "struct timeout *to" "void (*fn)(void *)" "void *arg"
.Ft void
Index: tsleep.9
===================================================================
RCS file: /openbsd/src/share/man/man9/tsleep.9,v
retrieving revision 1.6
diff -u -p -r1.6 tsleep.9
--- tsleep.9 8 Apr 2010 00:16:28 -0000 1.6
+++ tsleep.9 4 Jun 2013 15:00:43 -0000
@@ -37,8 +37,8 @@
.Nm wakeup
.Nd process context sleep and wakeup
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/systm.h>
+.In sys/param.h
+.In sys/systm.h
.Ft int
.Fn "tsleep" "void *ident" "int priority" "const char *wmesg" "int timo"
.Ft int
Index: tvtohz.9
===================================================================
RCS file: /openbsd/src/share/man/man9/tvtohz.9,v
retrieving revision 1.7
diff -u -p -r1.7 tvtohz.9
--- tvtohz.9 24 Apr 2013 20:44:53 -0000 1.7
+++ tvtohz.9 4 Jun 2013 15:00:43 -0000
@@ -31,9 +31,9 @@
.Nm tstohz
.Nd translate time period to timeout delay
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <sys/time.h>
-.Fd #include <sys/systm.h>
+.In sys/types.h
+.In sys/time.h
+.In sys/systm.h
.Ft int
.Fn tvtohz "const struct timeval *tv"
.Ft int
Index: uiomove.9
===================================================================
RCS file: /openbsd/src/share/man/man9/uiomove.9,v
retrieving revision 1.12
diff -u -p -r1.12 uiomove.9
--- uiomove.9 26 Jun 2008 05:42:08 -0000 1.12
+++ uiomove.9 4 Jun 2013 15:00:43 -0000
@@ -32,7 +32,7 @@
.Nm uiomove
.Nd move data described by a struct uio
.Sh SYNOPSIS
-.Fd #include <sys/systm.h>
+.In sys/systm.h
.Ft int
.Fn uiomove "void *buf" "int n" "struct uio *uio"
.Sh DESCRIPTION
Index: uvm.9
===================================================================
RCS file: /openbsd/src/share/man/man9/uvm.9,v
retrieving revision 1.47
diff -u -p -r1.47 uvm.9
--- uvm.9 30 May 2013 16:53:22 -0000 1.47
+++ uvm.9 4 Jun 2013 15:00:43 -0000
@@ -37,8 +37,8 @@
.Nm uvm
.Nd virtual memory system external interface
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <uvm/uvm.h>
+.In sys/param.h
+.In uvm/uvm.h
.Sh DESCRIPTION
The UVM virtual memory system manages access to the computer's memory
resources.
Index: vaccess.9
===================================================================
RCS file: /openbsd/src/share/man/man9/vaccess.9,v
retrieving revision 1.8
diff -u -p -r1.8 vaccess.9
--- vaccess.9 16 Sep 2012 09:57:33 -0000 1.8
+++ vaccess.9 4 Jun 2013 15:00:43 -0000
@@ -32,8 +32,8 @@
.Nm vaccess
.Nd check access permissions based on vnode parameters
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/vnode.h>
+.In sys/param.h
+.In sys/vnode.h
.Ft int
.Fo vaccess
.Fa "enum vtype type"
Index: vclean.9
===================================================================
RCS file: /openbsd/src/share/man/man9/vclean.9,v
retrieving revision 1.9
diff -u -p -r1.9 vclean.9
--- vclean.9 19 Sep 2010 13:17:25 -0000 1.9
+++ vclean.9 4 Jun 2013 15:00:43 -0000
@@ -32,8 +32,8 @@
.Nm vclean
.Nd disassociate the underlying file system from a vnode
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/vnode.h>
+.In sys/param.h
+.In sys/vnode.h
.Ft void
.Fo vclean
.Fa "struct vnode *vp"
Index: vcount.9
===================================================================
RCS file: /openbsd/src/share/man/man9/vcount.9,v
retrieving revision 1.6
diff -u -p -r1.6 vcount.9
--- vcount.9 28 Oct 2010 18:27:29 -0000 1.6
+++ vcount.9 4 Jun 2013 15:00:43 -0000
@@ -39,10 +39,10 @@
.Nm vcount
.Nd get total number of references to a device
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/time.h>
-.Fd #include <sys/conf.h>
-.Fd #include <sys/vnode.h>
+.In sys/param.h
+.In sys/time.h
+.In sys/conf.h
+.In sys/vnode.h
.Ft int
.Fn vcount "struct vnode *vp"
.Sh DESCRIPTION
Index: vdevgone.9
===================================================================
RCS file: /openbsd/src/share/man/man9/vdevgone.9,v
retrieving revision 1.6
diff -u -p -r1.6 vdevgone.9
--- vdevgone.9 19 Sep 2010 13:17:25 -0000 1.6
+++ vdevgone.9 4 Jun 2013 15:00:43 -0000
@@ -32,8 +32,8 @@
.Nm vdevgone
.Nd revoke all specified minor numbered vnodes for a device
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/vnode.h>
+.In sys/param.h
+.In sys/vnode.h
.Ft void
.Fo vdevgone
.Fa "int maj"
Index: vfinddev.9
===================================================================
RCS file: /openbsd/src/share/man/man9/vfinddev.9,v
retrieving revision 1.6
diff -u -p -r1.6 vfinddev.9
--- vfinddev.9 19 Sep 2010 13:17:25 -0000 1.6
+++ vfinddev.9 4 Jun 2013 15:00:43 -0000
@@ -32,8 +32,8 @@
.Nm vfinddev
.Nd lookup a vnode by device number
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/vnode.h>
+.In sys/param.h
+.In sys/vnode.h
.Ft int
.Fo vfinddev
.Fa "dev_t dev"
Index: vflush.9
===================================================================
RCS file: /openbsd/src/share/man/man9/vflush.9,v
retrieving revision 1.4
diff -u -p -r1.4 vflush.9
--- vflush.9 31 May 2007 19:20:01 -0000 1.4
+++ vflush.9 4 Jun 2013 15:00:43 -0000
@@ -34,8 +34,8 @@
.Nm vflush
.Nd flush vnodes for a mount point
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/vnode.h>
+.In sys/param.h
+.In sys/vnode.h
.Ft int
.Fn vflush "struct mount *mp" "struct vnode *skipvp" "int flags"
.Sh DESCRIPTION
Index: vflushbuf.9
===================================================================
RCS file: /openbsd/src/share/man/man9/vflushbuf.9,v
retrieving revision 1.2
diff -u -p -r1.2 vflushbuf.9
--- vflushbuf.9 31 May 2007 19:20:01 -0000 1.2
+++ vflushbuf.9 4 Jun 2013 15:00:43 -0000
@@ -8,8 +8,8 @@
.Nm vflushbuf
.Nd flush dirty vnode buffers to disk
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/vnode.h>
+.In sys/param.h
+.In sys/vnode.h
.Ft void
.Fn vflushbuf "struct vnode *vp" "int sync"
.Sh DESCRIPTION
Index: vget.9
===================================================================
RCS file: /openbsd/src/share/man/man9/vget.9,v
retrieving revision 1.10
diff -u -p -r1.10 vget.9
--- vget.9 28 Oct 2010 18:27:29 -0000 1.10
+++ vget.9 4 Jun 2013 15:00:43 -0000
@@ -35,8 +35,8 @@
.Nm vget
.Nd get a vnode from the free list
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/vnode.h>
+.In sys/param.h
+.In sys/vnode.h
.Ft int
.Fn vget "struct vnode *vp" "int flags" "struct proc *p"
.Sh DESCRIPTION
Index: vgone.9
===================================================================
RCS file: /openbsd/src/share/man/man9/vgone.9,v
retrieving revision 1.6
diff -u -p -r1.6 vgone.9
--- vgone.9 31 May 2007 19:20:01 -0000 1.6
+++ vgone.9 4 Jun 2013 15:00:43 -0000
@@ -35,8 +35,8 @@
.Nm vgonel
.Nd prepare a vnode for reuse
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/vnode.h>
+.In sys/param.h
+.In sys/vnode.h
.Ft void
.Fn vgone "struct vnode *vp"
.Ft void
Index: vhold.9
===================================================================
RCS file: /openbsd/src/share/man/man9/vhold.9,v
retrieving revision 1.7
diff -u -p -r1.7 vhold.9
--- vhold.9 17 Sep 2012 05:50:53 -0000 1.7
+++ vhold.9 4 Jun 2013 15:00:43 -0000
@@ -35,8 +35,8 @@
.Nm vdrop
.Nd acquire/release a hold on a vnode
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/vnode.h>
+.In sys/param.h
+.In sys/vnode.h
.Ft void
.Fn vhold "struct vnode *vp"
.Ft void
Index: vinvalbuf.9
===================================================================
RCS file: /openbsd/src/share/man/man9/vinvalbuf.9,v
retrieving revision 1.7
diff -u -p -r1.7 vinvalbuf.9
--- vinvalbuf.9 31 May 2007 19:20:01 -0000 1.7
+++ vinvalbuf.9 4 Jun 2013 15:00:43 -0000
@@ -34,8 +34,8 @@
.Nm vinvalbuf
.Nd flush and invalidate all buffers associated with a vnode
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/vnode.h>
+.In sys/param.h
+.In sys/vnode.h
.Ft int
.Fn vinvalbuf "struct vnode *vp" "int flags" "struct ucred *cred" \
"struct proc *p" "int slpflag" "int slptimeo"
Index: vput.9
===================================================================
RCS file: /openbsd/src/share/man/man9/vput.9,v
retrieving revision 1.8
diff -u -p -r1.8 vput.9
--- vput.9 28 Oct 2010 18:27:29 -0000 1.8
+++ vput.9 4 Jun 2013 15:00:43 -0000
@@ -35,8 +35,8 @@
.Nm vput
.Nd "decrement the reference count for a vnode and unlock it"
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/vnode.h>
+.In sys/param.h
+.In sys/vnode.h
.Ft void
.Fn vput "struct vnode *vp"
.Sh DESCRIPTION
Index: vrecycle.9
===================================================================
RCS file: /openbsd/src/share/man/man9/vrecycle.9,v
retrieving revision 1.9
diff -u -p -r1.9 vrecycle.9
--- vrecycle.9 19 Sep 2010 13:17:25 -0000 1.9
+++ vrecycle.9 4 Jun 2013 15:00:43 -0000
@@ -32,8 +32,8 @@
.Nm vrecycle
.Nd recycle a vnode if its reference count is zero
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/vnode.h>
+.In sys/param.h
+.In sys/vnode.h
.Ft int
.Fo vrecycle
.Fa "struct vnode *vp"
Index: vref.9
===================================================================
RCS file: /openbsd/src/share/man/man9/vref.9,v
retrieving revision 1.7
diff -u -p -r1.7 vref.9
--- vref.9 28 Oct 2010 18:27:29 -0000 1.7
+++ vref.9 4 Jun 2013 15:00:43 -0000
@@ -35,8 +35,8 @@
.Nm vref
.Nd increment the use count for a vnode
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/vnode.h>
+.In sys/param.h
+.In sys/vnode.h
.Ft void
.Fn vref "struct vnode *vp"
.Sh DESCRIPTION
Index: vrele.9
===================================================================
RCS file: /openbsd/src/share/man/man9/vrele.9,v
retrieving revision 1.8
diff -u -p -r1.8 vrele.9
--- vrele.9 28 Oct 2010 18:27:29 -0000 1.8
+++ vrele.9 4 Jun 2013 15:00:43 -0000
@@ -35,8 +35,8 @@
.Nm vrele
.Nd decrement the use count for a vnode
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/vnode.h>
+.In sys/param.h
+.In sys/vnode.h
.Ft int
.Fn vrele "struct vnode *vp"
.Sh DESCRIPTION
Index: vwaitforio.9
===================================================================
RCS file: /openbsd/src/share/man/man9/vwaitforio.9,v
retrieving revision 1.12
diff -u -p -r1.12 vwaitforio.9
--- vwaitforio.9 18 Mar 2009 18:26:34 -0000 1.12
+++ vwaitforio.9 4 Jun 2013 15:00:43 -0000
@@ -30,8 +30,8 @@
.Nm vwaitforio
.Nd wait for all outstanding asynchronous writes
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <sys/vnode.h>
+.In sys/types.h
+.In sys/vnode.h
.Ft int
.Fn "vwaitforio" "struct vnode *vp" "int slpflag" "char *wmesg" "int slptimeo"
.Sh DESCRIPTION
Index: vwakeup.9
===================================================================
RCS file: /openbsd/src/share/man/man9/vwakeup.9,v
retrieving revision 1.3
diff -u -p -r1.3 vwakeup.9
--- vwakeup.9 31 May 2007 19:20:01 -0000 1.3
+++ vwakeup.9 4 Jun 2013 15:00:43 -0000
@@ -8,8 +8,8 @@
.Nm vwakeup
.Nd "update outstanding I/O count and do wakeup on a vnode"
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/vnode.h>
+.In sys/param.h
+.In sys/vnode.h
.Ft void
.Fn vwakeup "struct vnode *vp"
.Sh DESCRIPTION
Index: workq_add_task.9
===================================================================
RCS file: /openbsd/src/share/man/man9/workq_add_task.9,v
retrieving revision 1.14
diff -u -p -r1.14 workq_add_task.9
--- workq_add_task.9 3 Sep 2009 15:10:39 -0000 1.14
+++ workq_add_task.9 4 Jun 2013 15:00:43 -0000
@@ -24,7 +24,7 @@
.Nm workq_destroy
.Nd work queues
.Sh SYNOPSIS
-.Fd #include <sys/workq.h>
+.In sys/workq.h
.Ft int
.Fn "workq_add_task" "struct workq *wq" "int flags" "void (*func)(void *, void
*)" "void *arg1" "void *arg2"
.Ft void