diff options
author | joel <joel@FreeBSD.org> | 2012-06-05 17:46:50 +0000 |
---|---|---|
committer | joel <joel@FreeBSD.org> | 2012-06-05 17:46:50 +0000 |
commit | c6d0736c857bc8e2e8f7657ddaa654f66136ae00 (patch) | |
tree | d2fafde8791e3a58f21baeeed909ac8f484603fa /share | |
parent | 01ac590a134f67a5f27590556ebe16ca4edbdce0 (diff) | |
download | FreeBSD-src-c6d0736c857bc8e2e8f7657ddaa654f66136ae00.zip FreeBSD-src-c6d0736c857bc8e2e8f7657ddaa654f66136ae00.tar.gz |
Various mdoc fixes.
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man4/filemon.4 | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/share/man/man4/filemon.4 b/share/man/man4/filemon.4 index 9105eca..6821f22 100644 --- a/share/man/man4/filemon.4 +++ b/share/man/man4/filemon.4 @@ -93,20 +93,25 @@ R and one for W. .Sh IOCTLS -User mode programs communicate with the filemon driver through a +User mode programs communicate with the +.Nm filemon +driver through a number of ioctls which are described below. Each takes a single argument. .Bl -tag -width FILEMON_SET_PID .It Dv FILEMON_SET_FD Write the internal tracing buffer to the supplied open file descriptor. -.It Dv FILEMON_SET_PID . +.It Dv FILEMON_SET_PID Child process ID to trace. .El -.Pp .Sh RETURN VALUES The ioctl returns zero on success and non-zero on failure. +.Sh FILES +.Bl -tag -width /dev/zero +.It Pa /dev/filemon +.El .Sh EXAMPLES -.Bd -literal -offset indent +.Bd -literal #include <sys/types.h> #include <sys/stat.h> #include <sys/wait.h> @@ -152,10 +157,6 @@ Creates a file named and configures the .Nm device to write the filemon buffer contents to it. -.Sh FILES -.Bl -tag -width /dev/zero -.It Pa /dev/filemon -.El .Sh SEE ALSO .Xr dtrace 1 , .Xr ktrace 1 , |