summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--share/man/man9/autoconf.93
-rw-r--r--share/man/man9/ctxsw.94
-rw-r--r--share/man/man9/dohooks.93
-rw-r--r--share/man/man9/dopowerhooks.94
-rw-r--r--share/man/man9/doshutdownhooks.94
-rw-r--r--share/man/man9/dostartuphooks.94
-rw-r--r--share/man/man9/hook_establish.93
-rw-r--r--share/man/man9/knote.95
-rw-r--r--share/man/man9/ktrace.96
-rw-r--r--share/man/man9/namei.98
-rw-r--r--share/man/man9/pool.93
-rw-r--r--share/man/man9/powerhook_establish.94
-rw-r--r--share/man/man9/shutdownhook_establish.94
-rw-r--r--share/man/man9/startuphook_establish.94
-rw-r--r--share/man/man9/systrace.94
15 files changed, 41 insertions, 22 deletions
diff --git a/share/man/man9/autoconf.9 b/share/man/man9/autoconf.9
index a393d3ec382..213c5424cfc 100644
--- a/share/man/man9/autoconf.9
+++ b/share/man/man9/autoconf.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: autoconf.9,v 1.4 2003/06/06 20:56:32 jmc Exp $
+.\" $OpenBSD: autoconf.9,v 1.5 2003/08/29 19:46:29 tedu Exp $
.\" $NetBSD: autoconf.9,v 1.9 2002/02/13 08:18:35 ross Exp $
.\"
.\" Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -339,6 +339,7 @@ The autoconfiguration framework itself is implemented within the file
Data structures and function prototypes for the framework are located in
.Pa sys/sys/device.h .
.Sh SEE ALSO
+.Xr autoconf 4 ,
.Xr config 8
.Sh HISTORY
Autoconfiguration first appeared in
diff --git a/share/man/man9/ctxsw.9 b/share/man/man9/ctxsw.9
index 5ce3c5a702e..08331e0b5d2 100644
--- a/share/man/man9/ctxsw.9
+++ b/share/man/man9/ctxsw.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ctxsw.9,v 1.9 2003/05/12 14:43:37 jmc Exp $
+.\" $OpenBSD: ctxsw.9,v 1.10 2003/08/29 19:46:29 tedu Exp $
.\" $NetBSD: ctxsw.9,v 1.9 1999/03/06 22:09:29 mycroft Exp $
.\"
.\" Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -43,6 +43,8 @@
.Nm cpu_switch
.Nd switch to another process context
.Sh SYNOPSIS
+.Fd #include <sys/param.h>
+.Fd #include <sys/proc.h>
.Ft void
.Fn mi_switch "void"
.Ft void
diff --git a/share/man/man9/dohooks.9 b/share/man/man9/dohooks.9
index d0407c10811..02c3bfc8200 100644
--- a/share/man/man9/dohooks.9
+++ b/share/man/man9/dohooks.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: dohooks.9,v 1.3 2002/07/12 13:32:38 art Exp $
+.\" $OpenBSD: dohooks.9,v 1.4 2003/08/29 19:46:29 tedu Exp $
.\"
.\" Copyright (c) 2001 Niklas Hallqvist.
.\" All rights reserved.
@@ -32,6 +32,7 @@
.Nm dohooks
.Nd run all hooks in a list
.Sh SYNOPSIS
+.Fd #include <sys/types.h>
.Fd #include <sys/systm.h>
.Ft void
.Fn dohooks "struct hook_desc_head *head" "int flags"
diff --git a/share/man/man9/dopowerhooks.9 b/share/man/man9/dopowerhooks.9
index 6182eadf970..d5d798f581c 100644
--- a/share/man/man9/dopowerhooks.9
+++ b/share/man/man9/dopowerhooks.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: dopowerhooks.9,v 1.3 2003/04/23 22:07:41 tedu Exp $
+.\" $OpenBSD: dopowerhooks.9,v 1.4 2003/08/29 19:46:29 tedu Exp $
.\"
.\" Copyright (c) 2000 Aaron Campbell
.\" All rights reserved.
@@ -32,6 +32,8 @@
.Nm dopowerhooks
.Nd run all power hooks
.Sh SYNOPSIS
+.Fd #include <sys/types.h>
+.Fd #include <sys/systm.h>
.Ft void
.Fn dopowerhooks "int why"
.Sh DESCRIPTION
diff --git a/share/man/man9/doshutdownhooks.9 b/share/man/man9/doshutdownhooks.9
index 19be7e1575c..85ef25c0dd6 100644
--- a/share/man/man9/doshutdownhooks.9
+++ b/share/man/man9/doshutdownhooks.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: doshutdownhooks.9,v 1.6 2001/07/27 09:55:07 niklas Exp $
+.\" $OpenBSD: doshutdownhooks.9,v 1.7 2003/08/29 19:46:29 tedu Exp $
.\" $NetBSD: doshutdownhooks.9,v 1.1 1995/11/25 21:24:49 perry Exp $
.\"
.\" Copyright (c) 1994 Christopher G. Demetriou
@@ -37,6 +37,8 @@
.Nm doshutdownhooks
.Nd run all shutdown hooks
.Sh SYNOPSIS
+.Fd #include <sys/types.h>
+.Fd #include <sys/systm.h>
.Ft void
.Fn doshutdownhooks "void"
.Sh DESCRIPTION
diff --git a/share/man/man9/dostartuphooks.9 b/share/man/man9/dostartuphooks.9
index 4a23ee91248..4a5e1647123 100644
--- a/share/man/man9/dostartuphooks.9
+++ b/share/man/man9/dostartuphooks.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: dostartuphooks.9,v 1.4 2003/03/08 23:17:18 jmc Exp $
+.\" $OpenBSD: dostartuphooks.9,v 1.5 2003/08/29 19:46:29 tedu Exp $
.\"
.\" Copyright (c) 2001 Niklas Hallqvist.
.\" All rights reserved.
@@ -32,6 +32,8 @@
.Nm dostartuphooks
.Nd run all startup hooks
.Sh SYNOPSIS
+.Fd #include <sys/types.h>
+.Fd #include <sys/systm.h>
.Ft void
.Fn dostartuphooks "void"
.Sh DESCRIPTION
diff --git a/share/man/man9/hook_establish.9 b/share/man/man9/hook_establish.9
index 5ba9cbd7d0b..71abca6cfb3 100644
--- a/share/man/man9/hook_establish.9
+++ b/share/man/man9/hook_establish.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: hook_establish.9,v 1.5 2003/05/03 20:09:58 jmc Exp $
+.\" $OpenBSD: hook_establish.9,v 1.6 2003/08/29 19:46:29 tedu Exp $
.\"
.\" Copyright (c) 2001 Niklas Hallqvist.
.\" All rights reserved.
@@ -33,6 +33,7 @@
.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>
.Ft void *
.Fn hook_establish "struct hook_desc_head *head" "int tail" "void (*fn)(void *)" "void *arg"
diff --git a/share/man/man9/knote.9 b/share/man/man9/knote.9
index c7199dc3db7..4ed26ae60e2 100644
--- a/share/man/man9/knote.9
+++ b/share/man/man9/knote.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: knote.9,v 1.2 2003/07/24 09:28:21 jmc Exp $
+.\" $OpenBSD: knote.9,v 1.3 2003/08/29 19:46:29 tedu Exp $
.\" $NetBSD: knote.9,v 1.9 2003/04/16 13:35:29 wiz Exp $
.\"
.\" Copyright (c) 2001, 2002, 2003 The NetBSD Foundation, Inc.
@@ -43,7 +43,8 @@
.Nm KNOTE
.Nd raise kernel event
.Sh SYNOPSIS
-.In sys/event.h
+.Fd #include <sys/param.h>
+.Fd #include <sys/event.h>
.Ft void
.Fn knote "struct klist *list" "long hint"
.Fn KNOTE "struct klist *list" "long hint"
diff --git a/share/man/man9/ktrace.9 b/share/man/man9/ktrace.9
index 36fb5e4688f..5d8c41aaa55 100644
--- a/share/man/man9/ktrace.9
+++ b/share/man/man9/ktrace.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ktrace.9,v 1.2 2003/07/24 22:08:56 jmc Exp $
+.\" $OpenBSD: ktrace.9,v 1.3 2003/08/29 19:46:29 tedu Exp $
.\"
.\" Copyright (c) 2003 Michael Shalayeff
.\"
@@ -37,7 +37,9 @@
.Nm KTRPOINT
.Nd "process tracing kernel interface"
.Sh SYNOPSIS
-.In sys/ktrace.h
+.Fd #include <sys/param.h>
+.Fd #include <sys/proc.h>
+.Fd #include <sys/ktrace.h>
.Fn KTRPOINT "struct proc *p" "int type"
.Ft void
.Fn ktrcsw "struct proc *p" "int out" "int user"
diff --git a/share/man/man9/namei.9 b/share/man/man9/namei.9
index 2cb1047a1e1..74d3f57253e 100644
--- a/share/man/man9/namei.9
+++ b/share/man/man9/namei.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: namei.9,v 1.6 2003/07/25 02:27:33 deraadt Exp $
+.\" $OpenBSD: namei.9,v 1.7 2003/08/29 19:46:29 tedu Exp $
.\" $NetBSD: namei.9,v 1.9 2003/05/06 10:46:44 jmmv Exp $
.\"
.\" Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -45,10 +45,8 @@
.Nm NDINIT
.Nd pathname lookup
.Sh SYNOPSIS
-.In sys/namei.h
-.In sys/proc.h
-.In sys/uio.h
-.In sys/vnode.h
+.Fd #include <sys/param.h>
+.Fd #include <sys/namei.h>
.Ft int
.Fn namei "struct nameidata *ndp"
.Ft int
diff --git a/share/man/man9/pool.9 b/share/man/man9/pool.9
index ebcc6ea7461..a8aacf0e05f 100644
--- a/share/man/man9/pool.9
+++ b/share/man/man9/pool.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pool.9,v 1.24 2003/06/06 20:56:32 jmc Exp $
+.\" $OpenBSD: pool.9,v 1.25 2003/08/29 19:46:29 tedu Exp $
.\" $NetBSD: pool.9,v 1.18 2001/06/21 11:59:01 wiz Exp $
.\"
.\" Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
@@ -48,6 +48,7 @@
.Nm pool_setlowat
.Nd resource-pool manager
.Sh SYNOPSIS
+.Fd #include <sys/types.h>
.Fd #include <sys/pool.h>
.Ft void
.Fo pool_init
diff --git a/share/man/man9/powerhook_establish.9 b/share/man/man9/powerhook_establish.9
index 4eae47564d3..ad6203eb1c9 100644
--- a/share/man/man9/powerhook_establish.9
+++ b/share/man/man9/powerhook_establish.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: powerhook_establish.9,v 1.4 2003/04/23 22:07:41 tedu Exp $
+.\" $OpenBSD: powerhook_establish.9,v 1.5 2003/08/29 19:46:29 tedu Exp $
.\"
.\" Copyright (c) 2000 Aaron Campbell
.\" All rights reserved.
@@ -33,6 +33,8 @@
.Nm powerhook_disestablish
.Nd add or remove a power hook
.Sh SYNOPSIS
+.Fd #include <sys/types.h>
+.Fd #include <sys/systm.h>
.Ft void *
.Fn powerhook_establish "void (*fn)(int, void *)" "void *arg"
.Ft void
diff --git a/share/man/man9/shutdownhook_establish.9 b/share/man/man9/shutdownhook_establish.9
index a23ce8bbd34..e3178126c0e 100644
--- a/share/man/man9/shutdownhook_establish.9
+++ b/share/man/man9/shutdownhook_establish.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: shutdownhook_establish.9,v 1.13 2003/06/06 20:56:32 jmc Exp $
+.\" $OpenBSD: shutdownhook_establish.9,v 1.14 2003/08/29 19:46:29 tedu Exp $
.\" $NetBSD: shutdownhook_establish.9,v 1.1 1995/11/25 21:24:52 perry Exp $
.\"
.\" Copyright (c) 1994 Christopher G. Demetriou
@@ -38,6 +38,8 @@
.Nm shutdownhook_disestablish
.Nd add or remove a shutdown hook
.Sh SYNOPSIS
+.Fd #include <sys/types.h>
+.Fd #include <sys/systm.h>
.Ft void *
.Fn shutdownhook_establish "void (*fn)(void *)" "void *arg"
.Ft void
diff --git a/share/man/man9/startuphook_establish.9 b/share/man/man9/startuphook_establish.9
index 3e8e73a12de..5dd4c954f30 100644
--- a/share/man/man9/startuphook_establish.9
+++ b/share/man/man9/startuphook_establish.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: startuphook_establish.9,v 1.3 2003/03/06 04:03:40 david Exp $
+.\" $OpenBSD: startuphook_establish.9,v 1.4 2003/08/29 19:46:29 tedu Exp $
.\"
.\" Copyright (c) 1995 Niklas Hallqvist.
.\" All rights reserved.
@@ -33,6 +33,8 @@
.Nm startuphook_disestablish
.Nd add or remove a startup hook
.Sh SYNOPSIS
+.Fd #include <sys/types.h>
+.Fd #include <sys/systm.h>
.Ft void *
.Fn startuphook_establish "void (*fn)(void *)" "void *arg"
.Ft void
diff --git a/share/man/man9/systrace.9 b/share/man/man9/systrace.9
index 560d4e1ba5f..e7cbe9390c6 100644
--- a/share/man/man9/systrace.9
+++ b/share/man/man9/systrace.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: systrace.9,v 1.2 2003/07/24 22:08:56 jmc Exp $
+.\" $OpenBSD: systrace.9,v 1.3 2003/08/29 19:46:29 tedu Exp $
.\"
.\" Copyright (c) 2003 Michael Shalayeff
.\"
@@ -32,7 +32,7 @@
.Nm systrace_exit
.Nd "enforce policies for system calls"
.Sh SYNOPSIS
-.In sys/dev/systrace.h
+.Fd #include <sys/dev/systrace.h>
.Ft int
.Fn systrace_redirect "int code" "struct proc *p" "void *args" "register_t *retval"
.Ft void