History log of /freebsd-10.3-release/share/examples/kld/cdev/test/testcdev.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 296373 04-Mar-2016 marius

- Copy stable/10@296371 to releng/10.3 in preparation for 10.3-RC1
builds.
- Update newvers.sh to reflect RC1.
- Update __FreeBSD_version to reflect 10.3.
- Update default pkg(8) configuration to use the quarterly branch.

Approved by: re (implicit)

# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


# 202603 18-Jan-2010 wkoszek

Include unistd.h for read(), write() and stdlib.h for exit().
Bump WARNS to 5 while being here.


# 118385 03-Aug-2003 mbr

Fix the cdev kld example.

PR: 52954
Submitted by: Priit Piipuu <priit.piipuu@mail.ee>
Reviewed by: phk


# 69793 09-Dec-2000 obrien

Add `_PATH_DEVZERO'.
Use _PATH_* where where possible.


# 66549 02-Oct-2000 sobomax

Fix cdev kld example after it has been broken for year or so. Also extend list
of supported operations by example read() and write() operations.

Inspired by: http://www.daemonnews.org/200010/blueprints.html
PR: 16173
Submitted by: sobomax


# 48275 27-Jun-1999 dfr

* Tidy up a few things and fix some more warnings.
* Change the devsw declaration to standard form and add missing fields
* Change the filename from cdev_mod.ko to cdev.ko


# 41681 11-Dec-1998 dfr

Sample modules for KLD.

PR: misc/8621
Submitted by: Rajesh Vaidheeswarran <rv@fore.com>