|
CDEVSW_REMOVE(9)
Contents
|
cdevsw_remove -- removes a cdevsw entry
#include <sys/param.h>
#include <sys/conf.h>
int
cdevsw_remove(struct cdevsw *oldentry);
The cdevsw_remove() function removes oldentry from the cdevsw table if
its major number is greater than or equal to zero, and is less than
NUMCDEVSW.
Its argument is:
oldentry The device to remove from the table.
A value of 0 is returned on success; otherwise, EINVAL is returned indicating
that the major number is not in the valid range.
This man page was written by Chad David <[email protected]>.
FreeBSD 5.2.1 July 9, 2001 FreeBSD 5.2.1 [ Back ] |