SIMPLE SOLUTIONS

MODULE_VERSION(9FREEBSD) - Linux man page online | System kernel interfaces

Set kernel module version.

Chapter
March 11, 2001
MODULE_VERSION(9) BSD Kernel Developer's Manual MODULE_VERSION(9)

NAME

MODULE_VERSION — set kernel module version

SYNOPSIS

#include <sys/param.h> #include <sys/module.h> MODULE_VERSION(name, int version);

DESCRIPTION

The MODULE_VERSION() macro sets the version of the module called name. Other kernel modules can then depend on this module (see MODULE_DEPEND(9)).

EXAMPLES

MODULE_VERSION(foo, 1);

SEE ALSO

DECLARE_MODULE(9), module(9), MODULE_DEPEND(9)

AUTHORS

This manual page was written by Alexander Langer <@FreeBSD.org>.
BSD March 11, 2001 BSD
This manual Reference Other manuals
MODULE_VERSION(9freebsd) referred by khelp(9freebsd) | khelp_add_hhook(9freebsd) | KHELP_DECLARE_MOD(9freebsd) | KHELP_DECLARE_MOD_UMA(9freebsd) | khelp_destroy_osd(9freebsd) | khelp_get_id(9freebsd) | khelp_get_osd(9freebsd) | khelp_init_osd(9freebsd) | khelp_remove_hhook(9freebsd) | module(9freebsd) | MODULE_DEPEND(9freebsd)
refer to DECLARE_MODULE(9freebsd) | module(9freebsd) | MODULE_DEPEND(9freebsd)
Download raw manual
Main page BSD Kernel Developer's Manual (+1909) BSD (+3984) № 9 (+1939)
Go top