svn commit: r236622 - head/share/man/man4
Joel Dahl
joel at FreeBSD.org
Tue Jun 5 17:46:51 UTC 2012
Author: joel (doc committer)
Date: Tue Jun 5 17:46:50 2012
New Revision: 236622
URL: http://svn.freebsd.org/changeset/base/236622
Log:
Various mdoc fixes.
Modified:
head/share/man/man4/filemon.4
Modified: head/share/man/man4/filemon.4
==============================================================================
--- head/share/man/man4/filemon.4 Tue Jun 5 17:44:54 2012 (r236621)
+++ head/share/man/man4/filemon.4 Tue Jun 5 17:46:50 2012 (r236622)
@@ -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 ,
More information about the svn-src-all
mailing list