diff options
author | Ruslan Ermilov <ru@FreeBSD.org> | 2005-01-12 21:48:25 +0000 |
---|---|---|
committer | Ruslan Ermilov <ru@FreeBSD.org> | 2005-01-12 21:48:25 +0000 |
commit | c0854fb7b271bc41ecee43bf0a295a72a1fee859 (patch) | |
tree | 55387cdd0f8237d019daf115b9f1109b18fa54ef /share/man/man9/module.9 | |
parent | c16a777f08b568f5ccb99481aeacd6d85ae194ba (diff) | |
download | src-c0854fb7b271bc41ecee43bf0a295a72a1fee859.tar.gz src-c0854fb7b271bc41ecee43bf0a295a72a1fee859.zip |
Scheduled mdoc(7) sweep.
Notes
Notes:
svn path=/head/; revision=140140
Diffstat (limited to 'share/man/man9/module.9')
-rw-r--r-- | share/man/man9/module.9 | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/share/man/man9/module.9 b/share/man/man9/module.9 index 39b95a40fd81..eb2c68bac6d3 100644 --- a/share/man/man9/module.9 +++ b/share/man/man9/module.9 @@ -56,7 +56,8 @@ argument set to .Pp On unload it is first called with .Fa what -set to MOD_QUIESCE . +set to +.Dv MOD_QUIESCE . If the unload was not forced, a non-zero return will prevent the unload from happening. .Pp @@ -66,8 +67,14 @@ is set to .Dv MOD_UNLOAD . If the module returns non-zero to this, the unload will not happen. .Pp -The difference between MOD_QUIESCE and MOD_UNLOAD is that the module -should fail MOD_QUIESCE if it is currently in use, whereas MOD_UNLOAD +The difference between +.Dv MOD_QUIESCE +and +.Dv MOD_UNLOAD +is that the module should fail +.Dv MOD_QUIESCE +if it is currently in use, whereas +.Dv MOD_UNLOAD should only fail if it is impossible to unload the module, for instance because there are memory references to the module which cannot be revoked. .Pp @@ -76,7 +83,9 @@ When the system is shutting down, contains the value of .Dv MOD_SHUTDOWN . .Pp -The module should return EOPNOTSUPP for unrecognized values of +The module should return +.Er EOPNOTSUPP +for unrecognized values of .Fa what . .Sh EXAMPLES .Bd -literal |