summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorbrueffer <brueffer@FreeBSD.org>2005-08-02 13:54:52 +0000
committerbrueffer <brueffer@FreeBSD.org>2005-08-02 13:54:52 +0000
commita41814db5e50449ff23e98a015c50ddf6f8c679b (patch)
tree36039a5761132c93200e2e00d7dad0ad3bec21b6 /share
parente2f34ef2a902e5daca1c6b08949db9cbba22dd2d (diff)
downloadFreeBSD-src-a41814db5e50449ff23e98a015c50ddf6f8c679b.zip
FreeBSD-src-a41814db5e50449ff23e98a015c50ddf6f8c679b.tar.gz
Mention that the softc is zeroed after allocation.
Noticed by: sam MFC after: 3 days
Diffstat (limited to 'share')
-rw-r--r--share/man/man9/device_get_softc.95
1 files changed, 3 insertions, 2 deletions
diff --git a/share/man/man9/device_get_softc.9 b/share/man/man9/device_get_softc.9
index 8321e1a..e218115 100644
--- a/share/man/man9/device_get_softc.9
+++ b/share/man/man9/device_get_softc.9
@@ -28,7 +28,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd June 16, 1998
+.Dd August 2, 2005
.Dt DEVICE_GET_SOFTC 9
.Os
.Sh NAME
@@ -42,7 +42,8 @@
.Sh DESCRIPTION
Return the driver-specific state of
.Fa dev .
-The softc is automatically allocated the first time it is requested.
+The softc is automatically allocated and zeroed the first
+time it is requested.
The size of the allocation is determined by the device's
.Vt driver_t
information used to define the driver.
OpenPOWER on IntegriCloud