diff --git a/share/man/man9/SYSCALL_MODULE.9 b/share/man/man9/SYSCALL_MODULE.9 index 434ea477c507..8737268151ab 100644 --- a/share/man/man9/SYSCALL_MODULE.9 +++ b/share/man/man9/SYSCALL_MODULE.9 @@ -28,7 +28,7 @@ .\" .\" $FreeBSD$ .\" -.Dd April 27, 2001 +.Dd January 7, 2005 .Dt SYSCALL_MODULE 9 .Os .Sh NAME @@ -49,25 +49,29 @@ macro declares a new syscall. expands into a kernel module declaration named as .Fa name . .Pp -.Fa offset -is a pointer to an +The rest of the arguments expected by this macro are: +.Bl -tag -width ".Fa new_sysent" +.It Fa offset +A pointer to an .Vt int which saves the offset in .Vt "struct sysent" -where the -syscall is allocated. -.Pp -.Fa new_sysent -specifies the function implementing the syscall and the number of -arguments this function needs (see +where the syscall is allocated. +.It Fa new_sysent +The function implementing the syscall and the number of arguments this +function needs (see .In sys/sysent.h ) . -.Pp -.Fa evh -is a pointer to the kernel module event handler function with the argument +.It Fa evh +A pointer to the kernel module event handler function with the argument .Fa arg . Please refer to .Xr module 9 for more information. +.It Fa arg +The argument passed to the callback functions of the +.Fa evh +event handler when it is called. +.El .Sh EXAMPLES A minimal example for a syscall module can be found in .Pa /usr/share/examples/kld/syscall/module/syscall.c .