diff options
Diffstat (limited to 'share')
267 files changed, 538 insertions, 538 deletions
diff --git a/share/man/man3/assert.3 b/share/man/man3/assert.3 index 8e1ab1d..b13d653 100644 --- a/share/man/man3/assert.3 +++ b/share/man/man3/assert.3 @@ -39,7 +39,7 @@ .Nm assert .Nd expression verification macro .Sh SYNOPSIS -.Fd #include <assert.h> +.In assert.h .Fn assert expression .Sh DESCRIPTION The diff --git a/share/man/man3/bitstring.3 b/share/man/man3/bitstring.3 index 5ae4117..ed7b0f3 100644 --- a/share/man/man3/bitstring.3 +++ b/share/man/man3/bitstring.3 @@ -49,7 +49,7 @@ .Nm bit_test .Nd bit-string manipulation macros .Sh SYNOPSIS -.Fd #include <bitstring.h> +.In bitstring.h .Ft bitstr_t * .Fn bit_alloc "int nbits" .Ft void diff --git a/share/man/man3/fpgetround.3 b/share/man/man3/fpgetround.3 index 89f3719..8b24d3c 100644 --- a/share/man/man3/fpgetround.3 +++ b/share/man/man3/fpgetround.3 @@ -46,7 +46,7 @@ .Nm fpresetsticky .Nd IEEE floating point interface .Sh SYNOPSIS -.Fd #include <ieeefp.h> +.In ieeefp.h .Pp .Bd -literal typedef enum { diff --git a/share/man/man3/pthread.3 b/share/man/man3/pthread.3 index 15bb724..c4cef74 100644 --- a/share/man/man3/pthread.3 +++ b/share/man/man3/pthread.3 @@ -37,7 +37,7 @@ .Nm pthread .Nd POSIX thread functions .Sh SYNOPSIS -.Fd #include <pthread.h> +.In pthread.h .Sh DESCRIPTION POSIX threads are a set of functions that support applications with requirements for multiple flows of control, called diff --git a/share/man/man3/pthread_attr.3 b/share/man/man3/pthread_attr.3 index 5412c59..ff692e2 100644 --- a/share/man/man3/pthread_attr.3 +++ b/share/man/man3/pthread_attr.3 @@ -52,7 +52,7 @@ .Sh LIBRARY .Lb libc_r .Sh SYNOPSIS -.Fd #include <pthread.h> +.In pthread.h .Ft int .Fn pthread_attr_init "pthread_attr_t *attr" .Ft int diff --git a/share/man/man3/pthread_cancel.3 b/share/man/man3/pthread_cancel.3 index 2e392de..1b998e6 100644 --- a/share/man/man3/pthread_cancel.3 +++ b/share/man/man3/pthread_cancel.3 @@ -8,7 +8,7 @@ .Sh LIBRARY .Lb libc_r .Sh SYNOPSIS -.Fd #include <pthread.h> +.In pthread.h .Ft int .Fn pthread_cancel "pthread_t thread" .Sh DESCRIPTION diff --git a/share/man/man3/pthread_cleanup_pop.3 b/share/man/man3/pthread_cleanup_pop.3 index 38fc46c..5321303 100644 --- a/share/man/man3/pthread_cleanup_pop.3 +++ b/share/man/man3/pthread_cleanup_pop.3 @@ -36,7 +36,7 @@ .Sh LIBRARY .Lb libc_r .Sh SYNOPSIS -.Fd #include <pthread.h> +.In pthread.h .Ft void .Fn pthread_cleanup_pop "int execute" .Sh DESCRIPTION diff --git a/share/man/man3/pthread_cleanup_push.3 b/share/man/man3/pthread_cleanup_push.3 index 5cc2a1e..b7d797e 100644 --- a/share/man/man3/pthread_cleanup_push.3 +++ b/share/man/man3/pthread_cleanup_push.3 @@ -36,7 +36,7 @@ .Sh LIBRARY .Lb libc_r .Sh SYNOPSIS -.Fd #include <pthread.h> +.In pthread.h .Ft void .Fn pthread_cleanup_push "void \*[lp]*cleanup_routine\*[rp]\*[lp]void *\*[rp]" "void *arg" .Sh DESCRIPTION diff --git a/share/man/man3/pthread_cond_broadcast.3 b/share/man/man3/pthread_cond_broadcast.3 index f881886..b3947bd 100644 --- a/share/man/man3/pthread_cond_broadcast.3 +++ b/share/man/man3/pthread_cond_broadcast.3 @@ -36,7 +36,7 @@ .Sh LIBRARY .Lb libc_r .Sh SYNOPSIS -.Fd #include <pthread.h> +.In pthread.h .Ft int .Fn pthread_cond_broadcast "pthread_cond_t *cond" .Sh DESCRIPTION diff --git a/share/man/man3/pthread_cond_destroy.3 b/share/man/man3/pthread_cond_destroy.3 index 4ac17f9..ab1ea0f 100644 --- a/share/man/man3/pthread_cond_destroy.3 +++ b/share/man/man3/pthread_cond_destroy.3 @@ -36,7 +36,7 @@ .Sh LIBRARY .Lb libc_r .Sh SYNOPSIS -.Fd #include <pthread.h> +.In pthread.h .Ft int .Fn pthread_cond_destroy "pthread_cond_t *cond" .Sh DESCRIPTION diff --git a/share/man/man3/pthread_cond_init.3 b/share/man/man3/pthread_cond_init.3 index 5339f38..542110b 100644 --- a/share/man/man3/pthread_cond_init.3 +++ b/share/man/man3/pthread_cond_init.3 @@ -36,7 +36,7 @@ .Sh LIBRARY .Lb libc_r .Sh SYNOPSIS -.Fd #include <pthread.h> +.In pthread.h .Ft int .Fn pthread_cond_init "pthread_cond_t *cond" "const pthread_condattr_t *attr" .Sh DESCRIPTION diff --git a/share/man/man3/pthread_cond_signal.3 b/share/man/man3/pthread_cond_signal.3 index 654d5a8..4bb85c9 100644 --- a/share/man/man3/pthread_cond_signal.3 +++ b/share/man/man3/pthread_cond_signal.3 @@ -36,7 +36,7 @@ .Sh LIBRARY .Lb libc_r .Sh SYNOPSIS -.Fd #include <pthread.h> +.In pthread.h .Ft int .Fn pthread_cond_signal "pthread_cond_t *cond" .Sh DESCRIPTION diff --git a/share/man/man3/pthread_cond_timedwait.3 b/share/man/man3/pthread_cond_timedwait.3 index b0c56e8..afd16b5 100644 --- a/share/man/man3/pthread_cond_timedwait.3 +++ b/share/man/man3/pthread_cond_timedwait.3 @@ -36,7 +36,7 @@ .Sh LIBRARY .Lb libc_r .Sh SYNOPSIS -.Fd #include <pthread.h> +.In pthread.h .Ft int .Fn pthread_cond_timedwait "pthread_cond_t *cond" "pthread_mutex_t *mutex" "const struct timespec *abstime" .Sh DESCRIPTION diff --git a/share/man/man3/pthread_cond_wait.3 b/share/man/man3/pthread_cond_wait.3 index e9fde91..e464a1e 100644 --- a/share/man/man3/pthread_cond_wait.3 +++ b/share/man/man3/pthread_cond_wait.3 @@ -36,7 +36,7 @@ .Sh LIBRARY .Lb libc_r .Sh SYNOPSIS -.Fd #include <pthread.h> +.In pthread.h .Ft int .Fn pthread_cond_wait "pthread_cond_t *cond" "pthread_mutex_t *mutex" .Sh DESCRIPTION diff --git a/share/man/man3/pthread_condattr.3 b/share/man/man3/pthread_condattr.3 index 28df565..478e112 100644 --- a/share/man/man3/pthread_condattr.3 +++ b/share/man/man3/pthread_condattr.3 @@ -36,7 +36,7 @@ .Sh LIBRARY .Lb libc_r .Sh SYNOPSIS -.Fd #include <pthread.h> +.In pthread.h .Ft int .Fn pthread_condattr_init "pthread_condattr_t *attr" .Ft int diff --git a/share/man/man3/pthread_create.3 b/share/man/man3/pthread_create.3 index 5f2d24c..53b68ab 100644 --- a/share/man/man3/pthread_create.3 +++ b/share/man/man3/pthread_create.3 @@ -39,7 +39,7 @@ .Sh LIBRARY .Lb libc_r .Sh SYNOPSIS -.Fd #include <pthread.h> +.In pthread.h .Ft int .Fn pthread_create "pthread_t *thread" "const pthread_attr_t *attr" "void *(*start_routine)(void *)" "void *arg" .Sh DESCRIPTION diff --git a/share/man/man3/pthread_detach.3 b/share/man/man3/pthread_detach.3 index a3b660f..15729af 100644 --- a/share/man/man3/pthread_detach.3 +++ b/share/man/man3/pthread_detach.3 @@ -39,7 +39,7 @@ .Sh LIBRARY .Lb libc_r .Sh SYNOPSIS -.Fd #include <pthread.h> +.In pthread.h .Ft int .Fn pthread_detach "pthread_t thread" .Sh DESCRIPTION diff --git a/share/man/man3/pthread_equal.3 b/share/man/man3/pthread_equal.3 index be55e90..8b733da 100644 --- a/share/man/man3/pthread_equal.3 +++ b/share/man/man3/pthread_equal.3 @@ -39,7 +39,7 @@ .Sh LIBRARY .Lb libc_r .Sh SYNOPSIS -.Fd #include <pthread.h> +.In pthread.h .Ft int .Fn pthread_equal "pthread_t t1" "pthread_t t2" .Sh DESCRIPTION diff --git a/share/man/man3/pthread_exit.3 b/share/man/man3/pthread_exit.3 index 1eabc9b..0bfdad6 100644 --- a/share/man/man3/pthread_exit.3 +++ b/share/man/man3/pthread_exit.3 @@ -39,7 +39,7 @@ .Sh LIBRARY .Lb libc_r .Sh SYNOPSIS -.Fd #include <pthread.h> +.In pthread.h .Ft void .Fn pthread_exit "void *value_ptr" .Sh DESCRIPTION diff --git a/share/man/man3/pthread_getspecific.3 b/share/man/man3/pthread_getspecific.3 index c003f3f..c7a04fa 100644 --- a/share/man/man3/pthread_getspecific.3 +++ b/share/man/man3/pthread_getspecific.3 @@ -39,7 +39,7 @@ .Sh LIBRARY .Lb libc_r .Sh SYNOPSIS -.Fd #include <pthread.h> +.In pthread.h .Ft void * .Fn pthread_getspecific "pthread_key_t key" .Sh DESCRIPTION diff --git a/share/man/man3/pthread_join.3 b/share/man/man3/pthread_join.3 index f8e8e18..98ae70d 100644 --- a/share/man/man3/pthread_join.3 +++ b/share/man/man3/pthread_join.3 @@ -39,7 +39,7 @@ .Sh LIBRARY .Lb libc_r .Sh SYNOPSIS -.Fd #include <pthread.h> +.In pthread.h .Ft int .Fn pthread_join "pthread_t thread" "void **value_ptr" .Sh DESCRIPTION diff --git a/share/man/man3/pthread_key_create.3 b/share/man/man3/pthread_key_create.3 index d1fb922..7075dcc 100644 --- a/share/man/man3/pthread_key_create.3 +++ b/share/man/man3/pthread_key_create.3 @@ -39,7 +39,7 @@ .Sh LIBRARY .Lb libc_r .Sh SYNOPSIS -.Fd #include <pthread.h> +.In pthread.h .Ft int .Fn pthread_key_create "pthread_key_t *key" "void (*destructor)(void *)" .Sh DESCRIPTION diff --git a/share/man/man3/pthread_key_delete.3 b/share/man/man3/pthread_key_delete.3 index 9baa502..bc0cf8a 100644 --- a/share/man/man3/pthread_key_delete.3 +++ b/share/man/man3/pthread_key_delete.3 @@ -39,7 +39,7 @@ .Sh LIBRARY .Lb libc_r .Sh SYNOPSIS -.Fd #include <pthread.h> +.In pthread.h .Ft int .Fn pthread_key_delete "pthread_key_t key" .Sh DESCRIPTION diff --git a/share/man/man3/pthread_kill.3 b/share/man/man3/pthread_kill.3 index 7a33cf6..e46e2b2 100644 --- a/share/man/man3/pthread_kill.3 +++ b/share/man/man3/pthread_kill.3 @@ -35,8 +35,8 @@ .Sh LIBRARY .Lb libc_r .Sh SYNOPSIS -.Fd #include <pthread.h> -.Fd #include <signal.h> +.In pthread.h +.In signal.h .Ft int .Fn pthread_kill "pthread_t thread" "int sig" .Sh DESCRIPTION diff --git a/share/man/man3/pthread_mutex_destroy.3 b/share/man/man3/pthread_mutex_destroy.3 index f7b915d..59d2b48 100644 --- a/share/man/man3/pthread_mutex_destroy.3 +++ b/share/man/man3/pthread_mutex_destroy.3 @@ -36,7 +36,7 @@ .Sh LIBRARY .Lb libc_r .Sh SYNOPSIS -.Fd #include <pthread.h> +.In pthread.h .Ft int .Fn pthread_mutex_destroy "pthread_mutex_t *mutex" .Sh DESCRIPTION diff --git a/share/man/man3/pthread_mutex_init.3 b/share/man/man3/pthread_mutex_init.3 index 42b3a26..c3fb60c 100644 --- a/share/man/man3/pthread_mutex_init.3 +++ b/share/man/man3/pthread_mutex_init.3 @@ -36,7 +36,7 @@ .Sh LIBRARY .Lb libc_r .Sh SYNOPSIS -.Fd #include <pthread.h> +.In pthread.h .Ft int .Fn pthread_mutex_init "pthread_mutex_t *mutex" "const pthread_mutexattr_t *attr" .Sh DESCRIPTION diff --git a/share/man/man3/pthread_mutex_lock.3 b/share/man/man3/pthread_mutex_lock.3 index 972d277..cc35ff2 100644 --- a/share/man/man3/pthread_mutex_lock.3 +++ b/share/man/man3/pthread_mutex_lock.3 @@ -36,7 +36,7 @@ .Sh LIBRARY .Lb libc_r .Sh SYNOPSIS -.Fd #include <pthread.h> +.In pthread.h .Ft int .Fn pthread_mutex_lock "pthread_mutex_t *mutex" .Sh DESCRIPTION diff --git a/share/man/man3/pthread_mutex_trylock.3 b/share/man/man3/pthread_mutex_trylock.3 index 143df14..5de24ce 100644 --- a/share/man/man3/pthread_mutex_trylock.3 +++ b/share/man/man3/pthread_mutex_trylock.3 @@ -36,7 +36,7 @@ .Sh LIBRARY .Lb libc_r .Sh SYNOPSIS -.Fd #include <pthread.h> +.In pthread.h .Ft int .Fn pthread_mutex_trylock "pthread_mutex_t *mutex" .Sh DESCRIPTION diff --git a/share/man/man3/pthread_mutex_unlock.3 b/share/man/man3/pthread_mutex_unlock.3 index 93e6354..d5ae7dc 100644 --- a/share/man/man3/pthread_mutex_unlock.3 +++ b/share/man/man3/pthread_mutex_unlock.3 @@ -36,7 +36,7 @@ .Sh LIBRARY .Lb libc_r .Sh SYNOPSIS -.Fd #include <pthread.h> +.In pthread.h .Ft int .Fn pthread_mutex_unlock "pthread_mutex_t *mutex" .Sh DESCRIPTION diff --git a/share/man/man3/pthread_mutexattr.3 b/share/man/man3/pthread_mutexattr.3 index 7079846..7476ae1 100644 --- a/share/man/man3/pthread_mutexattr.3 +++ b/share/man/man3/pthread_mutexattr.3 @@ -42,7 +42,7 @@ .Sh LIBRARY .Lb libc_r .Sh SYNOPSIS -.Fd #include <pthread.h> +.In pthread.h .Ft int .Fn pthread_mutexattr_init "pthread_mutexattr_t *attr" .Ft int diff --git a/share/man/man3/pthread_once.3 b/share/man/man3/pthread_once.3 index 72a1322..7ad97fe 100644 --- a/share/man/man3/pthread_once.3 +++ b/share/man/man3/pthread_once.3 @@ -39,7 +39,7 @@ .Sh LIBRARY .Lb libc_r .Sh SYNOPSIS -.Fd #include <pthread.h> +.In pthread.h .Pp pthread_once_t .Fa once_control diff --git a/share/man/man3/pthread_rwlock_destroy.3 b/share/man/man3/pthread_rwlock_destroy.3 index 70acf92..b65e065 100644 --- a/share/man/man3/pthread_rwlock_destroy.3 +++ b/share/man/man3/pthread_rwlock_destroy.3 @@ -33,7 +33,7 @@ .Sh LIBRARY .Lb libc_r .Sh SYNOPSIS -.Fd #include <pthread.h> +.In pthread.h .Ft int .Fn pthread_rwlock_destroy "pthread_rwlock_t *lock" .Sh DESCRIPTION diff --git a/share/man/man3/pthread_rwlock_init.3 b/share/man/man3/pthread_rwlock_init.3 index 749a848..0360987 100644 --- a/share/man/man3/pthread_rwlock_init.3 +++ b/share/man/man3/pthread_rwlock_init.3 @@ -33,7 +33,7 @@ .Sh LIBRARY .Lb libc_r .Sh SYNOPSIS -.Fd #include <pthread.h> +.In pthread.h .Ft int .Fn pthread_rwlock_init "pthread_rwlock_t *lock" "const pthread_rwlockattr_t *attr" .Sh DESCRIPTION diff --git a/share/man/man3/pthread_rwlock_rdlock.3 b/share/man/man3/pthread_rwlock_rdlock.3 index d3ec9ef..88dbb17 100644 --- a/share/man/man3/pthread_rwlock_rdlock.3 +++ b/share/man/man3/pthread_rwlock_rdlock.3 @@ -34,7 +34,7 @@ .Sh LIBRARY .Lb libc_r .Sh SYNOPSIS -.Fd #include <pthread.h> +.In pthread.h .Ft int .Fn pthread_rwlock_rdlock "pthread_rwlock_t *lock" .Ft int diff --git a/share/man/man3/pthread_rwlock_unlock.3 b/share/man/man3/pthread_rwlock_unlock.3 index f99b955..9391f75 100644 --- a/share/man/man3/pthread_rwlock_unlock.3 +++ b/share/man/man3/pthread_rwlock_unlock.3 @@ -33,7 +33,7 @@ .Sh LIBRARY .Lb libc_r .Sh SYNOPSIS -.Fd #include <pthread.h> +.In pthread.h .Ft int .Fn pthread_rwlock_unlock "pthread_rwlock_t *lock" .Sh DESCRIPTION diff --git a/share/man/man3/pthread_rwlock_wrlock.3 b/share/man/man3/pthread_rwlock_wrlock.3 index 149a7a0..55ab5f9 100644 --- a/share/man/man3/pthread_rwlock_wrlock.3 +++ b/share/man/man3/pthread_rwlock_wrlock.3 @@ -34,7 +34,7 @@ .Sh LIBRARY .Lb libc_r .Sh SYNOPSIS -.Fd #include <pthread.h> +.In pthread.h .Ft int .Fn pthread_rwlock_wrlock "pthread_rwlock_t *lock" .Ft int diff --git a/share/man/man3/pthread_rwlockattr_destroy.3 b/share/man/man3/pthread_rwlockattr_destroy.3 index ab6a6e1..3ba97cf 100644 --- a/share/man/man3/pthread_rwlockattr_destroy.3 +++ b/share/man/man3/pthread_rwlockattr_destroy.3 @@ -33,7 +33,7 @@ .Sh LIBRARY .Lb libc_r .Sh SYNOPSIS -.Fd #include <pthread.h> +.In pthread.h .Ft int .Fn pthread_rwlockattr_destroy "pthread_rwlockattr_t *attr" .Sh DESCRIPTION diff --git a/share/man/man3/pthread_rwlockattr_getpshared.3 b/share/man/man3/pthread_rwlockattr_getpshared.3 index 40eed6e..56bda44 100644 --- a/share/man/man3/pthread_rwlockattr_getpshared.3 +++ b/share/man/man3/pthread_rwlockattr_getpshared.3 @@ -33,7 +33,7 @@ .Sh LIBRARY .Lb libc_r .Sh SYNOPSIS -.Fd #include <pthread.h> +.In pthread.h .Ft int .Fn pthread_rwlockattr_getpshared "const pthread_rwlockattr_t *attr" "int *pshared" .Sh DESCRIPTION diff --git a/share/man/man3/pthread_rwlockattr_init.3 b/share/man/man3/pthread_rwlockattr_init.3 index 4fbbe36..a4aef31 100644 --- a/share/man/man3/pthread_rwlockattr_init.3 +++ b/share/man/man3/pthread_rwlockattr_init.3 @@ -33,7 +33,7 @@ .Sh LIBRARY .Lb libc_r .Sh SYNOPSIS -.Fd #include <pthread.h> +.In pthread.h .Ft int .Fn pthread_rwlockattr_init "pthread_rwlockattr_t *attr" .Sh DESCRIPTION diff --git a/share/man/man3/pthread_rwlockattr_setpshared.3 b/share/man/man3/pthread_rwlockattr_setpshared.3 index dfc7fe6..48b854d 100644 --- a/share/man/man3/pthread_rwlockattr_setpshared.3 +++ b/share/man/man3/pthread_rwlockattr_setpshared.3 @@ -33,7 +33,7 @@ .Sh LIBRARY .Lb libc_r .Sh SYNOPSIS -.Fd #include <pthread.h> +.In pthread.h .Ft int .Fn pthread_rwlockattr_setpshared "pthread_rwlockattr_t *attr" "int pshared" .Sh DESCRIPTION diff --git a/share/man/man3/pthread_schedparam.3 b/share/man/man3/pthread_schedparam.3 index 50c556f..c76f4d90 100644 --- a/share/man/man3/pthread_schedparam.3 +++ b/share/man/man3/pthread_schedparam.3 @@ -36,7 +36,7 @@ .Sh LIBRARY .Lb libc_r .Sh SYNOPSIS -.Fd #include <pthread.h> +.In pthread.h .Ft int .Fn pthread_setschedparam "pthread_t thread" "int policy" "const struct sched_param *param" .Ft int diff --git a/share/man/man3/pthread_self.3 b/share/man/man3/pthread_self.3 index acd46e9..899af43 100644 --- a/share/man/man3/pthread_self.3 +++ b/share/man/man3/pthread_self.3 @@ -39,7 +39,7 @@ .Sh LIBRARY .Lb libc_r .Sh SYNOPSIS -.Fd #include <pthread.h> +.In pthread.h .Ft pthread_t .Fn pthread_self "void" .Sh DESCRIPTION diff --git a/share/man/man3/pthread_setspecific.3 b/share/man/man3/pthread_setspecific.3 index 5265def..5bc274c 100644 --- a/share/man/man3/pthread_setspecific.3 +++ b/share/man/man3/pthread_setspecific.3 @@ -39,7 +39,7 @@ .Sh LIBRARY .Lb libc_r .Sh SYNOPSIS -.Fd #include <pthread.h> +.In pthread.h .Ft int .Fn pthread_setspecific "pthread_key_t key" "const void *value" .Sh DESCRIPTION diff --git a/share/man/man3/pthread_sigmask.3 b/share/man/man3/pthread_sigmask.3 index 2b23d3b..5efa925 100644 --- a/share/man/man3/pthread_sigmask.3 +++ b/share/man/man3/pthread_sigmask.3 @@ -35,8 +35,8 @@ .Sh LIBRARY .Lb libc_r .Sh SYNOPSIS -.Fd #include <pthread.h> -.Fd #include <signal.h> +.In pthread.h +.In signal.h .Ft int .Fn pthread_sigmask "int how" "const sigset_t *set" "sigset_t *oset" .Sh DESCRIPTION diff --git a/share/man/man3/pthread_testcancel.3 b/share/man/man3/pthread_testcancel.3 index 110ab38..95672fa 100644 --- a/share/man/man3/pthread_testcancel.3 +++ b/share/man/man3/pthread_testcancel.3 @@ -10,7 +10,7 @@ .Sh LIBRARY .Lb libc_r .Sh SYNOPSIS -.Fd #include <pthread.h> +.In pthread.h .Ft int .Fn pthread_setcancelstate "int state" "int *oldstate" .Ft int diff --git a/share/man/man3/queue.3 b/share/man/man3/queue.3 index 3629132..072f86a 100644 --- a/share/man/man3/queue.3 +++ b/share/man/man3/queue.3 @@ -93,7 +93,7 @@ .Nd implementations of singly-linked lists, singly-linked tail queues, lists and tail queues .Sh SYNOPSIS -.Fd #include <sys/queue.h> +.In sys/queue.h .\" .Fn SLIST_EMPTY "SLIST_HEAD *head" .Fn SLIST_ENTRY "TYPE" diff --git a/share/man/man3/stdarg.3 b/share/man/man3/stdarg.3 index d5344ef..354fc0a 100644 --- a/share/man/man3/stdarg.3 +++ b/share/man/man3/stdarg.3 @@ -43,7 +43,7 @@ .Nm stdarg .Nd variable argument lists .Sh SYNOPSIS -.Fd #include <stdarg.h> +.In stdarg.h .Ft void .Fn va_start "va_list ap" last .Ft type diff --git a/share/man/man3/sysexits.3 b/share/man/man3/sysexits.3 index 424945b..019c1da 100644 --- a/share/man/man3/sysexits.3 +++ b/share/man/man3/sysexits.3 @@ -33,7 +33,7 @@ .Nm sysexits .Nd preferable exit codes for programs .Sh SYNOPSIS -.Fd #include <sysexits.h> +.In sysexits.h .Sh DESCRIPTION According to .Xr style 9 , diff --git a/share/man/man4/divert.4 b/share/man/man4/divert.4 index 5749217..ec1964c 100644 --- a/share/man/man4/divert.4 +++ b/share/man/man4/divert.4 @@ -7,9 +7,9 @@ .Nm divert .Nd kernel packet diversion mechanism .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <sys/socket.h> -.Fd #include <netinet/in.h> +.In sys/types.h +.In sys/socket.h +.In netinet/in.h .Ft int .Fn socket PF_INET SOCK_RAW IPPROTO_DIVERT .Sh DESCRIPTION diff --git a/share/man/man4/dummynet.4 b/share/man/man4/dummynet.4 index 09e9830..3d0c000 100644 --- a/share/man/man4/dummynet.4 +++ b/share/man/man4/dummynet.4 @@ -8,10 +8,10 @@ .Nm dummynet .Nd flexible bandwidth manager and delay emulator .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <sys/queue.h> -.Fd #include <netinet/in.h> -.Fd #include <netinet/ip_fw.h> +.In sys/types.h +.In sys/queue.h +.In netinet/in.h +.In netinet/ip_fw.h .Ft int .Fn setsockopt raw_socket IPPROTO_IP "ipfw option" "struct ipfw" size .Sh DESCRIPTION diff --git a/share/man/man4/icmp.4 b/share/man/man4/icmp.4 index 9fc2020..5fa5752 100644 --- a/share/man/man4/icmp.4 +++ b/share/man/man4/icmp.4 @@ -39,9 +39,9 @@ .Nm icmp .Nd Internet Control Message Protocol .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <sys/socket.h> -.Fd #include <netinet/in.h> +.In sys/types.h +.In sys/socket.h +.In netinet/in.h .Ft int .Fn socket AF_INET SOCK_RAW proto .Sh DESCRIPTION diff --git a/share/man/man4/icmp6.4 b/share/man/man4/icmp6.4 index c30fbbf..93c8146 100644 --- a/share/man/man4/icmp6.4 +++ b/share/man/man4/icmp6.4 @@ -68,10 +68,10 @@ .Nd Internet Control Message Protocol for IPv6 .\" .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <sys/socket.h> -.Fd #include <netinet/in.h> -.Fd #include <netinet/icmp6.h> +.In sys/types.h +.In sys/socket.h +.In netinet/in.h +.In netinet/icmp6.h .Ft int .Fn socket AF_INET6 SOCK_RAW proto .\" diff --git a/share/man/man4/ifmib.4 b/share/man/man4/ifmib.4 index 405f69b..9fd6bc8 100644 --- a/share/man/man4/ifmib.4 +++ b/share/man/man4/ifmib.4 @@ -34,12 +34,12 @@ .Nm ifmib .Nd Management Information Base for network interfaces .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <sys/socket.h> -.Fd #include <sys/sysctl.h> -.Fd #include <sys/time.h> -.Fd #include <net/if.h> -.Fd #include <net/if_mib.h> +.In sys/types.h +.In sys/socket.h +.In sys/sysctl.h +.In sys/time.h +.In net/if.h +.In net/if_mib.h .Sh DESCRIPTION The .Nm diff --git a/share/man/man4/inet.4 b/share/man/man4/inet.4 index 9dab6d2..4848a8f 100644 --- a/share/man/man4/inet.4 +++ b/share/man/man4/inet.4 @@ -39,8 +39,8 @@ .Nm inet .Nd Internet protocol family .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <netinet/in.h> +.In sys/types.h +.In netinet/in.h .Sh DESCRIPTION The Internet protocol family is a collection of protocols layered atop the diff --git a/share/man/man4/inet6.4 b/share/man/man4/inet6.4 index 22a1062..c00c3c8 100644 --- a/share/man/man4/inet6.4 +++ b/share/man/man4/inet6.4 @@ -35,8 +35,8 @@ .Nm inet6 .Nd Internet protocol version 6 family .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <netinet/in.h> +.In sys/types.h +.In netinet/in.h .Sh DESCRIPTION The .Nm diff --git a/share/man/man4/ip.4 b/share/man/man4/ip.4 index 4ccbb11..33f6a48 100644 --- a/share/man/man4/ip.4 +++ b/share/man/man4/ip.4 @@ -39,9 +39,9 @@ .Nm ip .Nd Internet Protocol .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <sys/socket.h> -.Fd #include <netinet/in.h> +.In sys/types.h +.In sys/socket.h +.In netinet/in.h .Ft int .Fn socket AF_INET SOCK_RAW proto .Sh DESCRIPTION diff --git a/share/man/man4/ip6.4 b/share/man/man4/ip6.4 index 1868eb6..c1bd10c 100644 --- a/share/man/man4/ip6.4 +++ b/share/man/man4/ip6.4 @@ -69,9 +69,9 @@ .Nd Internet Protocol version 6 (IPv6) .\" .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <sys/socket.h> -.Fd #include <netinet/in.h> +.In sys/types.h +.In sys/socket.h +.In netinet/in.h .Ft int .Fn socket AF_INET6 SOCK_RAW proto .\" diff --git a/share/man/man4/ipfirewall.4 b/share/man/man4/ipfirewall.4 index e6d6b08..14c714c 100644 --- a/share/man/man4/ipfirewall.4 +++ b/share/man/man4/ipfirewall.4 @@ -8,10 +8,10 @@ .Nm ipfirewall .Nd IP packet filter and traffic accounting .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <sys/queue.h> -.Fd #include <netinet/in.h> -.Fd #include <netinet/ip_fw.h> +.In sys/types.h +.In sys/queue.h +.In netinet/in.h +.In netinet/ip_fw.h .Ft int .Fn setsockopt raw_socket IPPROTO_IP "ipfw option" "struct ipfw" size .Sh DESCRIPTION diff --git a/share/man/man4/ipsec.4 b/share/man/man4/ipsec.4 index 93bde4e..7aa8cf8 100644 --- a/share/man/man4/ipsec.4 +++ b/share/man/man4/ipsec.4 @@ -35,9 +35,9 @@ .Nm ipsec .Nd IP security protocol .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <netinet/in.h> -.Fd #include <netinet6/ipsec.h> +.In sys/types.h +.In netinet/in.h +.In netinet6/ipsec.h .Sh DESCRIPTION .Nm is a security protocol in Internet Protocol layer. diff --git a/share/man/man4/joy.4 b/share/man/man4/joy.4 index 9d25512..938ee34 100644 --- a/share/man/man4/joy.4 +++ b/share/man/man4/joy.4 @@ -14,7 +14,7 @@ To link into the kernel: To load as a kernel loadable module: .Dl kldload joy .Pp -.Fd #include <machine/joystick.h> +.In machine/joystick.h .Sh DESCRIPTION The joystick device driver allows applications to read the status of the PC joystick. diff --git a/share/man/man4/man4.i386/gsc.4 b/share/man/man4/man4.i386/gsc.4 index 6b6b5d7..3daa0f2 100644 --- a/share/man/man4/man4.i386/gsc.4 +++ b/share/man/man4/man4.i386/gsc.4 @@ -37,7 +37,7 @@ .Nm gsc .Nd a device driver for a handy scanner .Sh SYNOPSIS -.Fd #include <machine/gsc.h> +.In machine/gsc.h .Pp .Cd Minor number bits: Ar uu d g p ... .Bl -tag -width "uu " -compact -offset indent diff --git a/share/man/man4/man4.i386/spkr.4 b/share/man/man4/man4.i386/spkr.4 index 6cd8c557..fac01f4 100644 --- a/share/man/man4/man4.i386/spkr.4 +++ b/share/man/man4/man4.i386/spkr.4 @@ -10,7 +10,7 @@ .Nd console speaker device driver .Sh SYNOPSIS .Cd device speaker -.Fd #include <machine/speaker.h> +.In machine/speaker.h .Sh DESCRIPTION The speaker device driver allows applications to control the PC console speaker on an diff --git a/share/man/man4/mouse.4 b/share/man/man4/mouse.4 index 55e5a7b..c42eed2 100644 --- a/share/man/man4/mouse.4 +++ b/share/man/man4/mouse.4 @@ -33,7 +33,7 @@ .Nm mouse .Nd mouse and pointing device drivers .Sh SYNOPSIS -.Fd #include <sys/mouse.h> +.In sys/mouse.h .Sh DESCRIPTION The mouse drivers .Xr mse 4 , diff --git a/share/man/man4/netintro.4 b/share/man/man4/netintro.4 index f7715be..dc200ed 100644 --- a/share/man/man4/netintro.4 +++ b/share/man/man4/netintro.4 @@ -39,11 +39,11 @@ .Nm networking .Nd introduction to networking facilities .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <sys/time.h> -.Fd #include <sys/socket.h> -.Fd #include <net/if.h> -.Fd #include <net/route.h> +.In sys/types.h +.In sys/time.h +.In sys/socket.h +.In net/if.h +.In net/route.h .Sh DESCRIPTION This section is a general introduction to the networking facilities available in the system. diff --git a/share/man/man4/ng_UI.4 b/share/man/man4/ng_UI.4 index 04b771a..8fbf93f 100644 --- a/share/man/man4/ng_UI.4 +++ b/share/man/man4/ng_UI.4 @@ -42,7 +42,7 @@ .Nm ng_UI .Nd UI netgraph node type .Sh SYNOPSIS -.Fd #include <netgraph/ng_UI.h> +.In netgraph/ng_UI.h .Sh DESCRIPTION The .Nm UI diff --git a/share/man/man4/ng_async.4 b/share/man/man4/ng_async.4 index 7b2fb96..22c67b9 100644 --- a/share/man/man4/ng_async.4 +++ b/share/man/man4/ng_async.4 @@ -42,7 +42,7 @@ .Nm ng_async .Nd asynchronous framing netgraph node type .Sh SYNOPSIS -.Fd #include <netgraph/ng_async.h> +.In netgraph/ng_async.h .Sh DESCRIPTION The .Nm async diff --git a/share/man/man4/ng_bpf.4 b/share/man/man4/ng_bpf.4 index dda938a..a4717ef 100644 --- a/share/man/man4/ng_bpf.4 +++ b/share/man/man4/ng_bpf.4 @@ -42,8 +42,8 @@ .Nm ng_bpf .Nd Berkeley packet filter netgraph node type .Sh SYNOPSIS -.Fd #include <net/bpf.h> -.Fd #include <netgraph/ng_bpf.h> +.In net/bpf.h +.In netgraph/ng_bpf.h .Sh DESCRIPTION The .Nm bpf diff --git a/share/man/man4/ng_bridge.4 b/share/man/man4/ng_bridge.4 index ee4966f..d50af6e 100644 --- a/share/man/man4/ng_bridge.4 +++ b/share/man/man4/ng_bridge.4 @@ -41,8 +41,8 @@ .Nm ng_bridge .Nd Ethernet bridging netgraph node type .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <netgraph/ng_bridge.h> +.In sys/types.h +.In netgraph/ng_bridge.h .Sh DESCRIPTION The .Nm bridge diff --git a/share/man/man4/ng_cisco.4 b/share/man/man4/ng_cisco.4 index d04f7a6..3a9d616 100644 --- a/share/man/man4/ng_cisco.4 +++ b/share/man/man4/ng_cisco.4 @@ -42,8 +42,8 @@ .Nm ng_cisco .Nd Cisco HDLC protocol netgraph node type .Sh SYNOPSIS -.Fd #include <netinet/in.h> -.Fd #include <netgraph/ng_cisco.h> +.In netinet/in.h +.In netgraph/ng_cisco.h .Sh DESCRIPTION The .Nm cisco diff --git a/share/man/man4/ng_echo.4 b/share/man/man4/ng_echo.4 index ff923bf..f502c62 100644 --- a/share/man/man4/ng_echo.4 +++ b/share/man/man4/ng_echo.4 @@ -42,7 +42,7 @@ .Nm ng_echo .Nd netgraph echo node type .Sh SYNOPSIS -.Fd #include <netgraph/ng_echo.h> +.In netgraph/ng_echo.h .Sh DESCRIPTION The .Nm echo diff --git a/share/man/man4/ng_ether.4 b/share/man/man4/ng_ether.4 index 2667de4..c51fa15 100644 --- a/share/man/man4/ng_ether.4 +++ b/share/man/man4/ng_ether.4 @@ -41,7 +41,7 @@ .Nm ng_ether .Nd Ethernet netgraph node type .Sh SYNOPSIS -.Fd #include <netgraph/ng_ether.h> +.In netgraph/ng_ether.h .Sh DESCRIPTION The .Nm diff --git a/share/man/man4/ng_frame_relay.4 b/share/man/man4/ng_frame_relay.4 index d2b83d8..1acef8b 100644 --- a/share/man/man4/ng_frame_relay.4 +++ b/share/man/man4/ng_frame_relay.4 @@ -42,7 +42,7 @@ .Nm ng_frame_relay .Nd frame relay netgraph node type .Sh SYNOPSIS -.Fd #include <netgraph/ng_frame_relay.h> +.In netgraph/ng_frame_relay.h .Sh DESCRIPTION The .Nm frame_relay diff --git a/share/man/man4/ng_hole.4 b/share/man/man4/ng_hole.4 index 3fad941..65a6a09 100644 --- a/share/man/man4/ng_hole.4 +++ b/share/man/man4/ng_hole.4 @@ -42,7 +42,7 @@ .Nm ng_hole .Nd netgraph discard node type .Sh SYNOPSIS -.Fd #include <netgraph/ng_hole.h> +.In netgraph/ng_hole.h .Sh DESCRIPTION The .Nm hole diff --git a/share/man/man4/ng_iface.4 b/share/man/man4/ng_iface.4 index 1f4b395..4ae6bb2 100644 --- a/share/man/man4/ng_iface.4 +++ b/share/man/man4/ng_iface.4 @@ -42,7 +42,7 @@ .Nm ng_iface .Nd interface netgraph node type .Sh SYNOPSIS -.Fd #include <netgraph/ng_iface.h> +.In netgraph/ng_iface.h .Sh DESCRIPTION An .Nm iface diff --git a/share/man/man4/ng_ksocket.4 b/share/man/man4/ng_ksocket.4 index 19ccae0..1d59b77 100644 --- a/share/man/man4/ng_ksocket.4 +++ b/share/man/man4/ng_ksocket.4 @@ -41,7 +41,7 @@ .Nm ng_ksocket .Nd kernel socket netgraph node type .Sh SYNOPSIS -.Fd #include <netgraph/ng_ksocket.h> +.In netgraph/ng_ksocket.h .Sh DESCRIPTION A .Nm ksocket diff --git a/share/man/man4/ng_lmi.4 b/share/man/man4/ng_lmi.4 index 1539886..0125dee 100644 --- a/share/man/man4/ng_lmi.4 +++ b/share/man/man4/ng_lmi.4 @@ -42,7 +42,7 @@ .Nm ng_lmi .Nd frame relay LMI protocol netgraph node type .Sh SYNOPSIS -.Fd #include <netgraph/ng_lmi.h> +.In netgraph/ng_lmi.h .Sh DESCRIPTION The .Nm lmi diff --git a/share/man/man4/ng_mppc.4 b/share/man/man4/ng_mppc.4 index fbd6d53..b7e64ea 100644 --- a/share/man/man4/ng_mppc.4 +++ b/share/man/man4/ng_mppc.4 @@ -42,8 +42,8 @@ .Nm ng_mppc .Nd Microsoft MPPC/MPPE compression and encryption netgraph node type .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <netgraph/ng_mppc.h> +.In sys/types.h +.In netgraph/ng_mppc.h .Sh DESCRIPTION The .Nm mppc diff --git a/share/man/man4/ng_one2many.4 b/share/man/man4/ng_one2many.4 index 2eca160..ff3c723 100644 --- a/share/man/man4/ng_one2many.4 +++ b/share/man/man4/ng_one2many.4 @@ -41,8 +41,8 @@ .Nm ng_one2many .Nd packet multiplexing netgraph node type .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <netgraph/ng_one2many.h> +.In sys/types.h +.In netgraph/ng_one2many.h .Sh DESCRIPTION The .Nm one2many diff --git a/share/man/man4/ng_ppp.4 b/share/man/man4/ng_ppp.4 index ca4cdf2..677c1d2 100644 --- a/share/man/man4/ng_ppp.4 +++ b/share/man/man4/ng_ppp.4 @@ -42,7 +42,7 @@ .Nm ng_ppp .Nd PPP protocol netgraph node type .Sh SYNOPSIS -.Fd #include <netgraph/ng_ppp.h> +.In netgraph/ng_ppp.h .Sh DESCRIPTION The .Nm ppp diff --git a/share/man/man4/ng_pppoe.4 b/share/man/man4/ng_pppoe.4 index 2cfd5cb..35d923e 100644 --- a/share/man/man4/ng_pppoe.4 +++ b/share/man/man4/ng_pppoe.4 @@ -42,8 +42,8 @@ .Nm ng_pppoe .Nd RFC 2516 PPPOE protocol netgraph node type .Sh SYNOPSIS -.Fd #include <net/ethernet.h> -.Fd #include <netgraph/ng_pppoe.h> +.In net/ethernet.h +.In netgraph/ng_pppoe.h .Sh DESCRIPTION The .Nm pppoe diff --git a/share/man/man4/ng_pptpgre.4 b/share/man/man4/ng_pptpgre.4 index 10a9f81..bcf3b43 100644 --- a/share/man/man4/ng_pptpgre.4 +++ b/share/man/man4/ng_pptpgre.4 @@ -42,7 +42,7 @@ .Nm ng_pptpgre .Nd PPTP GRE protocol netgraph node type .Sh SYNOPSIS -.Fd #include <netgraph/ng_pptpgre.h> +.In netgraph/ng_pptpgre.h .Sh DESCRIPTION The .Nm pptpgre diff --git a/share/man/man4/ng_rfc1490.4 b/share/man/man4/ng_rfc1490.4 index e0dd7bf..c3f1325 100644 --- a/share/man/man4/ng_rfc1490.4 +++ b/share/man/man4/ng_rfc1490.4 @@ -42,7 +42,7 @@ .Nm ng_rfc1490 .Nd RFC 1490 netgraph node type .Sh SYNOPSIS -.Fd #include <netgraph/ng_rfc1490.h> +.In netgraph/ng_rfc1490.h .Sh DESCRIPTION The .Nm rfc1490 diff --git a/share/man/man4/ng_socket.4 b/share/man/man4/ng_socket.4 index dc53d88..6053ff1 100644 --- a/share/man/man4/ng_socket.4 +++ b/share/man/man4/ng_socket.4 @@ -42,8 +42,8 @@ .Nm ng_socket .Nd netgraph socket node type .Sh SYNOPSIS -.Fd #include <netgraph/ng_message.h> -.Fd #include <netgraph/ng_socket.h> +.In netgraph/ng_message.h +.In netgraph/ng_socket.h .Sh DESCRIPTION A .Nm socket diff --git a/share/man/man4/ng_split.4 b/share/man/man4/ng_split.4 index 5a62944..d0e6ba6 100644 --- a/share/man/man4/ng_split.4 +++ b/share/man/man4/ng_split.4 @@ -41,7 +41,7 @@ .Nm ng_split .Nd netgraph node to separate incoming and outgoing flows .Sh SYNOPSIS -.Fd #include <netgraph/ng_split.h> +.In netgraph/ng_split.h .Sh DESCRIPTION The .Nm split diff --git a/share/man/man4/ng_tee.4 b/share/man/man4/ng_tee.4 index 3af948c..b327ff9 100644 --- a/share/man/man4/ng_tee.4 +++ b/share/man/man4/ng_tee.4 @@ -42,7 +42,7 @@ .Nm ng_tee .Nd netgraph ``tee'' node type .Sh SYNOPSIS -.Fd #include <netgraph/ng_tee.h> +.In netgraph/ng_tee.h .Sh DESCRIPTION The .Nm tee diff --git a/share/man/man4/ng_tty.4 b/share/man/man4/ng_tty.4 index 98e3389..e0a1bc2 100644 --- a/share/man/man4/ng_tty.4 +++ b/share/man/man4/ng_tty.4 @@ -42,9 +42,9 @@ .Nm ng_tty .Nd netgraph node type that is also a line discipline .Sh SYNOPSIS -.Fd #include <sys/ttycom.h> -.Fd #include <netgraph/ng_message.h> -.Fd #include <netgraph/ng_tty.h> +.In sys/ttycom.h +.In netgraph/ng_message.h +.In netgraph/ng_tty.h .Sh DESCRIPTION The .Nm tty diff --git a/share/man/man4/ng_vjc.4 b/share/man/man4/ng_vjc.4 index dccf642..8a7bd16 100644 --- a/share/man/man4/ng_vjc.4 +++ b/share/man/man4/ng_vjc.4 @@ -42,8 +42,8 @@ .Nm ng_vjc .Nd Van Jacobson compression netgraph node type .Sh SYNOPSIS -.Fd #include <net/slcompress.h> -.Fd #include <netgraph/ng_vjc.h> +.In net/slcompress.h +.In netgraph/ng_vjc.h .Sh DESCRIPTION The .Nm vjc diff --git a/share/man/man4/ppi.4 b/share/man/man4/ppi.4 index 9f19cfe..4609bfa 100644 --- a/share/man/man4/ppi.4 +++ b/share/man/man4/ppi.4 @@ -44,8 +44,8 @@ the security problems inherent with the use of the .Pa /dev/io interface. .Sh PROGRAMMING INTERFACE -.Fd #include <dev/ppbus/ppi.h> -.Fd #include <dev/ppbus/ppbconf.h> +.In dev/ppbus/ppi.h +.In dev/ppbus/ppbconf.h .Pp All I/O on the .Nm diff --git a/share/man/man4/route.4 b/share/man/man4/route.4 index 15cab83..cc9df64 100644 --- a/share/man/man4/route.4 +++ b/share/man/man4/route.4 @@ -39,11 +39,11 @@ .Nm route .Nd kernel packet forwarding database .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <sys/time.h> -.Fd #include <sys/socket.h> -.Fd #include <net/if.h> -.Fd #include <net/route.h> +.In sys/types.h +.In sys/time.h +.In sys/socket.h +.In net/if.h +.In net/route.h .Ft int .Fn socket PF_ROUTE SOCK_RAW "int family" .Sh DESCRIPTION diff --git a/share/man/man4/snp.4 b/share/man/man4/snp.4 index 8eda3bc..735c2b3 100644 --- a/share/man/man4/snp.4 +++ b/share/man/man4/snp.4 @@ -8,7 +8,7 @@ .Nm snp .Nd tty snoop interface .Sh SYNOPSIS -.Fd #include <sys/snoop.h> +.In sys/snoop.h .Ft int .Fn ioctl fd SNPSTTY &dev .Ft int diff --git a/share/man/man4/spkr.4 b/share/man/man4/spkr.4 index 6cd8c557..fac01f4 100644 --- a/share/man/man4/spkr.4 +++ b/share/man/man4/spkr.4 @@ -10,7 +10,7 @@ .Nd console speaker device driver .Sh SYNOPSIS .Cd device speaker -.Fd #include <machine/speaker.h> +.In machine/speaker.h .Sh DESCRIPTION The speaker device driver allows applications to control the PC console speaker on an diff --git a/share/man/man4/sysmouse.4 b/share/man/man4/sysmouse.4 index 6174554..e16638d 100644 --- a/share/man/man4/sysmouse.4 +++ b/share/man/man4/sysmouse.4 @@ -35,8 +35,8 @@ .\" .Nd supplies mouse data from syscons for other applications .Nd virtualized mouse driver .Sh SYNOPSIS -.Fd #include <sys/mouse.h> -.Fd #include <sys/consio.h> +.In sys/mouse.h +.In sys/consio.h .Sh DESCRIPTION The console driver, in conjunction with the mouse daemon .Xr moused 8 , diff --git a/share/man/man4/tcp.4 b/share/man/man4/tcp.4 index c91aac9..7341f98 100644 --- a/share/man/man4/tcp.4 +++ b/share/man/man4/tcp.4 @@ -39,9 +39,9 @@ .Nm tcp .Nd Internet Transmission Control Protocol .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <sys/socket.h> -.Fd #include <netinet/in.h> +.In sys/types.h +.In sys/socket.h +.In netinet/in.h .Ft int .Fn socket AF_INET SOCK_STREAM 0 .Sh DESCRIPTION diff --git a/share/man/man4/termios.4 b/share/man/man4/termios.4 index bf121a3..f07726d 100644 --- a/share/man/man4/termios.4 +++ b/share/man/man4/termios.4 @@ -39,7 +39,7 @@ .Nm termios .Nd general terminal line discipline .Sh SYNOPSIS -.Fd #include <termios.h> +.In termios.h .Sh DESCRIPTION This describes a general terminal line discipline that is supported on tty asynchronous communication ports. diff --git a/share/man/man4/ttcp.4 b/share/man/man4/ttcp.4 index 6edc059..8b624af 100644 --- a/share/man/man4/ttcp.4 +++ b/share/man/man4/ttcp.4 @@ -34,10 +34,10 @@ .Nm ttcp .Nd Transmission Control Protocol Extensions for Transactions .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <sys/socket.h> -.Fd #include <netinet/in.h> -.Fd #include <netinet/tcp.h> +.In sys/types.h +.In sys/socket.h +.In netinet/in.h +.In netinet/tcp.h .Ft int .Fn setsockopt sock IPPROTO_TCP TCP_NOPUSH &One "sizeof One" .Ft ssize_t diff --git a/share/man/man4/tty.4 b/share/man/man4/tty.4 index dde89e1..26eb366 100644 --- a/share/man/man4/tty.4 +++ b/share/man/man4/tty.4 @@ -39,7 +39,7 @@ .Nm tty .Nd general terminal interface .Sh SYNOPSIS -.Fd #include <sys/ioctl.h> +.In sys/ioctl.h .Sh DESCRIPTION This section describes the interface to the terminal drivers in the system. diff --git a/share/man/man4/udp.4 b/share/man/man4/udp.4 index 4c8c69e..1504a47 100644 --- a/share/man/man4/udp.4 +++ b/share/man/man4/udp.4 @@ -39,9 +39,9 @@ .Nm udp .Nd Internet User Datagram Protocol .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <sys/socket.h> -.Fd #include <netinet/in.h> +.In sys/types.h +.In sys/socket.h +.In netinet/in.h .Ft int .Fn socket AF_INET SOCK_DGRAM 0 .Sh DESCRIPTION diff --git a/share/man/man5/a.out.5 b/share/man/man5/a.out.5 index 027cf96..bea8370 100644 --- a/share/man/man5/a.out.5 +++ b/share/man/man5/a.out.5 @@ -42,7 +42,7 @@ .Nm a.out .Nd format of executable binary files .Sh SYNOPSIS -.Fd #include <a.out.h> +.In a.out.h .Sh DESCRIPTION The include file .Aq Pa a.out.h diff --git a/share/man/man5/acct.5 b/share/man/man5/acct.5 index ad0971d..8541081 100644 --- a/share/man/man5/acct.5 +++ b/share/man/man5/acct.5 @@ -39,8 +39,8 @@ .Nm acct .Nd execution accounting file .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <sys/acct.h> +.In sys/types.h +.In sys/acct.h .Sh DESCRIPTION The kernel maintains the following .Fa acct diff --git a/share/man/man5/core.5 b/share/man/man5/core.5 index 34cc8c8..f31f2c2 100644 --- a/share/man/man5/core.5 +++ b/share/man/man5/core.5 @@ -39,7 +39,7 @@ .Nm core .Nd memory image file format .Sh SYNOPSIS -.Fd #include <sys/param.h> +.In sys/param.h .Sh DESCRIPTION A small number of signals which cause abnormal termination of a process also cause a record of the process's in-core state to be written diff --git a/share/man/man5/dir.5 b/share/man/man5/dir.5 index a07240a..c8f598c 100644 --- a/share/man/man5/dir.5 +++ b/share/man/man5/dir.5 @@ -40,7 +40,7 @@ .Nm dirent .Nd directory file format .Sh SYNOPSIS -.Fd #include <dirent.h> +.In dirent.h .Sh DESCRIPTION Directories provide a convenient hierarchical method of grouping files while obscuring the underlying details of the storage medium. diff --git a/share/man/man5/disktab.5 b/share/man/man5/disktab.5 index 2fdbe49..0e82cf2 100644 --- a/share/man/man5/disktab.5 +++ b/share/man/man5/disktab.5 @@ -39,7 +39,7 @@ .Nm disktab .Nd disk description file .Sh SYNOPSIS -.Fd #include <disktab.h> +.In disktab.h .Sh DESCRIPTION .Nm Disktab is a simple database which describes disk geometries and diff --git a/share/man/man5/elf.5 b/share/man/man5/elf.5 index 3ef05ee..1decf55 100644 --- a/share/man/man5/elf.5 +++ b/share/man/man5/elf.5 @@ -31,7 +31,7 @@ .Nm elf .Nd format of ELF executable binary files .Sh SYNOPSIS -.Fd #include <elf.h> +.In elf.h .Sh DESCRIPTION The header file .Aq Pa elf.h diff --git a/share/man/man5/fs.5 b/share/man/man5/fs.5 index f8c5e38..9f54eae 100644 --- a/share/man/man5/fs.5 +++ b/share/man/man5/fs.5 @@ -40,13 +40,13 @@ .Nm inode .Nd format of file system volume .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <ufs/ffs/fs.h> +.In sys/param.h +.In ufs/ffs/fs.h .Pp -.Fd #include <sys/types.h> -.Fd #include <sys/lock.h> -.Fd #include <ufs/ufs/quota.h> -.Fd #include <ufs/ufs/inode.h> +.In sys/types.h +.In sys/lock.h +.In ufs/ufs/quota.h +.In ufs/ufs/inode.h .Sh DESCRIPTION The files .Aq Pa fs.h diff --git a/share/man/man5/fstab.5 b/share/man/man5/fstab.5 index 2aa625e..754554b 100644 --- a/share/man/man5/fstab.5 +++ b/share/man/man5/fstab.5 @@ -39,7 +39,7 @@ .Nm fstab .Nd static information about the filesystems .Sh SYNOPSIS -.Fd #include <fstab.h> +.In fstab.h .Sh DESCRIPTION The file .Nm diff --git a/share/man/man5/link.5 b/share/man/man5/link.5 index 3f782bb..ee9d039 100644 --- a/share/man/man5/link.5 +++ b/share/man/man5/link.5 @@ -35,9 +35,9 @@ .Nm link .Nd dynamic loader and link editor interface .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <nlist.h> -.Fd #include <link.h> +.In sys/types.h +.In nlist.h +.In link.h .Sh DESCRIPTION The include file .Aq Pa link.h diff --git a/share/man/man5/stab.5 b/share/man/man5/stab.5 index 9d71858..b2d670eb 100644 --- a/share/man/man5/stab.5 +++ b/share/man/man5/stab.5 @@ -39,7 +39,7 @@ .Nm stab .Nd symbol table types .Sh SYNOPSIS -.Fd #include <stab.h> +.In stab.h .Sh DESCRIPTION The file .Aq Pa stab.h diff --git a/share/man/man5/types.5 b/share/man/man5/types.5 index 3827dec..dfa3e89 100644 --- a/share/man/man5/types.5 +++ b/share/man/man5/types.5 @@ -39,7 +39,7 @@ .Nm types .Nd system data types .Sh SYNOPSIS -.Fd #include <sys/types.h> +.In sys/types.h .Sh DESCRIPTION The file .Pa sys/types.h diff --git a/share/man/man5/utmp.5 b/share/man/man5/utmp.5 index 0692a97..55ad9b9 100644 --- a/share/man/man5/utmp.5 +++ b/share/man/man5/utmp.5 @@ -41,8 +41,8 @@ .Nm lastlog .Nd login records .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <utmp.h> +.In sys/types.h +.In utmp.h .Sh DESCRIPTION The file .Aq Pa utmp.h diff --git a/share/man/man7/clocks.7 b/share/man/man7/clocks.7 index b88515e..018bbaa 100644 --- a/share/man/man7/clocks.7 +++ b/share/man/man7/clocks.7 @@ -34,7 +34,7 @@ .Nm clocks .Nd various system timers .Sh SYNOPSIS -.Fd #include <time.h> +.In time.h .Sh DESCRIPTION .Ql HZ is not part of the application interface in diff --git a/share/man/man9/BUS_PRINT_CHILD.9 b/share/man/man9/BUS_PRINT_CHILD.9 index f23cbd1..1f0c5d4 100644 --- a/share/man/man9/BUS_PRINT_CHILD.9 +++ b/share/man/man9/BUS_PRINT_CHILD.9 @@ -35,8 +35,8 @@ .Nm BUS_PRINT_CHILD .Nd print information about a device .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/bus.h> +.In sys/param.h +.In sys/bus.h .Ft int .Fn BUS_PRINT_CHILD "device_t dev" "device_t child" .Sh DESCRIPTION diff --git a/share/man/man9/BUS_READ_IVAR.9 b/share/man/man9/BUS_READ_IVAR.9 index 3ffc263..1fe90ee 100644 --- a/share/man/man9/BUS_READ_IVAR.9 +++ b/share/man/man9/BUS_READ_IVAR.9 @@ -36,8 +36,8 @@ .Nm BUS_WRITE_IVAR .Nd manipulate bus-specific device instance variables .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/bus.h> +.In sys/param.h +.In sys/bus.h .Ft int .Fn BUS_READ_IVAR "device_t dev" "device_t child" "int index" "uintptr_t *result" .Ft int diff --git a/share/man/man9/BUS_SETUP_INTR.9 b/share/man/man9/BUS_SETUP_INTR.9 index c7a3ed9..4a1adb1 100644 --- a/share/man/man9/BUS_SETUP_INTR.9 +++ b/share/man/man9/BUS_SETUP_INTR.9 @@ -34,8 +34,8 @@ .Nm bus_teardown_intr .Nd create, attach and teardown an interrupt handler .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/bus.h> +.In sys/param.h +.In sys/bus.h .Ft int .Fn BUS_SETUP_INTR "device_t dev" "device_t child" "struct resource *irq" "int flags" "driver_intr_t *intr" "void *arg" "void **cookiep" .Ft int diff --git a/share/man/man9/DECLARE_MODULE.9 b/share/man/man9/DECLARE_MODULE.9 index 7a4759e..2d5ebab 100644 --- a/share/man/man9/DECLARE_MODULE.9 +++ b/share/man/man9/DECLARE_MODULE.9 @@ -35,7 +35,7 @@ .Nm DECLARE_MODULE .Nd kernel module declaration macro .Sh SYNOPSIS -.Fd #include <sys/module.h> +.In sys/module.h .Fn DECLARE_MODULE "name" "moduledata_t data" "sub" "order" .Sh DESCRIPTION The diff --git a/share/man/man9/DELAY.9 b/share/man/man9/DELAY.9 index ea83fa4..e5e84dd 100644 --- a/share/man/man9/DELAY.9 +++ b/share/man/man9/DELAY.9 @@ -34,8 +34,8 @@ .Nm DELAY .Nd busy loop for an interval .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <sys/systm.h> +.In sys/types.h +.In sys/systm.h .Ft void .Fn DELAY "int delay" .Sh DESCRIPTION diff --git a/share/man/man9/DEVICE_ATTACH.9 b/share/man/man9/DEVICE_ATTACH.9 index 048cd3d..717e6f9 100644 --- a/share/man/man9/DEVICE_ATTACH.9 +++ b/share/man/man9/DEVICE_ATTACH.9 @@ -35,8 +35,8 @@ .Nm DEVICE_ATTACH .Nd attach a device .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/bus.h> +.In sys/param.h +.In sys/bus.h .Ft int .Fn DEVICE_ATTACH "device_t dev" .Sh DESCRIPTION diff --git a/share/man/man9/DEVICE_DETACH.9 b/share/man/man9/DEVICE_DETACH.9 index 175fb1a..11eb61b 100644 --- a/share/man/man9/DEVICE_DETACH.9 +++ b/share/man/man9/DEVICE_DETACH.9 @@ -35,8 +35,8 @@ .Nm DEVICE_DETACH .Nd detach a device .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/bus.h> +.In sys/param.h +.In sys/bus.h .Ft int .Fn DEVICE_DETACH "device_t dev" .Sh DESCRIPTION diff --git a/share/man/man9/DEVICE_IDENTIFY.9 b/share/man/man9/DEVICE_IDENTIFY.9 index 4981e04..d2b8b71 100644 --- a/share/man/man9/DEVICE_IDENTIFY.9 +++ b/share/man/man9/DEVICE_IDENTIFY.9 @@ -35,8 +35,8 @@ .Nm DEVICE_IDENTIFY .Nd identify a device, register it .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/bus.h> +.In sys/param.h +.In sys/bus.h .Ft void .Fn DEVICE_IDENTIFY "driver_t *driver" "device_t parent" .Sh DESCRIPTION diff --git a/share/man/man9/DEVICE_PROBE.9 b/share/man/man9/DEVICE_PROBE.9 index 4cb9e93..64c5a2d 100644 --- a/share/man/man9/DEVICE_PROBE.9 +++ b/share/man/man9/DEVICE_PROBE.9 @@ -35,8 +35,8 @@ .Nm DEVICE_PROBE .Nd probe for device existence .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/bus.h> +.In sys/param.h +.In sys/bus.h .Ft int .Fn DEVICE_PROBE "device_t dev" .Sh DESCRIPTION diff --git a/share/man/man9/DEVICE_SHUTDOWN.9 b/share/man/man9/DEVICE_SHUTDOWN.9 index c94214f..4718c3a 100644 --- a/share/man/man9/DEVICE_SHUTDOWN.9 +++ b/share/man/man9/DEVICE_SHUTDOWN.9 @@ -35,8 +35,8 @@ .Nm DEVICE_SHUTDOWN .Nd called during system shutdown .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/bus.h> +.In sys/param.h +.In sys/bus.h .Ft int .Fn DEVICE_SHUTDOWN "device_t dev" .Sh DESCRIPTION diff --git a/share/man/man9/DEV_MODULE.9 b/share/man/man9/DEV_MODULE.9 index 4d21db2..181929e 100644 --- a/share/man/man9/DEV_MODULE.9 +++ b/share/man/man9/DEV_MODULE.9 @@ -35,8 +35,8 @@ .Nm DEV_MODULE .Nd device driver module declaration macro .Sh SYNOPSIS -.Fd #include <sys/module.h> -.Fd #include <sys/conf.h> +.In sys/module.h +.In sys/conf.h .Fn DEV_MODULE "name" "modeventhand_t evh" "void *arg" .Sh DESCRIPTION The diff --git a/share/man/man9/DRIVER_MODULE.9 b/share/man/man9/DRIVER_MODULE.9 index d8b9626..e578440 100644 --- a/share/man/man9/DRIVER_MODULE.9 +++ b/share/man/man9/DRIVER_MODULE.9 @@ -35,9 +35,9 @@ .Nm DRIVER_MODULE .Nd kernel driver declaration macro .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <sys/bus.h> -.Fd #include <sys/module.h> +.In sys/types.h +.In sys/bus.h +.In sys/module.h .Fn DRIVER_MODULE name busname "driver_t driver" "devclass_t devclass" "modeventhand_t evh" "void *arg" .Fn MULTI_DRIVER_MODULE name busname "driver_t drivers[]" "devclass_t devclass" "modeventhand_t evh" "void *arg" .Sh DESCRIPTION diff --git a/share/man/man9/MD5.9 b/share/man/man9/MD5.9 index 2f15a78..d598520 100644 --- a/share/man/man9/MD5.9 +++ b/share/man/man9/MD5.9 @@ -39,8 +39,8 @@ .Nm MD5Transform .Nd message digest routines .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <sys/md5.h> +.In sys/types.h +.In sys/md5.h .Ft void .Fn MD5Init "MD5_CTX *buf" .Ft void diff --git a/share/man/man9/MODULE_DEPEND.9 b/share/man/man9/MODULE_DEPEND.9 index b175843..cd798a9 100644 --- a/share/man/man9/MODULE_DEPEND.9 +++ b/share/man/man9/MODULE_DEPEND.9 @@ -35,7 +35,7 @@ .Nm MODULE_DEPEND .Nd set kernel module dependencies .Sh SYNOPSIS -.Fd #include <sys/module.h> +.In sys/module.h .Fn MODULE_DEPEND "name" "moddepend" "int minversion" "int prefversion" "int maxversion" .Sh DESCRIPTION The diff --git a/share/man/man9/MODULE_VERSION.9 b/share/man/man9/MODULE_VERSION.9 index 72269d0..eefb3e5 100644 --- a/share/man/man9/MODULE_VERSION.9 +++ b/share/man/man9/MODULE_VERSION.9 @@ -35,7 +35,7 @@ .Nm MODULE_VERSION .Nd set kernel module version .Sh SYNOPSIS -.Fd #include <sys/module.h> +.In sys/module.h .Fn MODULE_VERSION "name" "int version" .Sh DESCRIPTION The diff --git a/share/man/man9/SYSCALL_MODULE.9 b/share/man/man9/SYSCALL_MODULE.9 index 8e72201..4265884 100644 --- a/share/man/man9/SYSCALL_MODULE.9 +++ b/share/man/man9/SYSCALL_MODULE.9 @@ -35,9 +35,9 @@ .Nm SYSCALL_MODULE .Nd syscall kernel module declaration macro .Sh SYNOPSIS -.Fd #include <sys/proc.h> -.Fd #include <sys/module.h> -.Fd #include <sys/sysent.h> +.In sys/proc.h +.In sys/module.h +.In sys/sysent.h .Fn SYSCALL_MODULE name "int *offset" "struct sysent new_sysent" "modeventhand_t evh" "void *arg" .Sh DESCRIPTION The diff --git a/share/man/man9/VFS_CHECKEXP.9 b/share/man/man9/VFS_CHECKEXP.9 index 184d7e1..502f4aa 100644 --- a/share/man/man9/VFS_CHECKEXP.9 +++ b/share/man/man9/VFS_CHECKEXP.9 @@ -31,8 +31,8 @@ .Nm VFS_CHECKEXP .Nd check if a filesystem is exported to a client .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/mount.h> +.In sys/param.h +.In sys/mount.h .Ft int .Fn VFS_CHECKEXP "struct mount *mp" "struct sockaddr *nam" "int *exflagsp" "struct ucred **credanonp" .Sh DESCRIPTION diff --git a/share/man/man9/VFS_FHTOVP.9 b/share/man/man9/VFS_FHTOVP.9 index 1f9e284..5eb5867 100644 --- a/share/man/man9/VFS_FHTOVP.9 +++ b/share/man/man9/VFS_FHTOVP.9 @@ -35,9 +35,9 @@ .Nm VFS_FHTOVP .Nd turn an NFS filehandle into a vnode .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/mount.h> -.Fd #include <sys/vnode.h> +.In sys/param.h +.In sys/mount.h +.In sys/vnode.h .Ft int .Fn VFS_FHTOVP "struct mount *mp" "struct fid *fhp" "struct vnode **vpp" .Sh DESCRIPTION diff --git a/share/man/man9/VFS_INIT.9 b/share/man/man9/VFS_INIT.9 index 3381e13..cadfe1c 100644 --- a/share/man/man9/VFS_INIT.9 +++ b/share/man/man9/VFS_INIT.9 @@ -35,9 +35,9 @@ .Nm VFS_INIT .Nd initialize a filesystem .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/mount.h> -.Fd #include <sys/vnode.h> +.In sys/param.h +.In sys/mount.h +.In sys/vnode.h .Ft int .Fn VFS_INIT .Sh DESCRIPTION diff --git a/share/man/man9/VFS_MOUNT.9 b/share/man/man9/VFS_MOUNT.9 index 5756228..44712ce 100644 --- a/share/man/man9/VFS_MOUNT.9 +++ b/share/man/man9/VFS_MOUNT.9 @@ -35,9 +35,9 @@ .Nm VFS_MOUNT .Nd mount a filesystem .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/mount.h> -.Fd #include <sys/vnode.h> +.In sys/param.h +.In sys/mount.h +.In sys/vnode.h .Ft int .Fn VFS_MOUNT "struct mount *mp" "char *path" "caddr_t data" "struct nameidata *ndp" "struct proc *p" .Sh DESCRIPTION diff --git a/share/man/man9/VFS_QUOTACTL.9 b/share/man/man9/VFS_QUOTACTL.9 index 006e622..1176730 100644 --- a/share/man/man9/VFS_QUOTACTL.9 +++ b/share/man/man9/VFS_QUOTACTL.9 @@ -35,9 +35,9 @@ .Nm VFS_QUOTACTL .Nd manipulate filesystem quotas .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/mount.h> -.Fd #include <sys/vnode.h> +.In sys/param.h +.In sys/mount.h +.In sys/vnode.h .Ft int .Fn VFS_QUOTACTL "struct mount *mp" "int cmds" "uid_t uid" "caddr_t arg" "struct proc *p" .Sh DESCRIPTION diff --git a/share/man/man9/VFS_ROOT.9 b/share/man/man9/VFS_ROOT.9 index 9c633ce..a4fc77c 100644 --- a/share/man/man9/VFS_ROOT.9 +++ b/share/man/man9/VFS_ROOT.9 @@ -35,9 +35,9 @@ .Nm VFS_ROOT .Nd return the root vnode of a filesystem .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/mount.h> -.Fd #include <sys/vnode.h> +.In sys/param.h +.In sys/mount.h +.In sys/vnode.h .Ft int .Fn VFS_ROOT "struct mount *mp" "struct vnode **vpp" .Sh DESCRIPTION diff --git a/share/man/man9/VFS_START.9 b/share/man/man9/VFS_START.9 index c327c82..58e94f8 100644 --- a/share/man/man9/VFS_START.9 +++ b/share/man/man9/VFS_START.9 @@ -35,9 +35,9 @@ .Nm VFS_START .Nd make a filesystem operational .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/mount.h> -.Fd #include <sys/vnode.h> +.In sys/param.h +.In sys/mount.h +.In sys/vnode.h .Ft int .Fn VFS_START "struct mount *mp" "int flags" "struct proc *p" .Sh DESCRIPTION diff --git a/share/man/man9/VFS_STATFS.9 b/share/man/man9/VFS_STATFS.9 index 61b9787..2e250fb 100644 --- a/share/man/man9/VFS_STATFS.9 +++ b/share/man/man9/VFS_STATFS.9 @@ -35,9 +35,9 @@ .Nm VFS_STATFS .Nd return filesystem status .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/mount.h> -.Fd #include <sys/vnode.h> +.In sys/param.h +.In sys/mount.h +.In sys/vnode.h .Ft int .Fn VFS_STATFS "struct mount *mp" "struct statfs *sbp" "struct proc *p" .Sh DESCRIPTION diff --git a/share/man/man9/VFS_SYNC.9 b/share/man/man9/VFS_SYNC.9 index d41baa4..81a20d0 100644 --- a/share/man/man9/VFS_SYNC.9 +++ b/share/man/man9/VFS_SYNC.9 @@ -35,9 +35,9 @@ .Nm VFS_SYNC .Nd flush unwritten data .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/mount.h> -.Fd #include <sys/vnode.h> +.In sys/param.h +.In sys/mount.h +.In sys/vnode.h .Ft int .Fn VFS_SYNC "struct mount *mp" "int waitfor" "struct ucred *cred" "struct proc *p" .Sh DESCRIPTION diff --git a/share/man/man9/VFS_UNMOUNT.9 b/share/man/man9/VFS_UNMOUNT.9 index 03fb7f3..a7bd560 100644 --- a/share/man/man9/VFS_UNMOUNT.9 +++ b/share/man/man9/VFS_UNMOUNT.9 @@ -35,9 +35,9 @@ .Nm VFS_UNMOUNT .Nd unmount a filesystem .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/mount.h> -.Fd #include <sys/vnode.h> +.In sys/param.h +.In sys/mount.h +.In sys/vnode.h .Ft int .Fn VFS_UNMOUNT "struct mount *mp" "int mntflags" "struct proc *p" .Sh DESCRIPTION diff --git a/share/man/man9/VFS_VGET.9 b/share/man/man9/VFS_VGET.9 index 12e5e3c..b9af8b7 100644 --- a/share/man/man9/VFS_VGET.9 +++ b/share/man/man9/VFS_VGET.9 @@ -35,9 +35,9 @@ .Nm VFS_VGET .Nd convert an inode number to a vnode .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/mount.h> -.Fd #include <sys/vnode.h> +.In sys/param.h +.In sys/mount.h +.In sys/vnode.h .Ft int .Fn VFS_VGET "struct mount *mp" "ino_t ino" "struct vnode **vpp" .Sh DESCRIPTION diff --git a/share/man/man9/VFS_VPTOFH.9 b/share/man/man9/VFS_VPTOFH.9 index ade15c0..676e230 100644 --- a/share/man/man9/VFS_VPTOFH.9 +++ b/share/man/man9/VFS_VPTOFH.9 @@ -35,9 +35,9 @@ .Nm VFS_VPTOFH .Nd turn a vnode into an NFS filehandle .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/mount.h> -.Fd #include <sys/vnode.h> +.In sys/param.h +.In sys/mount.h +.In sys/vnode.h .Ft int .Fn VFS_VPTOFH "struct vnode *vp" "struct fid *fhp" .Sh DESCRIPTION diff --git a/share/man/man9/VOP_ACCESS.9 b/share/man/man9/VOP_ACCESS.9 index d644858..b38f18d 100644 --- a/share/man/man9/VOP_ACCESS.9 +++ b/share/man/man9/VOP_ACCESS.9 @@ -36,8 +36,8 @@ .Nm VOP_ACCESS .Nd "check access permissions of a file or Unix domain socket" .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/vnode.h> +.In sys/param.h +.In sys/vnode.h .Ft int .Fn VOP_ACCESS "struct vnode *vp" "int mode" "struct ucred *cred" "struct proc *p" .Sh DESCRIPTION diff --git a/share/man/man9/VOP_ACLCHECK.9 b/share/man/man9/VOP_ACLCHECK.9 index 9d1c58d..e7473b3 100644 --- a/share/man/man9/VOP_ACLCHECK.9 +++ b/share/man/man9/VOP_ACLCHECK.9 @@ -32,9 +32,9 @@ .Nm VOP_ACLCHECK .Nd check an access control list for a vnode .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/vnode.h> -.Fd #include <sys/acl.h> +.In sys/param.h +.In sys/vnode.h +.In sys/acl.h .Ft int .Fn VOP_ACLCHECK "struct vnode *vp" "acl_type_t type" "struct acl *aclp" "struct ucred *cred" "struct proc *p" .Sh DESCRIPTION diff --git a/share/man/man9/VOP_ADVLOCK.9 b/share/man/man9/VOP_ADVLOCK.9 index f0c06fb..e402636 100644 --- a/share/man/man9/VOP_ADVLOCK.9 +++ b/share/man/man9/VOP_ADVLOCK.9 @@ -35,10 +35,10 @@ .Nm VOP_ADVLOCK .Nd advisory record locking .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/vnode.h> -.Fd #include <sys/fcntl.h> -.Fd #include <sys/lockf.h> +.In sys/param.h +.In sys/vnode.h +.In sys/fcntl.h +.In sys/lockf.h .Ft int .Fn VOP_ADVLOCK "struct vnode *vp" "caddr_t id" "int op" "struct flock *fl" "int flags" .Sh DESCRIPTION diff --git a/share/man/man9/VOP_ATTRIB.9 b/share/man/man9/VOP_ATTRIB.9 index 5f6ca19..f5477ff 100644 --- a/share/man/man9/VOP_ATTRIB.9 +++ b/share/man/man9/VOP_ATTRIB.9 @@ -36,8 +36,8 @@ .Nm VOP_SETATTR .Nd get and set attributes on a file or directory .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/vnode.h> +.In sys/param.h +.In sys/vnode.h .Ft int .Fn VOP_GETATTR "struct vnode *vp" "struct vattr *vap" "struct ucred *cred" "struct proc *p" .Ft int diff --git a/share/man/man9/VOP_BWRITE.9 b/share/man/man9/VOP_BWRITE.9 index 150e4a1..c758b59 100644 --- a/share/man/man9/VOP_BWRITE.9 +++ b/share/man/man9/VOP_BWRITE.9 @@ -35,8 +35,8 @@ .Nm VOP_BWRITE .Nd write a filesystem buffer .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/vnode.h> +.In sys/param.h +.In sys/vnode.h .Ft int .Fn VOP_BWRITE "struct vnode *vp" "struct buf *bp" .Sh DESCRIPTION diff --git a/share/man/man9/VOP_CREATE.9 b/share/man/man9/VOP_CREATE.9 index ae8d3c0..026d994 100644 --- a/share/man/man9/VOP_CREATE.9 +++ b/share/man/man9/VOP_CREATE.9 @@ -38,9 +38,9 @@ .Nm VOP_SYMLINK .Nd create a file, socket, fifo, device, directory or symlink .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/vnode.h> -.Fd #include <sys/namei.h> +.In sys/param.h +.In sys/vnode.h +.In sys/namei.h .Ft int .Fn VOP_CREATE "struct vnode *dvp" "struct vnode **vpp" "struct componentname *cnp" "struct vattr *vap" .Ft int diff --git a/share/man/man9/VOP_FSYNC.9 b/share/man/man9/VOP_FSYNC.9 index 298ea99..3319d74 100644 --- a/share/man/man9/VOP_FSYNC.9 +++ b/share/man/man9/VOP_FSYNC.9 @@ -35,8 +35,8 @@ .Nm VOP_FSYNC .Nd flush filesystem buffers for a file .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/vnode.h> +.In sys/param.h +.In sys/vnode.h .Ft int .Fn VOP_FSYNC "struct vnode *vp" "struct ucred *cred" "int waitfor" "struct proc *p" .Sh DESCRIPTION diff --git a/share/man/man9/VOP_GETACL.9 b/share/man/man9/VOP_GETACL.9 index af52fe1..8816cf5 100644 --- a/share/man/man9/VOP_GETACL.9 +++ b/share/man/man9/VOP_GETACL.9 @@ -32,9 +32,9 @@ .Nm VOP_GETACL .Nd retrieve access control list for a vnode .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/vnode.h> -.Fd #include <sys/acl.h> +.In sys/param.h +.In sys/vnode.h +.In sys/acl.h .Ft int .Fn VOP_GETACL "struct vnode *vp" "acl_type_t type" "struct acl *aclp" "struct ucred *cred" "struct proc *p" .Sh DESCRIPTION diff --git a/share/man/man9/VOP_GETEXTATTR.9 b/share/man/man9/VOP_GETEXTATTR.9 index d2ffb6f..5aaea16 100644 --- a/share/man/man9/VOP_GETEXTATTR.9 +++ b/share/man/man9/VOP_GETEXTATTR.9 @@ -32,9 +32,9 @@ .Nm VOP_GETEXTATTR .Nd retrieve named extended attribute from a vnode .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/vnode.h> -.Fd #include <sys/extattr.h> +.In sys/param.h +.In sys/vnode.h +.In sys/extattr.h .Ft int .Fn VOP_GETEXTATTR "struct vnode *vp" "int attrnamespace" "const char *name" "struct uio *uio" "struct ucred *cred" "struct proc *p" .Sh DESCRIPTION diff --git a/share/man/man9/VOP_GETPAGES.9 b/share/man/man9/VOP_GETPAGES.9 index f42a710..2fb05f0 100644 --- a/share/man/man9/VOP_GETPAGES.9 +++ b/share/man/man9/VOP_GETPAGES.9 @@ -36,9 +36,9 @@ .Nm VOP_PUTPAGES .Nd read or write VM pages from a file .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/vnode.h> -.Fd #include <vm/vm.h> +.In sys/param.h +.In sys/vnode.h +.In vm/vm.h .Ft int .Fn VOP_GETPAGES "struct vnode *vp" "vm_page_t *m" "int count" "int reqpage" "vm_ooffset_t offset" .Ft int diff --git a/share/man/man9/VOP_GETVOBJECT.9 b/share/man/man9/VOP_GETVOBJECT.9 index 09080d2..9c387cd 100644 --- a/share/man/man9/VOP_GETVOBJECT.9 +++ b/share/man/man9/VOP_GETVOBJECT.9 @@ -33,8 +33,8 @@ .Nm VOP_GETVOBJECT .Nd VM object interaction .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/vnode.h> +.In sys/param.h +.In sys/vnode.h .Ft int .Fn VOP_CREATEVOBJECT "struct vnode *vp" "struct ucred *cred" "struct proc *p" .Ft int diff --git a/share/man/man9/VOP_INACTIVE.9 b/share/man/man9/VOP_INACTIVE.9 index 2401ffb..fa2528d 100644 --- a/share/man/man9/VOP_INACTIVE.9 +++ b/share/man/man9/VOP_INACTIVE.9 @@ -36,8 +36,8 @@ .Nm VOP_RECLAIM .Nd reclaim filesystem resources 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 VOP_INACTIVE "struct vnode *vp" "struct proc *p" .Ft int diff --git a/share/man/man9/VOP_IOCTL.9 b/share/man/man9/VOP_IOCTL.9 index c22e2ac..444843b 100644 --- a/share/man/man9/VOP_IOCTL.9 +++ b/share/man/man9/VOP_IOCTL.9 @@ -35,8 +35,8 @@ .Nm VOP_IOCTL .Nd device specific control .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/vnode.h> +.In sys/param.h +.In sys/vnode.h .Ft int .Fn VOP_IOCTL "struct vnode *vp" "u_long command" "caddr_t data" "int fflag" "struct ucred *cred" "struct proc *p" .Sh DESCRIPTION diff --git a/share/man/man9/VOP_LEASE.9 b/share/man/man9/VOP_LEASE.9 index 6c14f31..315656d 100644 --- a/share/man/man9/VOP_LEASE.9 +++ b/share/man/man9/VOP_LEASE.9 @@ -35,8 +35,8 @@ .Nm VOP_LEASE .Nd "validate a vnode for a particular set of credentials and operation type" .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/mount.h> +.In sys/param.h +.In sys/mount.h .Ft int .Fn VOP_LEASE "struct vnode *vp" "struct proc *p" "struct ucred *cred" "int type" .Sh DESCRIPTION diff --git a/share/man/man9/VOP_LINK.9 b/share/man/man9/VOP_LINK.9 index 0a1d89c..60491b3 100644 --- a/share/man/man9/VOP_LINK.9 +++ b/share/man/man9/VOP_LINK.9 @@ -35,8 +35,8 @@ .Nm VOP_LINK .Nd create a new name for a file .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/vnode.h> +.In sys/param.h +.In sys/vnode.h .Ft int .Fn VOP_LINK "struct vnode *dvp" "struct vnode *vp" "struct componentname *cnp" .Sh DESCRIPTION diff --git a/share/man/man9/VOP_LOCK.9 b/share/man/man9/VOP_LOCK.9 index fc61c37..5fe2f9f 100644 --- a/share/man/man9/VOP_LOCK.9 +++ b/share/man/man9/VOP_LOCK.9 @@ -38,9 +38,9 @@ .Nm vn_lock .Nd serialize access to a vnode .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/lock.h> -.Fd #include <sys/vnode.h> +.In sys/param.h +.In sys/lock.h +.In sys/vnode.h .Ft int .Fn VOP_LOCK "struct vnode *vp" "int flags" "struct proc *p" .Ft int diff --git a/share/man/man9/VOP_LOOKUP.9 b/share/man/man9/VOP_LOOKUP.9 index 47565d5..d6c6c9e 100644 --- a/share/man/man9/VOP_LOOKUP.9 +++ b/share/man/man9/VOP_LOOKUP.9 @@ -35,9 +35,9 @@ .Nm VOP_LOOKUP .Nd lookup a component of a pathname .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/vnode.h> -.Fd #include <sys/namei.h> +.In sys/param.h +.In sys/vnode.h +.In sys/namei.h .Ft int .Fn VOP_LOOKUP "struct vnode *dvp" "struct vnode **vpp" "struct componentname *cnp" .Sh DESCRIPTION diff --git a/share/man/man9/VOP_OPENCLOSE.9 b/share/man/man9/VOP_OPENCLOSE.9 index 831af83..0760667 100644 --- a/share/man/man9/VOP_OPENCLOSE.9 +++ b/share/man/man9/VOP_OPENCLOSE.9 @@ -36,8 +36,8 @@ .Nm VOP_CLOSE .Nd open or close a file .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/vnode.h> +.In sys/param.h +.In sys/vnode.h .Ft int .Fn VOP_OPEN "struct vnode *vp" "int mode" "struct ucred *cred" "struct proc *p" .Ft int diff --git a/share/man/man9/VOP_PATHCONF.9 b/share/man/man9/VOP_PATHCONF.9 index bf6febe..04567b8 100644 --- a/share/man/man9/VOP_PATHCONF.9 +++ b/share/man/man9/VOP_PATHCONF.9 @@ -35,9 +35,9 @@ .Nm VOP_PATHCONF .Nd return POSIX pathconf information .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/vnode.h> -.Fd #include <sys/unistd.h> +.In sys/param.h +.In sys/vnode.h +.In sys/unistd.h .Ft int .Fn VOP_PATHCONF "struct vnode *vp" "int name" "int *retval" .Sh DESCRIPTION diff --git a/share/man/man9/VOP_PRINT.9 b/share/man/man9/VOP_PRINT.9 index 5eed854..80cf12c 100644 --- a/share/man/man9/VOP_PRINT.9 +++ b/share/man/man9/VOP_PRINT.9 @@ -35,8 +35,8 @@ .Nm VOP_PRINT .Nd print debugging information .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/vnode.h> +.In sys/param.h +.In sys/vnode.h .Ft int .Fn VOP_PRINT "struct vnode *vp" .Sh DESCRIPTION diff --git a/share/man/man9/VOP_RDWR.9 b/share/man/man9/VOP_RDWR.9 index 7b4ca87..545fd57 100644 --- a/share/man/man9/VOP_RDWR.9 +++ b/share/man/man9/VOP_RDWR.9 @@ -36,9 +36,9 @@ .Nm VOP_WRITE .Nd read or write a file .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/vnode.h> -.Fd #include <sys/uio.h> +.In sys/param.h +.In sys/vnode.h +.In sys/uio.h .Ft int .Fn VOP_READ "struct vnode *vp" "struct uio *uio" "int ioflag" "struct ucred *cred" .Ft int diff --git a/share/man/man9/VOP_READDIR.9 b/share/man/man9/VOP_READDIR.9 index 11a4ce0..dcbf18c 100644 --- a/share/man/man9/VOP_READDIR.9 +++ b/share/man/man9/VOP_READDIR.9 @@ -35,9 +35,9 @@ .Nm VOP_READDIR .Nd read contents of a directory .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/dirent.h> -.Fd #include <sys/vnode.h> +.In sys/param.h +.In sys/dirent.h +.In sys/vnode.h .Ft int .Fn VOP_READDIR "struct vnode *vp" "struct uio *uio" "struct ucred *cred" "int *eofflag" "int *ncookies" "u_long **cookies" .Sh DESCRIPTION diff --git a/share/man/man9/VOP_READLINK.9 b/share/man/man9/VOP_READLINK.9 index 08d847a..36e0b2c 100644 --- a/share/man/man9/VOP_READLINK.9 +++ b/share/man/man9/VOP_READLINK.9 @@ -35,9 +35,9 @@ .Nm VOP_READLINK .Nd read the target of a symbolic link .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/vnode.h> -.Fd #include <sys/uio.h> +.In sys/param.h +.In sys/vnode.h +.In sys/uio.h .Ft int .Fn VOP_READLINK "struct vnode *vp" "struct uio *uio" "struct ucred *cred" .Sh DESCRIPTION diff --git a/share/man/man9/VOP_REALLOCBLKS.9 b/share/man/man9/VOP_REALLOCBLKS.9 index c7cfd0a..c1f2a7f 100644 --- a/share/man/man9/VOP_REALLOCBLKS.9 +++ b/share/man/man9/VOP_REALLOCBLKS.9 @@ -35,8 +35,8 @@ .Nm VOP_REALLOCBLKS .Nd rearrange blocks in a file to be contiguous .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/vnode.h> +.In sys/param.h +.In sys/vnode.h .Ft int .Fn VOP_REALLOCBLKS "struct vnode *vp" "struct cluster_save *buflist" .Sh DESCRIPTION diff --git a/share/man/man9/VOP_REMOVE.9 b/share/man/man9/VOP_REMOVE.9 index 4826825..483ad69 100644 --- a/share/man/man9/VOP_REMOVE.9 +++ b/share/man/man9/VOP_REMOVE.9 @@ -36,8 +36,8 @@ .Nm VOP_RMDIR .Nd remove a file or directory .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/vnode.h> +.In sys/param.h +.In sys/vnode.h .Ft int .Fn VOP_REMOVE "struct vnode *dvp" "struct vnode *vp" "struct componentname *cnp" .Ft int diff --git a/share/man/man9/VOP_RENAME.9 b/share/man/man9/VOP_RENAME.9 index e12bd98..5fca655 100644 --- a/share/man/man9/VOP_RENAME.9 +++ b/share/man/man9/VOP_RENAME.9 @@ -35,8 +35,8 @@ .Nm VOP_RENAME .Nd rename a file .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/vnode.h> +.In sys/param.h +.In sys/vnode.h .Ft int .Fn VOP_RENAME "struct vnode *fdvp" "struct vnode *fvp" "struct componentname *fcnp" "struct vnode *tdvp" "struct vnode *tvp" "struct componentname *tcnp" .Sh DESCRIPTION diff --git a/share/man/man9/VOP_SETACL.9 b/share/man/man9/VOP_SETACL.9 index e8d724e..cf67dd4 100644 --- a/share/man/man9/VOP_SETACL.9 +++ b/share/man/man9/VOP_SETACL.9 @@ -32,9 +32,9 @@ .Nm VOP_SETACL .Nd set the access control list for a vnode .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/vnode.h> -.Fd #include <sys/acl.h> +.In sys/param.h +.In sys/vnode.h +.In sys/acl.h .Ft int .Fn VOP_SETACL "struct vnode *vp" "acl_type_t type" "struct acl *aclp" "struct ucred *cred" "struct proc *p" .Sh DESCRIPTION diff --git a/share/man/man9/VOP_SETEXTATTR.9 b/share/man/man9/VOP_SETEXTATTR.9 index 3c69b14..4826747 100644 --- a/share/man/man9/VOP_SETEXTATTR.9 +++ b/share/man/man9/VOP_SETEXTATTR.9 @@ -32,9 +32,9 @@ .Nm VOP_SETEXTATTR .Nd set named extended attribute for a vnode .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/vnode.h> -.Fd #include <sys/extattr.h> +.In sys/param.h +.In sys/vnode.h +.In sys/extattr.h .Ft int .Fn VOP_SETEXTATTR "struct vnode *vp" "int attrnamespace" "const char *name" "struct uio *uio" "struct ucred *cred" "struct proc *p" .Sh DESCRIPTION diff --git a/share/man/man9/VOP_STRATEGY.9 b/share/man/man9/VOP_STRATEGY.9 index f15d665..d020d15 100644 --- a/share/man/man9/VOP_STRATEGY.9 +++ b/share/man/man9/VOP_STRATEGY.9 @@ -35,8 +35,8 @@ .Nm VOP_STRATEGY .Nd read or write a filesystem buffer .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/vnode.h> +.In sys/param.h +.In sys/vnode.h .Ft int .Fn VOP_STRATEGY "struct vnode *vp" "struct buf *bp" .Sh DESCRIPTION diff --git a/share/man/man9/VOP_VPTOFH.9 b/share/man/man9/VOP_VPTOFH.9 index ade15c0..676e230 100644 --- a/share/man/man9/VOP_VPTOFH.9 +++ b/share/man/man9/VOP_VPTOFH.9 @@ -35,9 +35,9 @@ .Nm VFS_VPTOFH .Nd turn a vnode into an NFS filehandle .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/mount.h> -.Fd #include <sys/vnode.h> +.In sys/param.h +.In sys/mount.h +.In sys/vnode.h .Ft int .Fn VFS_VPTOFH "struct vnode *vp" "struct fid *fhp" .Sh DESCRIPTION diff --git a/share/man/man9/accept_filter.9 b/share/man/man9/accept_filter.9 index 8cf6296..80bd4e3 100644 --- a/share/man/man9/accept_filter.9 +++ b/share/man/man9/accept_filter.9 @@ -36,11 +36,11 @@ .Nm accept_filt_get .Nd filter incoming connections .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <sys/module.h> -.Fd #include <sys/socket.h> +.In sys/types.h +.In sys/module.h +.In sys/socket.h .Fd #define ACCEPT_FILTER_MOD -.Fd #include <sys/socketvar.h> +.In sys/socketvar.h .Ft int .Fn accept_filt_add "struct accept_filter *filt" .Ft int diff --git a/share/man/man9/acl.9 b/share/man/man9/acl.9 index 2cdd83a..cab533a 100644 --- a/share/man/man9/acl.9 +++ b/share/man/man9/acl.9 @@ -32,9 +32,9 @@ .Nm acl .Nd virtual file system access control lists .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/vnode.h> -.Fd #include <sys/acl.h> +.In sys/param.h +.In sys/vnode.h +.In sys/acl.h .Pp .Bd -literal typedef int acl_type_t; diff --git a/share/man/man9/at_exit.9 b/share/man/man9/at_exit.9 index 414e045..254c6e1 100644 --- a/share/man/man9/at_exit.9 +++ b/share/man/man9/at_exit.9 @@ -33,8 +33,8 @@ .Nm rm_at_exit .Nd ask that a function be run at exit .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <sys/systm.h> +.In sys/types.h +.In sys/systm.h .Ft typedef\ void ( exitlist_fn ) ( struct\ proc\ * ) ; .Pp .Ft int diff --git a/share/man/man9/at_fork.9 b/share/man/man9/at_fork.9 index c9b87e0..98cdd20 100644 --- a/share/man/man9/at_fork.9 +++ b/share/man/man9/at_fork.9 @@ -33,8 +33,8 @@ .Nm rm_at_fork .Nd ask that a function be run at fork .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <sys/systm.h> +.In sys/types.h +.In sys/systm.h .Ft "typedef void" ( *forklist_fn ) .Fa ( "struct proc*" , "struct proc*" , int ) ; .Pp diff --git a/share/man/man9/atomic.9 b/share/man/man9/atomic.9 index d1fa820..b521bb4 100644 --- a/share/man/man9/atomic.9 +++ b/share/man/man9/atomic.9 @@ -37,8 +37,8 @@ .Nm atomic_store .Nd atomic operations .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <machine/atomic.h> +.In sys/types.h +.In machine/atomic.h .Ft void .Fn atomic_add_{acq_,rel_,}<type> "volatile <type> *p" "<type> v" .Ft void diff --git a/share/man/man9/bios.9 b/share/man/man9/bios.9 index cc7e452..31afef7 100644 --- a/share/man/man9/bios.9 +++ b/share/man/man9/bios.9 @@ -33,8 +33,8 @@ .Nm bios32 .Nd interact with PC BIOS .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <machine/pc/bios.h> +.In sys/types.h +.In machine/pc/bios.h .Ft u_int32_t .Fn bios_sigsearch "u_int32_t start" "u_char *sig" "int siglen" "int paralen" "int sigofs" .Ft int diff --git a/share/man/man9/boot.9 b/share/man/man9/boot.9 index b7d5ae1..1dfefb0 100644 --- a/share/man/man9/boot.9 +++ b/share/man/man9/boot.9 @@ -41,9 +41,9 @@ .Nm boot .Nd halt or reboot the system .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <sys/systm.h> -.Fd #include <sys/reboot.h> +.In sys/types.h +.In sys/systm.h +.In sys/reboot.h .Ft void .Fn boot "int howto" .Sh DESCRIPTION diff --git a/share/man/man9/bus_alloc_resource.9 b/share/man/man9/bus_alloc_resource.9 index 00ff890..9d862df 100644 --- a/share/man/man9/bus_alloc_resource.9 +++ b/share/man/man9/bus_alloc_resource.9 @@ -35,12 +35,12 @@ .Nm bus_alloc_resource .Nd alloc resources on a bus .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/bus.h> +.In sys/param.h +.In sys/bus.h .Pp -.Fd #include <machine/bus.h> -.Fd #include <sys/rman.h> -.Fd #include <machine/resource.h> +.In machine/bus.h +.In sys/rman.h +.In machine/resource.h .Ft struct resource * .Fn bus_alloc_resource "device_t dev" "int type" "int *rid" "u_long start" "u_long end" "u_long count" "u_int flags" .Sh DESCRIPTION diff --git a/share/man/man9/bus_generic_attach.9 b/share/man/man9/bus_generic_attach.9 index 99569ac..5b2b205 100644 --- a/share/man/man9/bus_generic_attach.9 +++ b/share/man/man9/bus_generic_attach.9 @@ -37,8 +37,8 @@ .Dv DEVICE_ATTACH for busses .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/bus.h> +.In sys/param.h +.In sys/bus.h .Ft int .Fn bus_generic_attach "device_t dev" .Sh DESCRIPTION diff --git a/share/man/man9/bus_generic_detach.9 b/share/man/man9/bus_generic_detach.9 index 5703f4a..76ce99d 100644 --- a/share/man/man9/bus_generic_detach.9 +++ b/share/man/man9/bus_generic_detach.9 @@ -37,8 +37,8 @@ .Dv DEVICE_DETACH for busses .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/bus.h> +.In sys/param.h +.In sys/bus.h .Ft int .Fn bus_generic_detach "device_t dev" .Sh DESCRIPTION diff --git a/share/man/man9/bus_generic_map_intr.9 b/share/man/man9/bus_generic_map_intr.9 index a6bcc41..d20cc4c 100644 --- a/share/man/man9/bus_generic_map_intr.9 +++ b/share/man/man9/bus_generic_map_intr.9 @@ -37,8 +37,8 @@ .Dv BUS_MAP_INTR for busses .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/bus.h> +.In sys/param.h +.In sys/bus.h .Ft int .Fn bus_generic_map_intr "device_t dev" "device_t child" "driver_intr_t *intr" "void *arg" .Sh DESCRIPTION diff --git a/share/man/man9/bus_generic_print_child.9 b/share/man/man9/bus_generic_print_child.9 index b94cd7b..ae7780d 100644 --- a/share/man/man9/bus_generic_print_child.9 +++ b/share/man/man9/bus_generic_print_child.9 @@ -37,8 +37,8 @@ .Dv DEVICE_PRINT_CHILD for busses .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/bus.h> +.In sys/param.h +.In sys/bus.h .Ft int .Fn bus_generic_print_child "device_t dev" "device_t child" .Sh DESCRIPTION diff --git a/share/man/man9/bus_generic_read_ivar.9 b/share/man/man9/bus_generic_read_ivar.9 index a6ecf3c..100bdb0 100644 --- a/share/man/man9/bus_generic_read_ivar.9 +++ b/share/man/man9/bus_generic_read_ivar.9 @@ -40,8 +40,8 @@ and .Dv BUS_WRITE_IVAR for busses .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/bus.h> +.In sys/param.h +.In sys/bus.h .Ft int .Fn bus_generic_read_ivar "device_t dev" "device_t child" "int index" "uintptr_t *result" .Ft int diff --git a/share/man/man9/bus_generic_shutdown.9 b/share/man/man9/bus_generic_shutdown.9 index 85c9f08..d439ce5 100644 --- a/share/man/man9/bus_generic_shutdown.9 +++ b/share/man/man9/bus_generic_shutdown.9 @@ -37,8 +37,8 @@ .Dv DEVICE_SHUTDOWN for busses .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/bus.h> +.In sys/param.h +.In sys/bus.h .Ft int .Fn bus_generic_shutdown "device_t dev" .Sh DESCRIPTION diff --git a/share/man/man9/bus_release_resource.9 b/share/man/man9/bus_release_resource.9 index 1037b23..cf0afa0 100644 --- a/share/man/man9/bus_release_resource.9 +++ b/share/man/man9/bus_release_resource.9 @@ -35,12 +35,12 @@ .Nm bus_release_resource .Nd release resources on a bus .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/bus.h> +.In sys/param.h +.In sys/bus.h .Pp -.Fd #include <machine/bus.h> -.Fd #include <sys/rman.h> -.Fd #include <machine/resource.h> +.In machine/bus.h +.In sys/rman.h +.In machine/resource.h .Ft int .Fn bus_release_resource "device_t dev" "int type" "int rid" "struct resource *r" .Sh DESCRIPTION diff --git a/share/man/man9/condvar.9 b/share/man/man9/condvar.9 index 9b794aa..f6a0365 100644 --- a/share/man/man9/condvar.9 +++ b/share/man/man9/condvar.9 @@ -44,7 +44,7 @@ .Nm cv_wmesg .Nd kernel condition variable .Sh SYNOPSIS -.Fd #include <sys/condvar.h> +.In sys/condvar.h .Ft void .Fn cv_init "struct cv *cvp" "const char *desc" .Ft void diff --git a/share/man/man9/copy.9 b/share/man/man9/copy.9 index a1230d4..c82a268 100644 --- a/share/man/man9/copy.9 +++ b/share/man/man9/copy.9 @@ -45,8 +45,8 @@ .Nm copyinstr .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 diff --git a/share/man/man9/critical_enter.9 b/share/man/man9/critical_enter.9 index 2511aa1..3d75e46 100644 --- a/share/man/man9/critical_enter.9 +++ b/share/man/man9/critical_enter.9 @@ -32,8 +32,8 @@ .Nm critical_exit .Nd enter and exit a critical region .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <sys/systm.h> +.In sys/types.h +.In sys/systm.h .Ft critical_t .Fn critical_enter "void" .Ft void diff --git a/share/man/man9/devclass_add_driver.9 b/share/man/man9/devclass_add_driver.9 index e78132c..83b7cc2 100644 --- a/share/man/man9/devclass_add_driver.9 +++ b/share/man/man9/devclass_add_driver.9 @@ -37,8 +37,8 @@ .Nm devclass_find_driver .Nd manipulate the drivers in a devclass .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/bus.h> +.In sys/param.h +.In sys/bus.h .Ft int .Fn devclass_add_driver "devclass_t dc" "driver_t *driver" .Ft int diff --git a/share/man/man9/devclass_find.9 b/share/man/man9/devclass_find.9 index b097aae..7f02e47 100644 --- a/share/man/man9/devclass_find.9 +++ b/share/man/man9/devclass_find.9 @@ -35,8 +35,8 @@ .Nm devclass_find .Nd search for a devclass .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/bus.h> +.In sys/param.h +.In sys/bus.h .Ft devclass_t .Fn devclass_find "const char *classname" .Sh DESCRIPTION diff --git a/share/man/man9/devclass_get_device.9 b/share/man/man9/devclass_get_device.9 index a95f3c0..54eafb9 100644 --- a/share/man/man9/devclass_get_device.9 +++ b/share/man/man9/devclass_get_device.9 @@ -35,8 +35,8 @@ .Nm devclass_get_device .Nd translate unit number to device .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/bus.h> +.In sys/param.h +.In sys/bus.h .Ft device_t .Fn devclass_get_device "devclass_t dc" "int unit" .Sh DESCRIPTION diff --git a/share/man/man9/devclass_get_devices.9 b/share/man/man9/devclass_get_devices.9 index a5dc445..2872adc 100644 --- a/share/man/man9/devclass_get_devices.9 +++ b/share/man/man9/devclass_get_devices.9 @@ -35,8 +35,8 @@ .Nm devclass_get_devices .Nd get a list of devices in a devclass .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/bus.h> +.In sys/param.h +.In sys/bus.h .Ft int .Fn devclass_get_devices "devclass_t dc" "device_t **devlistp" "int *devcountp" .Sh DESCRIPTION diff --git a/share/man/man9/devclass_get_maxunit.9 b/share/man/man9/devclass_get_maxunit.9 index 6a66c3c..75fb90f 100644 --- a/share/man/man9/devclass_get_maxunit.9 +++ b/share/man/man9/devclass_get_maxunit.9 @@ -35,8 +35,8 @@ .Nm devclass_get_maxunit .Nd find the maximum unit number in the class .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/bus.h> +.In sys/param.h +.In sys/bus.h .Ft int .Fn devclass_get_maxunit "devclass_t dc" .Sh DESCRIPTION diff --git a/share/man/man9/devclass_get_name.9 b/share/man/man9/devclass_get_name.9 index 1fdccbe..03d9f4a 100644 --- a/share/man/man9/devclass_get_name.9 +++ b/share/man/man9/devclass_get_name.9 @@ -35,8 +35,8 @@ .Nm devclass_get_name .Nd access the name of a devclass .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/bus.h> +.In sys/param.h +.In sys/bus.h .Ft const char * .Fn devclass_get_name "devclass_t dc" .Sh DESCRIPTION diff --git a/share/man/man9/devclass_get_softc.9 b/share/man/man9/devclass_get_softc.9 index c618c03..ebe2eaa 100644 --- a/share/man/man9/devclass_get_softc.9 +++ b/share/man/man9/devclass_get_softc.9 @@ -35,8 +35,8 @@ .Nm devclass_get_softc .Nd translate unit number to driver private structure .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/bus.h> +.In sys/param.h +.In sys/bus.h .Ft void * .Fn devclass_get_softc "devclass_t dc" "int unit" .Sh DESCRIPTION diff --git a/share/man/man9/device_add_child.9 b/share/man/man9/device_add_child.9 index 1bb1a01..3c5d2e3 100644 --- a/share/man/man9/device_add_child.9 +++ b/share/man/man9/device_add_child.9 @@ -36,8 +36,8 @@ .Nm device_add_child_ordered .Nd "add a new device as a child of an existing device" .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/bus.h> +.In sys/param.h +.In sys/bus.h .Ft device_t .Fn device_add_child "device_t dev" "const char *name" "int unit" .Ft device_t diff --git a/share/man/man9/device_delete_child.9 b/share/man/man9/device_delete_child.9 index a5e9b02..cd45e42 100644 --- a/share/man/man9/device_delete_child.9 +++ b/share/man/man9/device_delete_child.9 @@ -35,8 +35,8 @@ .Nm device_delete_child .Nd delete a child from a device .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/bus.h> +.In sys/param.h +.In sys/bus.h .Ft int .Fn device_delete_child "device_t dev" "device_t child" .Sh DESCRIPTION diff --git a/share/man/man9/device_enable.9 b/share/man/man9/device_enable.9 index 75ff0aa..515d688 100644 --- a/share/man/man9/device_enable.9 +++ b/share/man/man9/device_enable.9 @@ -37,8 +37,8 @@ .Nm device_is_enabled .Nd manipulate device enabled flag .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/bus.h> +.In sys/param.h +.In sys/bus.h .Ft void .Fn device_enable "device_t dev" .Ft void diff --git a/share/man/man9/device_find_child.9 b/share/man/man9/device_find_child.9 index b8182d0..25c1abf 100644 --- a/share/man/man9/device_find_child.9 +++ b/share/man/man9/device_find_child.9 @@ -35,8 +35,8 @@ .Nm device_find_child .Nd search for a child of a device .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/bus.h> +.In sys/param.h +.In sys/bus.h .Ft device_t .Fn device_find_child "device_t dev" "const char* name" "int unit" .Sh DESCRIPTION diff --git a/share/man/man9/device_get_children.9 b/share/man/man9/device_get_children.9 index 8761d55..c9bbba8 100644 --- a/share/man/man9/device_get_children.9 +++ b/share/man/man9/device_get_children.9 @@ -35,8 +35,8 @@ .Nm device_get_children .Nd get a list of devices connected to a device .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/bus.h> +.In sys/param.h +.In sys/bus.h .Ft int .Fn device_get_children "device_t dev" "device_t **devlistp" "int *devcountp" .Sh DESCRIPTION diff --git a/share/man/man9/device_get_devclass.9 b/share/man/man9/device_get_devclass.9 index 7f01af7..60ad911 100644 --- a/share/man/man9/device_get_devclass.9 +++ b/share/man/man9/device_get_devclass.9 @@ -35,8 +35,8 @@ .Nm device_get_devclass .Nd access the devclass of a device .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/bus.h> +.In sys/param.h +.In sys/bus.h .Ft devclass_t .Fn device_get_devclass "device_t dev" .Sh DESCRIPTION diff --git a/share/man/man9/device_get_driver.9 b/share/man/man9/device_get_driver.9 index c88298a..38a54807 100644 --- a/share/man/man9/device_get_driver.9 +++ b/share/man/man9/device_get_driver.9 @@ -35,8 +35,8 @@ .Nm device_get_driver .Nd access the current driver of a device .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/bus.h> +.In sys/param.h +.In sys/bus.h .Ft driver_t * .Fn device_get_driver "device_t dev" .Sh DESCRIPTION diff --git a/share/man/man9/device_get_ivars.9 b/share/man/man9/device_get_ivars.9 index ed724e4..b934283 100644 --- a/share/man/man9/device_get_ivars.9 +++ b/share/man/man9/device_get_ivars.9 @@ -35,8 +35,8 @@ .Nm device_get_ivars .Nd access bus private variables .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/bus.h> +.In sys/param.h +.In sys/bus.h .Ft void * .Fn device_get_ivars "device_t dev" .Sh DESCRIPTION diff --git a/share/man/man9/device_get_softc.9 b/share/man/man9/device_get_softc.9 index 927676d..f180a49 100644 --- a/share/man/man9/device_get_softc.9 +++ b/share/man/man9/device_get_softc.9 @@ -35,8 +35,8 @@ .Nm device_get_softc .Nd access driver private instance variables .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/bus.h> +.In sys/param.h +.In sys/bus.h .Ft void * .Fn device_get_softc "device_t dev" .Sh DESCRIPTION diff --git a/share/man/man9/device_get_state.9 b/share/man/man9/device_get_state.9 index dfec2c6..e499336 100644 --- a/share/man/man9/device_get_state.9 +++ b/share/man/man9/device_get_state.9 @@ -38,8 +38,8 @@ .Nm device_is_alive .Nd manipulate device state .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/bus.h> +.In sys/param.h +.In sys/bus.h .Ft device_state_t .Fn device_get_state "device_t dev" .Ft void diff --git a/share/man/man9/device_get_unit.9 b/share/man/man9/device_get_unit.9 index e412c24..19018c6 100644 --- a/share/man/man9/device_get_unit.9 +++ b/share/man/man9/device_get_unit.9 @@ -35,8 +35,8 @@ .Nm device_get_unit .Nd access the unit number of a device .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/bus.h> +.In sys/param.h +.In sys/bus.h .Ft int .Fn device_get_unit "device_t dev" .Sh DESCRIPTION diff --git a/share/man/man9/device_probe_and_attach.9 b/share/man/man9/device_probe_and_attach.9 index 1a0b5d4..44ccd4e 100644 --- a/share/man/man9/device_probe_and_attach.9 +++ b/share/man/man9/device_probe_and_attach.9 @@ -35,8 +35,8 @@ .Nm device_probe_and_attach .Nd initialise a device .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/bus.h> +.In sys/param.h +.In sys/bus.h .Ft int .Fn device_probe_and_attach "device_t dev" .Sh DESCRIPTION diff --git a/share/man/man9/device_quiet.9 b/share/man/man9/device_quiet.9 index 5766970..0a3bdc0 100644 --- a/share/man/man9/device_quiet.9 +++ b/share/man/man9/device_quiet.9 @@ -37,8 +37,8 @@ .Nm device_is_quiet .Nd manipulate device quiet flag .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/bus.h> +.In sys/param.h +.In sys/bus.h .Ft void .Fn device_quiet "device_t dev" .Ft void diff --git a/share/man/man9/device_set_desc.9 b/share/man/man9/device_set_desc.9 index e2ac5f9..6ddbeab 100644 --- a/share/man/man9/device_set_desc.9 +++ b/share/man/man9/device_set_desc.9 @@ -37,8 +37,8 @@ .Nm device_get_desc .Nd access the description of a device .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/bus.h> +.In sys/param.h +.In sys/bus.h .Ft void .Fn device_set_desc "device_t dev" "const char *desc" .Ft void diff --git a/share/man/man9/device_set_flags.9 b/share/man/man9/device_set_flags.9 index ab48f6e..70bb8508 100644 --- a/share/man/man9/device_set_flags.9 +++ b/share/man/man9/device_set_flags.9 @@ -36,8 +36,8 @@ .Nm device_get_flags .Nd manipulate driver flags .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/bus.h> +.In sys/param.h +.In sys/bus.h .Ft void .Fn device_set_flags "device_t dev" "u_int32_t flags" .Ft u_int32_t diff --git a/share/man/man9/devstat.9 b/share/man/man9/devstat.9 index 2e0922e..a5d5b20 100644 --- a/share/man/man9/devstat.9 +++ b/share/man/man9/devstat.9 @@ -39,7 +39,7 @@ .Nm devstat_start_transaction .Nd kernel interface for keeping device statistics .Sh SYNOPSIS -.Fd #include <sys/devicestat.h> +.In sys/devicestat.h .Ft void .Fo devstat_add_entry .Fa "struct devstat *ds" diff --git a/share/man/man9/devtoname.9 b/share/man/man9/devtoname.9 index f88bd6f..3b9ad94 100644 --- a/share/man/man9/devtoname.9 +++ b/share/man/man9/devtoname.9 @@ -31,8 +31,8 @@ .Nm devtoname .Nd "converts dev_t data into a string indicating the device name" .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/conf.h> +.In sys/param.h +.In sys/conf.h .Ft const char * .Fn devtoname "dev_t dev" .Sh DESCRIPTION diff --git a/share/man/man9/extattr.9 b/share/man/man9/extattr.9 index 0ca12d5..70ecb11 100644 --- a/share/man/man9/extattr.9 +++ b/share/man/man9/extattr.9 @@ -32,9 +32,9 @@ .Nm extattr .Nd virtual file system named extended attributes .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/vnode.h> -.Fd #include <sys/extattr.h> +.In sys/param.h +.In sys/vnode.h +.In sys/extattr.h .Sh DESCRIPTION Named extended attributes allow additional meta-data to be associated with vnodes representing files and directories. diff --git a/share/man/man9/fetch.9 b/share/man/man9/fetch.9 index baa2028..7de3ff7 100644 --- a/share/man/man9/fetch.9 +++ b/share/man/man9/fetch.9 @@ -45,10 +45,10 @@ .Nm fuword .Nd fetch data from user-space .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <sys/time.h> -.Fd #include <sys/systm.h> -.Fd #include <sys/resourcevar.h> +.In sys/types.h +.In sys/time.h +.In sys/systm.h +.In sys/resourcevar.h .Ft int .Fn fubyte "const void *base" .Ft int diff --git a/share/man/man9/get_cyclecount.9 b/share/man/man9/get_cyclecount.9 index 1403808..bf06411 100644 --- a/share/man/man9/get_cyclecount.9 +++ b/share/man/man9/get_cyclecount.9 @@ -31,8 +31,8 @@ .Nm get_cyclecounter .Nd get the CPU's fast counter register contents .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <machine/cpu.h> +.In sys/param.h +.In machine/cpu.h .Ft u_int64_t .Fn get_cyclecounter "void" .Sh DESCRIPTION diff --git a/share/man/man9/get_cyclecounter.9 b/share/man/man9/get_cyclecounter.9 index 1403808..bf06411 100644 --- a/share/man/man9/get_cyclecounter.9 +++ b/share/man/man9/get_cyclecounter.9 @@ -31,8 +31,8 @@ .Nm get_cyclecounter .Nd get the CPU's fast counter register contents .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <machine/cpu.h> +.In sys/param.h +.In machine/cpu.h .Ft u_int64_t .Fn get_cyclecounter "void" .Sh DESCRIPTION diff --git a/share/man/man9/ifnet.9 b/share/man/man9/ifnet.9 index 8266662..6686b00 100644 --- a/share/man/man9/ifnet.9 +++ b/share/man/man9/ifnet.9 @@ -37,12 +37,12 @@ .Nm if_data .Nd kernel interfaces for manipulating network interfaces .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <sys/time.h> -.Fd #include <sys/socket.h> -.Fd #include <net/if.h> -.Fd #include <net/if_var.h> -.Fd #include <net/if_types.h> +.In sys/types.h +.In sys/time.h +.In sys/socket.h +.In net/if.h +.In net/if_var.h +.In net/if_types.h .\" .Ss "Interface manipulation functions" .Ft void diff --git a/share/man/man9/inittodr.9 b/share/man/man9/inittodr.9 index e99a58e..39dd741 100644 --- a/share/man/man9/inittodr.9 +++ b/share/man/man9/inittodr.9 @@ -38,8 +38,8 @@ .Nm inittodr .Nd initialize system time .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <sys/systm.h> +.In sys/types.h +.In sys/systm.h .Ft void .Fn inittodr "time_t base" .Sh DESCRIPTION diff --git a/share/man/man9/ithread.9 b/share/man/man9/ithread.9 index ef5e515..a062c63 100644 --- a/share/man/man9/ithread.9 +++ b/share/man/man9/ithread.9 @@ -36,8 +36,8 @@ .Nm ithread_schedule .Nd kernel interrupt threads .Sh SYNOPSIS -.Fd #include <sys/bus.h> -.Fd #include <sys/interrupt.h> +.In sys/bus.h +.In sys/interrupt.h .Ft int .Fo ithread_add_handler .Fa "struct ithd *ithread" diff --git a/share/man/man9/kernacc.9 b/share/man/man9/kernacc.9 index ee617ec..8bfc296 100644 --- a/share/man/man9/kernacc.9 +++ b/share/man/man9/kernacc.9 @@ -44,9 +44,9 @@ .Nm useracc .Nd check memory regions for accessibility .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <vm/vm.h> -.Fd #include <vm/vm_extern.h> +.In sys/types.h +.In vm/vm.h +.In vm/vm_extern.h .Ft int .Fn kernacc "caddr_t addr" "int len" "int rw" .Ft int diff --git a/share/man/man9/kobj.9 b/share/man/man9/kobj.9 index 6d89cfe..2c831cf 100644 --- a/share/man/man9/kobj.9 +++ b/share/man/man9/kobj.9 @@ -35,8 +35,8 @@ .Nm kobj .Nd a kernel object system for FreeBSD .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/kobj.h> +.In sys/param.h +.In sys/kobj.h .Ft void .Fn kobj_class_compile "kobj_class_t cls" .Ft void diff --git a/share/man/man9/kthread.9 b/share/man/man9/kthread.9 index a183bc6..873edda 100644 --- a/share/man/man9/kthread.9 +++ b/share/man/man9/kthread.9 @@ -38,7 +38,7 @@ .Nm kthread_suspend_check .Nd kernel threads .Sh SYNOPSIS -.Fd #include <sys/kthread.h> +.In sys/kthread.h .Ft void .Fn kproc_start "const void *udata" .Ft void diff --git a/share/man/man9/lock.9 b/share/man/man9/lock.9 index f65fab8..5682067 100644 --- a/share/man/man9/lock.9 +++ b/share/man/man9/lock.9 @@ -35,8 +35,8 @@ .Nm lockstatus .Nd kernel process locking .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <sys/lock.h> +.In sys/types.h +.In sys/lock.h .Ft void .Fn lockinit "struct lock *lkp" "int prio" "char *wmesg" "int timo" "int flags" .Ft int diff --git a/share/man/man9/make_dev.9 b/share/man/man9/make_dev.9 index 1c6602e..231bc75 100644 --- a/share/man/man9/make_dev.9 +++ b/share/man/man9/make_dev.9 @@ -36,8 +36,8 @@ .Vt dev_t Ns 's and DEVFS registration for devices .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <sys/conf.h> +.In sys/types.h +.In sys/conf.h .Ft dev_t .Fn make_dev "struct cdevsw *cdevsw" "int minor" "uid_t uid" "gid_t gid" "int perms" "char *fmt" ... .Ft dev_t diff --git a/share/man/man9/malloc.9 b/share/man/man9/malloc.9 index 84e5a05..c748724 100644 --- a/share/man/man9/malloc.9 +++ b/share/man/man9/malloc.9 @@ -46,8 +46,8 @@ .Nm FREE .Nd kernel memory management routines .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" "struct malloc_type *type" "int flags" .Fn MALLOC "space" "cast" "unsigned long size" "struct malloc_type *type" "int flags" diff --git a/share/man/man9/mbchain.9 b/share/man/man9/mbchain.9 index f00aa41..da49595 100644 --- a/share/man/man9/mbchain.9 +++ b/share/man/man9/mbchain.9 @@ -50,8 +50,8 @@ .Cd options LIBMCHAIN .Li kldload libmchain .Pp -.Fd #include <sys/param.h> -.Fd #include <sys/mchain.h> +.In sys/param.h +.In sys/mchain.h .Ft int .Fn mb_init "struct mbchain *mbp" .Ft void diff --git a/share/man/man9/mbuf.9 b/share/man/man9/mbuf.9 index 1cb8309..6b38564 100644 --- a/share/man/man9/mbuf.9 +++ b/share/man/man9/mbuf.9 @@ -33,8 +33,8 @@ .Nd "memory management in the kernel IPC subsystem" .\" .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/mbuf.h> +.In sys/param.h +.In sys/mbuf.h .\" .Ss Mbuf allocation macros .Fn MGET "struct mbuf *mbuf" "int how" "short type" diff --git a/share/man/man9/mdchain.9 b/share/man/man9/mdchain.9 index 8a9f102..774922d 100644 --- a/share/man/man9/mdchain.9 +++ b/share/man/man9/mdchain.9 @@ -51,8 +51,8 @@ .Cd options LIBMCHAIN .Li kldload libmchain .Pp -.Fd #include <sys/param.h> -.Fd #include <sys/mchain.h> +.In sys/param.h +.In sys/mchain.h .Ft void .Fn md_initm "struct mdchain *mdp" "struct mbuf *m" .Ft void diff --git a/share/man/man9/mi_switch.9 b/share/man/man9/mi_switch.9 index 7c11f8d..f24d477 100644 --- a/share/man/man9/mi_switch.9 +++ b/share/man/man9/mi_switch.9 @@ -45,8 +45,8 @@ .Nm cpu_throw .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 diff --git a/share/man/man9/microseq.9 b/share/man/man9/microseq.9 index a530100..69fb388 100644 --- a/share/man/man9/microseq.9 +++ b/share/man/man9/microseq.9 @@ -31,9 +31,9 @@ .Nm microseq .Nd ppbus microseqencer developer's guide .Sh SYNOPSIS -.Fd "#include <sys/types.h>" -.Fd "#include <dev/ppbus/ppbconf.h>" -.Fd "#include <dev/ppbus/ppb_msq.h>" +.In sys/types.h +.In dev/ppbus/ppbconf.h +.In dev/ppbus/ppb_msq.h .Sh DESCRIPTION See .Xr ppbus 4 diff --git a/share/man/man9/microtime.9 b/share/man/man9/microtime.9 index 5ff5667..3d59bc6 100644 --- a/share/man/man9/microtime.9 +++ b/share/man/man9/microtime.9 @@ -34,7 +34,7 @@ .Nm getnanotime .Nd get the current time .Sh SYNOPSIS -.Fd #include <sys/time.h> +.In sys/time.h .Ft void .Fn microtime "struct timeval *tv" .Ft void diff --git a/share/man/man9/microuptime.9 b/share/man/man9/microuptime.9 index 82a5574..304f205 100644 --- a/share/man/man9/microuptime.9 +++ b/share/man/man9/microuptime.9 @@ -34,7 +34,7 @@ .Nm getnanouptime .Nd get the time elapsed since boot .Sh SYNOPSIS -.Fd #include <sys/time.h> +.In sys/time.h .Ft void .Fn microuptime "struct timeval *tv" .Ft void diff --git a/share/man/man9/mutex.9 b/share/man/man9/mutex.9 index 5d6e524..84257c3 100644 --- a/share/man/man9/mutex.9 +++ b/share/man/man9/mutex.9 @@ -51,9 +51,9 @@ .Nm mtx_assert .Nd kernel synchronization primitives .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/lock.h> -.Fd #include <sys/mutex.h> +.In sys/param.h +.In sys/lock.h +.In sys/mutex.h .Ft void .Fn mtx_init "struct mtx *mutex" "const char *description" "int opts" .Ft void diff --git a/share/man/man9/namei.9 b/share/man/man9/namei.9 index 3443360..bcae3bd 100644 --- a/share/man/man9/namei.9 +++ b/share/man/man9/namei.9 @@ -40,8 +40,8 @@ .Nm NDINIT .Nd convert pathname to a pointer to a locked vnode .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <sys/namei.h> +.In sys/types.h +.In sys/namei.h .Ft int .Fn namei "struct nameidata *ndp" .Ft void diff --git a/share/man/man9/panic.9 b/share/man/man9/panic.9 index a34c61a..44333c3 100644 --- a/share/man/man9/panic.9 +++ b/share/man/man9/panic.9 @@ -38,7 +38,7 @@ .Nm panic .Nd bring down system on fatal error .Sh SYNOPSIS -.Fd #include <sys/param.h> +.In sys/param.h .Ft void .Fn panic "const char *fmt" ... .Sh DESCRIPTION diff --git a/share/man/man9/pfil.9 b/share/man/man9/pfil.9 index b663fcd..d7b3ead 100644 --- a/share/man/man9/pfil.9 +++ b/share/man/man9/pfil.9 @@ -35,10 +35,10 @@ .Nm pfil_remove_hook .Nd packet filter interface .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/mbuf.h> -.Fd #include <net/if.h> -.Fd #include <net/pfil.h> +.In sys/param.h +.In sys/mbuf.h +.In net/if.h +.In net/pfil.h .Ft struct packet_filter_hook * .Fn pfil_hook_get "int" "struct pfil_head *" .Ft void diff --git a/share/man/man9/physio.9 b/share/man/man9/physio.9 index a866bd9..c540343c 100644 --- a/share/man/man9/physio.9 +++ b/share/man/man9/physio.9 @@ -43,9 +43,9 @@ .Nm physio .Nd initiate I/O on raw devices .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/systm.h> -.Fd #include <sys/buf.h> +.In sys/param.h +.In sys/systm.h +.In sys/buf.h .Ft int .Fn physio "dev_t dev" "struct uio *uio" "int ioflag" .Sh DESCRIPTION diff --git a/share/man/man9/printf.9 b/share/man/man9/printf.9 index 67ebf4f..b3b3189 100644 --- a/share/man/man9/printf.9 +++ b/share/man/man9/printf.9 @@ -32,8 +32,8 @@ .Nm printf , uprintf , tprintf .Nd 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 .Fn printf "const char *fmt" "..." .Ft void diff --git a/share/man/man9/psignal.9 b/share/man/man9/psignal.9 index da0e993..f8e6562 100644 --- a/share/man/man9/psignal.9 +++ b/share/man/man9/psignal.9 @@ -44,8 +44,8 @@ .Nm gsignal .Nd post signal to a process or process group .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <sys/signalvar.h> +.In sys/types.h +.In sys/signalvar.h .Ft void .Fn psignal "struct proc *p" "int signum" .Ft void diff --git a/share/man/man9/random.9 b/share/man/man9/random.9 index 1e55c2c..2347cbc 100644 --- a/share/man/man9/random.9 +++ b/share/man/man9/random.9 @@ -36,7 +36,7 @@ .Nm srandom .Nd supply pseudo-random numbers .Sh SYNOPSIS -.Fd #include <sys/libkern.h> +.In sys/libkern.h .Ft void .Fn srandom "u_long seed" .Ft u_long @@ -44,7 +44,7 @@ .Ft u_int32_t .Fn arc4random "void" .Pp -.Fd #include <sys/random.h> +.In sys/random.h .Ft u_int .Fn read_random "void *buffer" "u_int count" .Sh DESCRIPTION diff --git a/share/man/man9/resettodr.9 b/share/man/man9/resettodr.9 index 73034b3..95c842a 100644 --- a/share/man/man9/resettodr.9 +++ b/share/man/man9/resettodr.9 @@ -38,8 +38,8 @@ .Nm resettodr .Nd set battery-backed clock from system time .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <sys/systm.h> +.In sys/types.h +.In sys/systm.h .Ft void .Fn resettodr "void" .Sh DESCRIPTION diff --git a/share/man/man9/resource_int_value.9 b/share/man/man9/resource_int_value.9 index 85e36ca..6c19047 100644 --- a/share/man/man9/resource_int_value.9 +++ b/share/man/man9/resource_int_value.9 @@ -35,7 +35,7 @@ .Nm resource_int_value , resource_long_value , resource_string_value .Nd get a value from the hints mechanism .Sh SYNOPSIS -.Fd #include <sys/bus.h> +.In sys/bus.h .Ft int .Fn resource_int_value "const char *name" "int unit" "const char *resname" "int *result" .Ft int diff --git a/share/man/man9/resource_query_string.9 b/share/man/man9/resource_query_string.9 index 7d753b8..8c5097e 100644 --- a/share/man/man9/resource_query_string.9 +++ b/share/man/man9/resource_query_string.9 @@ -37,7 +37,7 @@ .Dq hints database for matches .Sh SYNOPSIS -.Fd #include <sys/bus.h> +.In sys/bus.h .Ft int .Fn resource_query_string "int num" "const char *field" "const char *what" .Ft char * diff --git a/share/man/man9/rtalloc.9 b/share/man/man9/rtalloc.9 index 1c34932..b418361 100644 --- a/share/man/man9/rtalloc.9 +++ b/share/man/man9/rtalloc.9 @@ -36,9 +36,9 @@ .Nm rtalloc1 .Nd look up a route in the kernel routing table .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <sys/socket.h> -.Fd #include <net/route.h> +.In sys/types.h +.In sys/socket.h +.In net/route.h .Ft void .Fn rtalloc "struct route *ro" .Ft void diff --git a/share/man/man9/rtentry.9 b/share/man/man9/rtentry.9 index b6c732c..8ddfb0c 100644 --- a/share/man/man9/rtentry.9 +++ b/share/man/man9/rtentry.9 @@ -34,9 +34,9 @@ .Nm rtentry .Nd structure of an entry in the kernel routing table .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <sys/socket.h> -.Fd #include <net/route.h> +.In sys/types.h +.In sys/socket.h +.In net/route.h .Sh DESCRIPTION The kernel provides a common mechanism by which all protocols can store and retrieve entries from a central table of routes. Parts of this diff --git a/share/man/man9/runqueue.9 b/share/man/man9/runqueue.9 index 745b20b..2b6de88 100644 --- a/share/man/man9/runqueue.9 +++ b/share/man/man9/runqueue.9 @@ -33,8 +33,8 @@ .Nm setrunqueue .Nd manage the queue of runnable processes .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/proc.h> +.In sys/param.h +.In sys/proc.h .Vt "extern struct rq itqueues[]" ; .Vt "extern struct rq rtqueues[]" ; .Vt "extern struct rq queues[]" ; diff --git a/share/man/man9/sbuf.9 b/share/man/man9/sbuf.9 index a48d61d..8c6ffa6 100644 --- a/share/man/man9/sbuf.9 +++ b/share/man/man9/sbuf.9 @@ -47,8 +47,8 @@ .Nm sbuf_delete .Nd safe string formatting .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <sys/sbuf.h> +.In sys/types.h +.In sys/sbuf.h .Ft struct sbuf *s .Fn sbuf_new "struct sbuf *s" "char *buf" "int length" "int flags" .Ft void diff --git a/share/man/man9/scheduler.9 b/share/man/man9/scheduler.9 index 42ad34c..5d99753 100644 --- a/share/man/man9/scheduler.9 +++ b/share/man/man9/scheduler.9 @@ -39,8 +39,8 @@ .Nm updatepri .Nd perform round-robin scheduling of runnable processes .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/proc.h> +.In sys/param.h +.In sys/proc.h .Ft int .Fn curpriority_cmp "struct proc *p" .Ft void diff --git a/share/man/man9/sleep.9 b/share/man/man9/sleep.9 index 6404eb2..5328a85 100644 --- a/share/man/man9/sleep.9 +++ b/share/man/man9/sleep.9 @@ -35,9 +35,9 @@ .Nm wakeup .Nd wait for events .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/systm.h> -.Fd #include <sys/proc.h> +.In sys/param.h +.In sys/systm.h +.In sys/proc.h .Ft int .Fn tsleep "void *ident" "int priority" "const char *wmesg" "int timo" .Ft int diff --git a/share/man/man9/sleepqueue.9 b/share/man/man9/sleepqueue.9 index d944f4c..46b3988 100644 --- a/share/man/man9/sleepqueue.9 +++ b/share/man/man9/sleepqueue.9 @@ -32,8 +32,8 @@ .Nm unsleep .Nd manage the queues of sleeping processes .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/proc.h> +.In sys/param.h +.In sys/proc.h .Ft void .Fn endtsleep "void *arg" .Ft void diff --git a/share/man/man9/spl.9 b/share/man/man9/spl.9 index f7902d4..395856e9 100644 --- a/share/man/man9/spl.9 +++ b/share/man/man9/spl.9 @@ -43,8 +43,8 @@ .Nm splx .Nd manipulate interrupt priorities .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <sys/systm.h> +.In sys/types.h +.In sys/systm.h .Ft intrmask_t .Fn splbio "void" .Ft intrmask_t diff --git a/share/man/man9/store.9 b/share/man/man9/store.9 index a0eb22a..4438d84 100644 --- a/share/man/man9/store.9 +++ b/share/man/man9/store.9 @@ -45,10 +45,10 @@ .Nm suword .Nd store data to user-space .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <sys/time.h> -.Fd #include <sys/systm.h> -.Fd #include <sys/resourcevar.h> +.In sys/types.h +.In sys/time.h +.In sys/systm.h +.In sys/resourcevar.h .Ft int .Fn subyte "void *base" "int byte" .Ft int diff --git a/share/man/man9/suser.9 b/share/man/man9/suser.9 index 229ca41..2e99507 100644 --- a/share/man/man9/suser.9 +++ b/share/man/man9/suser.9 @@ -41,8 +41,8 @@ .Nm suser_xxx .Nd check if process has superuser privelige .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/systm.h> +.In sys/param.h +.In sys/systm.h .Ft int .Fn suser "const struct proc *proc" .Ft int diff --git a/share/man/man9/swi.9 b/share/man/man9/swi.9 index 097cc97a..3d6018d 100644 --- a/share/man/man9/swi.9 +++ b/share/man/man9/swi.9 @@ -32,9 +32,9 @@ .Nm swi_sched .Nd register and schedule software interrupt handlers .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/bus.h> -.Fd #include <sys/interrupt.h> +.In sys/param.h +.In sys/bus.h +.In sys/interrupt.h .Vt "extern struct ithd *tty_ithd" ; .Vt "extern struct ithd *clk_ithd" ; .Vt "extern void *net_ih" ; diff --git a/share/man/man9/sx.9 b/share/man/man9/sx.9 index 38e371a..6d6072e 100644 --- a/share/man/man9/sx.9 +++ b/share/man/man9/sx.9 @@ -43,10 +43,10 @@ .Nm sx_downgrade .Nd kernel shared/exclusive lock .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <sys/lock.h> -.Fd #include <sys/mutex.h> -.Fd #include <sys/sx.h> +.In sys/types.h +.In sys/lock.h +.In sys/mutex.h +.In sys/sx.h .Ft void .Fn sx_init "struct sx *sx" "const char *description" .Ft void diff --git a/share/man/man9/sysctl_add_oid.9 b/share/man/man9/sysctl_add_oid.9 index 032a94d..e7ff902 100644 --- a/share/man/man9/sysctl_add_oid.9 +++ b/share/man/man9/sysctl_add_oid.9 @@ -35,7 +35,7 @@ .Nm sysctl_remove_oid .Nd runtime sysctl tree manipulation .Sh SYNOPSIS -.Fd #include <sys/sysctl.h> +.In sys/sysctl.h .Ft struct sysctl_oid * .Fo sysctl_add_oid .Fa "struct sysctl_ctx_list *ctx" diff --git a/share/man/man9/sysctl_ctx_init.9 b/share/man/man9/sysctl_ctx_init.9 index 4ef04ee..3e223ad 100644 --- a/share/man/man9/sysctl_ctx_init.9 +++ b/share/man/man9/sysctl_ctx_init.9 @@ -38,8 +38,8 @@ .Nm sysctl_ctx_entry_del .Nd "sysctl context for managing dynamically created sysctl oids" .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <sys/sysctl.h> +.In sys/types.h +.In sys/sysctl.h .Ft int .Fo sysctl_ctx_init .Fa "struct sysctl_ctx_list *clist" diff --git a/share/man/man9/taskqueue.9 b/share/man/man9/taskqueue.9 index 6cbb982..adb71b6 100644 --- a/share/man/man9/taskqueue.9 +++ b/share/man/man9/taskqueue.9 @@ -35,9 +35,9 @@ .Nm taskqueue .Nd asynchronous task execution .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/queue.h> -.Fd #include <sys/taskqueue.h> +.In sys/param.h +.In sys/queue.h +.In sys/taskqueue.h .Bd -literal typedef void (*task_fn)(void *context, int pending); diff --git a/share/man/man9/timeout.9 b/share/man/man9/timeout.9 index fbf89f0..f7152a4 100644 --- a/share/man/man9/timeout.9 +++ b/share/man/man9/timeout.9 @@ -48,8 +48,8 @@ .Nm callout_reset .Nd execute a function after a specified length of time .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <sys/systm.h> +.In sys/types.h +.In sys/systm.h .Pp .Bd -literal typedef void timeout_t (void *); diff --git a/share/man/man9/tvtohz.9 b/share/man/man9/tvtohz.9 index 4512104..b8b58a5 100644 --- a/share/man/man9/tvtohz.9 +++ b/share/man/man9/tvtohz.9 @@ -31,7 +31,7 @@ .Nm tvtohz .Nd convert time interval to tick count .Sh SYNOPSIS -.Fd #include <sys/time.h> +.In sys/time.h .Ft int .Fn tvtohz "struct timeval *tv" .Sh DESCRIPTION diff --git a/share/man/man9/uio.9 b/share/man/man9/uio.9 index 64c5786..0da26c3 100644 --- a/share/man/man9/uio.9 +++ b/share/man/man9/uio.9 @@ -33,8 +33,8 @@ .Nm uiomove .Nd device driver IO routines .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <sys/uio.h> +.In sys/types.h +.In sys/uio.h .Pp .Bd -literal struct uio { diff --git a/share/man/man9/vcount.9 b/share/man/man9/vcount.9 index b77d85b..52df9ee 100644 --- a/share/man/man9/vcount.9 +++ b/share/man/man9/vcount.9 @@ -40,9 +40,9 @@ .Nm count_dev .Nd "get total number of references to a device" .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <sys/conf.h> -.Fd #include <sys/vnode.h> +.In sys/types.h +.In sys/conf.h +.In sys/vnode.h .Ft int .Fn vcount "struct vnode *vp" .Ft int diff --git a/share/man/man9/vget.9 b/share/man/man9/vget.9 index b0d4c57..b773e32 100644 --- a/share/man/man9/vget.9 +++ b/share/man/man9/vget.9 @@ -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 lockflag" "struct proc *p" .Sh DESCRIPTION diff --git a/share/man/man9/vnode.9 b/share/man/man9/vnode.9 index 2393624..f6ceebc 100644 --- a/share/man/man9/vnode.9 +++ b/share/man/man9/vnode.9 @@ -35,8 +35,8 @@ .Nm vnode .Nd internal representation of a file or directory .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <sys/vnode.h> +.In sys/param.h +.In sys/vnode.h .Pp .Bd -literal /* diff --git a/share/man/man9/vput.9 b/share/man/man9/vput.9 index 5001617..bc70a4f 100644 --- a/share/man/man9/vput.9 +++ b/share/man/man9/vput.9 @@ -35,8 +35,8 @@ .Nm vput .Nd "decrement the use 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 diff --git a/share/man/man9/vref.9 b/share/man/man9/vref.9 index c35a8ee..214a059 100644 --- a/share/man/man9/vref.9 +++ b/share/man/man9/vref.9 @@ -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 diff --git a/share/man/man9/vrele.9 b/share/man/man9/vrele.9 index 56517b5..adfe769 100644 --- a/share/man/man9/vrele.9 +++ b/share/man/man9/vrele.9 @@ -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 void .Fn vrele "struct vnode *vp" .Sh DESCRIPTION diff --git a/share/man/man9/vslock.9 b/share/man/man9/vslock.9 index 9168ade..8dfde5f 100644 --- a/share/man/man9/vslock.9 +++ b/share/man/man9/vslock.9 @@ -44,9 +44,9 @@ .Nm vsunlock .Nd lock/unlock user space addresses in memory .Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <vm/vm.h> -.Fd #include <vm/vm_extern.h> +.In sys/types.h +.In vm/vm.h +.In vm/vm_extern.h .Ft void .Fn vslock "caddr_t addr" "u_int len" .Ft void diff --git a/share/man/man9/zone.9 b/share/man/man9/zone.9 index 7458723..1cd18ca 100644 --- a/share/man/man9/zone.9 +++ b/share/man/man9/zone.9 @@ -37,8 +37,8 @@ .Nm zdestroy .Nd zone allocator .Sh SYNOPSIS -.Fd #include <sys/param.h> -.Fd #include <vm/vm_zone.h> +.In sys/param.h +.In vm/vm_zone.h .Ft void .Fn zbootinit "vm_zone_t z" "char *name" "int size" "void *item" "int nitems" .Ft int |