diff options
author | brueffer <brueffer@FreeBSD.org> | 2005-08-02 13:54:52 +0000 |
---|---|---|
committer | brueffer <brueffer@FreeBSD.org> | 2005-08-02 13:54:52 +0000 |
commit | a41814db5e50449ff23e98a015c50ddf6f8c679b (patch) | |
tree | 36039a5761132c93200e2e00d7dad0ad3bec21b6 /share | |
parent | e2f34ef2a902e5daca1c6b08949db9cbba22dd2d (diff) | |
download | FreeBSD-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.9 | 5 |
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. |