 |
Index for Section 9 |
|
 |
Alphabetical listing for D |
|
 |
Bottom of page |
|
DIOCGDINFO(9r)
NAME
DIOCGDINFO - Disk: Returns a disk label
SYNOPSIS
#include <io/common/devio.h>
#include <sys/ioctl.h>
int ioctl(
dev_t dev,
register int DIOCGDINFO,
caddr_t data,
int flag );
DESCRIPTION
The DIOCGDINFO ioctl command returns a disklabel structure to the user data
buffer. If the disk label is not valid, it returns EINVAL.
EXAMPLE
See Writing Device Drivers: Advanced Topics for an example of how a disk
device driver implements the DIOCGDINFO command.
SEE ALSO
Data Structures: disklabel(9s)
 |
Index for Section 9 |
|
 |
Alphabetical listing for D |
|
 |
Top of page |
|