.TH fdisk() "" "" "Internal Kernel Routine"
.PC "Hard-disk partitioning"
\fBint fdisk(\fIdev\^\fB, \fIfp\^\fB)\fR
\fBdev_t \fIdev\^\fB; struct fdisk_s \fIfp\^\fB[4];\fR
.PP
.B fdisk()
attempts to read partitioning information from
block 0 of the hard-disk device \fIdev\fR.
If successful,
.B fdisk()
saves attributes for the four partitions in array \fIfp\fR, and returns one.
If a read error occurs or it finds an invalid signature for the partition
table, it returns zero.
.SH "See Also"
.B
internal kernel routines
.R
