summaryrefslogtreecommitdiffstats
path: root/share/examples/kld/syscall/test/call.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix typo.glebius2013-07-171-1/+1
| | | | Submitted by: ae
* Improve example, so that it doesn't dump core when example moduleglebius2013-07-171-2/+6
| | | | isn't loaded.
* Fix the syscall module name after r205320.kib2010-06-151-1/+1
| | | | | Submitted by: Vladislav Movchan <vladislav.movchan gmail com> MFC after: 1 week
* Small cleanup while being here:wkoszek2010-01-181-14/+5
| | | | | | | | | | - sort includes - remove usage(), since it seems to come from older version of the KLD - remove unnecessary variable - mark argc/argv as unused Bring WARNS = 5 to the Makefile.
* Include stdlib.h for exit(3) and unistd.h for syscall(2). This makeswkoszek2010-01-181-0/+2
| | | | this program to compile cleanly.
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Use modstat(2) to get the syscall number.dfr1999-01-091-6/+7
|
* Replace the misc example with a simpler syscall example using the newdfr1999-01-091-0/+53
module registration hooks for syscalls. Submitted by: Assar Westerlund <assar@sics.se>
OpenPOWER on IntegriCloud