EXAMPLE(4)

NAME
example - example device driver manual page

SYNOPSIS
To compile the driver into the kernel, place the following lines in the kernel configuration file:

device example
options EXAMPLE_DEBUG

Alternatively, to load the driver as a module at boot time, place the following line in loader.conf(5):

    example_load="YES"

DESCRIPTION
This is an example device driver manual page for the example driver. It is intended that this example can be used as a template when writing a new manual page.

The example driver supports the following ioctls:

EIOCEX
    Example ioctl.

EIOCNULL
    Example ioctl.

If the kernel is compiled with the EXAMPLE_DEBUG option, then additional debugging messages will be displayed.

HARDWARE
The example driver supports the following example hardware:

•   Example device 4201
•   Example device 4202

FILES
/dev/null
    Example of a file in the FILES section.

DIAGNOSTICS

example%d: example diagnostic message. An example of a diagnostic message.

example%d: another example diagnostic message. Self explanatory.

SEE ALSO
example(1), example(3), mdoc(7), example(9)

HISTORY
The example device driver first appeared in FreeBSD 2.2.

Some other common HISTORY section examples are:

The example manual page example first appeared in 4.4BSD.

The example manual page example first appeared in AT&T UNIX.

AUTHORS
This manual page was written by Mike Pritchard <mpp@FreeBSD.org>.

BUGS
The actual code for this device driver is vaporware.