help with a module, please..

M. Warner Losh imp at bsdimp.com
Fri Sep 10 22:05:45 PDT 2004


In message: <20040910212926.V2370 at digital-security.org>
            vxp <vxp at digital-security.org> writes:
: static int
: load_handler(module_t mod, int what, void *arg)
: {
: 	variable declarations here..
: 
:         case MOD_LOAD:
: 		blah blah blah
:                 break;
:         case MOD_UNLOAD:
: 		blah blah blah
: 		break;
:         default:
:                 err = EINVAL;
		  err = EOPNOTSUPP;
:                 break;

Warner


More information about the freebsd-hackers mailing list