Simon has persuaded me to remove the 'sizeof (struct kinfo_drivers)' field.
This commit is contained in:
parent
2a6d948efc
commit
2f28cd113e
@ -1,4 +1,4 @@
|
||||
.\" $NetBSD: sysctl.3,v 1.121 2003/09/27 19:09:10 dsl Exp $
|
||||
.\" $NetBSD: sysctl.3,v 1.122 2003/09/28 13:18:41 dsl Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1993
|
||||
.\" The Regents of the University of California. All rights reserved.
|
||||
@ -390,13 +390,10 @@ and can be changed with the kernel configuration option
|
||||
.It Li KERN_DOMAINNAME
|
||||
Get or set the YP domain name.
|
||||
.It Li KERN_DRIVERS
|
||||
Return the character and block major numbers and names of all the device
|
||||
drivers in the kernel.
|
||||
The first int32_t is the size of a
|
||||
Return an array of
|
||||
.Va struct kinfo_drivers
|
||||
and is followed by an array of
|
||||
.Va struct kinfo_drivers
|
||||
that has one element for each driver.
|
||||
that contains the name and major device numbers of all the device drivers
|
||||
in the current kernel.
|
||||
The
|
||||
.Va d_name
|
||||
field is always a NUL terminated string.
|
||||
|
Loading…
Reference in New Issue
Block a user