"softc" is short for "software context", use that phrase in the

device_get_softc(9) man page.

MFC after:	1 week
This commit is contained in:
Gavin Atkinson 2015-01-21 13:48:06 +00:00
parent 8a3bbeb234
commit 459ea53d05
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=277486

View File

@ -28,7 +28,7 @@
.\" .\"
.\" $FreeBSD$ .\" $FreeBSD$
.\" .\"
.Dd August 2, 2005 .Dd January 21, 2015
.Dt DEVICE_GET_SOFTC 9 .Dt DEVICE_GET_SOFTC 9
.Os .Os
.Sh NAME .Sh NAME
@ -40,7 +40,7 @@
.Ft void * .Ft void *
.Fn device_get_softc "device_t dev" .Fn device_get_softc "device_t dev"
.Sh DESCRIPTION .Sh DESCRIPTION
Return the driver-specific state of Return the driver-specific software context of
.Fa dev . .Fa dev .
The softc is automatically allocated and zeroed when the device is The softc is automatically allocated and zeroed when the device is
attached. attached.