MODULE_INIT(9) Driver Basics MODULE_INIT(9)NAME
module_init - driver initialization entry point
SYNOPSIS
module_init(x);
ARGUMENTS
x
function to be run at kernel boot time or module insertion
DESCRIPTION
module_init will either be called during do_initcalls (if builtin) or at module insertion time (if a module). There can only be one per
module.
COPYRIGHT Kernel Hackers Manual 3.10 June 2014 MODULE_INIT(9)
Check Out this Related Man Page
SEM(4) BSD Kernel Interfaces Manual SEM(4)NAME
sem -- POSIX semaphores
SYNOPSIS
To compile this driver into the kernel, place the following line in your kernel configuration file:
options P1003_1B_SEMAPHORES
Alternatively, to load the driver as a module at boot time, place the following line in loader.conf(5):
sem_load="YES"
To load the driver as a module at run-time, run the following command as root:
kldload sem
DESCRIPTION
The sem facility provides system calls used by the standard C library (libc) to implement POSIX semaphores. This facility offers support for
such functions as sem_init() and sem_wait(). It is available both as a kernel option for static inclusion and as a dynamic kernel module.
SEE ALSO sem_destroy(3), sem_getvalue(3), sem_init(3), sem_open(3), sem_post(3), sem_wait(3), config(8), kldload(8), kldunload(8)HISTORY
The sem facility appeared in FreeBSD 5.0.
BSD February 7, 2014 BSD