Manual Page Result
0
Command: getrawpartition | Section: 3 | Source: OpenBSD | File: getrawpartition.3
GETRAWPARTITION(3) FreeBSD Library Functions Manual GETRAWPARTITION(3)
NAME
getrawpartition - get the system raw partition
SYNOPSIS
#include <util.h>
int
getrawpartition(void);
DESCRIPTION
getrawpartition() returns the partition number (`a' == 0, `b' == 1, ...)
of the "raw" partition of the system's disks. The "raw" partition is
defined as the partition which provides access to the entire disk,
regardless of the disk's partition map.
SEE ALSO
sysctl(2), getmaxpartitions(3)
HISTORY
The getrawpartition function call appeared in NetBSD 1.2.
FreeBSD 14.1-RELEASE-p8 May 15, 2019 FreeBSD 14.1-RELEASE-p8