mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Mention that the softc is zeroed after allocation.
Noticed by: sam MFC after: 3 days
This commit is contained in:
parent
906507dd4c
commit
6fc6b69327
1 changed files with 3 additions and 2 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue