MODULE_VERSION (9)
Leading comments
Copyright (c) 2001 Alexander Langer
All rights reserved.
This program is free software.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaim...
(The comments found at the beginning of the groff file "man9/MODULE_VERSION.9freebsd".)
NAME
MODULE_VERSION
- set kernel module version
SYNOPSIS
In sys/param.h
In sys/module.h
Fn MODULE_VERSION name int version
DESCRIPTION
The
Fn MODULE_VERSION
macro sets the version of the module called
Fa name .
Other kernel modules can then depend on this module (see
MODULE_DEPEND9).
EXAMPLES
MODULE_VERSION(foo, 1);
SEE ALSO
DECLARE_MODULE9,
module(9),
MODULE_DEPEND9
AUTHORS
An -nosplit
This manual page was written by
An Alexander Langer Aq alex@FreeBSD.org .