summaryrefslogtreecommitdiff
path: root/usr/src/man/man9f/mod_install.9f
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/man/man9f/mod_install.9f')
-rw-r--r--usr/src/man/man9f/mod_install.9f8
1 files changed, 1 insertions, 7 deletions
diff --git a/usr/src/man/man9f/mod_install.9f b/usr/src/man/man9f/mod_install.9f
index ea4f06916d..2165166ed4 100644
--- a/usr/src/man/man9f/mod_install.9f
+++ b/usr/src/man/man9f/mod_install.9f
@@ -34,11 +34,9 @@ loadable module
.fi
.SH INTERFACE LEVEL
-.sp
.LP
Solaris DDI specific (Solaris DDI).
.SH PARAMETERS
-.sp
.ne 2
.na
\fB\fImodlinkage\fR\fR
@@ -58,7 +56,6 @@ Pointer to the \fBmodinfo\fR structure passed to \fB_info\fR(9E).
.RE
.SH DESCRIPTION
-.sp
.LP
\fBmod_install()\fR must be called from a module's \fB_init\fR(9E) routine.
.sp
@@ -83,7 +80,7 @@ means that all \fB_init\fR(9E) initialization must occur prior to
When \fB_fini\fR(9E) is executing, another thread may call \fBattach\fR(9E)
prior to \fB_fini\fR(9E) calling \fBmod_remove()\fR. If this occurs, the
\fBmod_remove()\fR fails (non-zero return). From a programming standpoint, this
-means that \fB_init\fR(9E) initilizations should only be undone after a
+means that \fB_init\fR(9E) initializations should only be undone after a
successful return from \fBmod_remove()\fR.
.sp
.LP
@@ -92,7 +89,6 @@ driver, the module name is the same as the driver name. This function can be
used to avoid compiled-in knowledge of the module name, and is of particular
use when \fB_init\fR(9E) needs to call a function like \fBkstat_create\fR(9F).
.SH RETURN VALUES
-.sp
.LP
\fBmod_install()\fR and \fBmod_remove()\fR return \fB0\fR upon success and
non-zero on failure.
@@ -104,11 +100,9 @@ non-zero on failure.
\fBmod_modname()\fR returns the name of the module. The returned name remains
valid as long as the module remains loaded.
.SH EXAMPLES
-.sp
.LP
See \fB_init\fR(9E) for an example that uses these functions.
.SH SEE ALSO
-.sp
.LP
\fB_fini\fR(9E), \fB_info\fR(9E), \fB_init\fR(9E), \fBkstat_create\fR(9F),
\fBmodldrv\fR(9S), \fBmodlinkage\fR(9S), \fBmodlstrmod\fR(9S)