diff options
author | keramida <keramida@FreeBSD.org> | 2005-01-07 09:02:40 +0000 |
---|---|---|
committer | keramida <keramida@FreeBSD.org> | 2005-01-07 09:02:40 +0000 |
commit | e5f635beeb9c28f69c1e5d615db090178f0c38ab (patch) | |
tree | 3cd604f2c114eee63e43a0a84430a4a7cdbb5152 /share | |
parent | d79468da201d203606c7e1e5fc300ff04b5138f5 (diff) | |
download | FreeBSD-src-e5f635beeb9c28f69c1e5d615db090178f0c38ab.zip FreeBSD-src-e5f635beeb9c28f69c1e5d615db090178f0c38ab.tar.gz |
Use a .Bl -tag list instead of plain .Pp paragraphs for describing the
macro arguments expected by SYSCALL_MODULE().
MFC after: 3 days
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man9/SYSCALL_MODULE.9 | 28 |
1 files changed, 16 insertions, 12 deletions
diff --git a/share/man/man9/SYSCALL_MODULE.9 b/share/man/man9/SYSCALL_MODULE.9 index 434ea47..8737268 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 . |