From a41814db5e50449ff23e98a015c50ddf6f8c679b Mon Sep 17 00:00:00 2001 From: brueffer Date: Tue, 2 Aug 2005 13:54:52 +0000 Subject: Mention that the softc is zeroed after allocation. Noticed by: sam MFC after: 3 days --- share/man/man9/device_get_softc.9 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'share') 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. -- cgit v1.1