GETMAXPARTITIONS(3) OpenBSD Programmer's Manual GETMAXPARTITIONS(3)NAME
getmaxpartitions - get the maximum number of partitions allowed per disk
SYNOPSIS
#include <util.h>
int
getmaxpartitions(void);
DESCRIPTIONgetmaxpartitions() returns the number of partitions that are allowed per
disk on the system.
SEE ALSOgetrawpartition(3), sysctl(3)HISTORY
The getmaxpartitions function call appeared in NetBSD 1.2.
OpenBSD 4.9 June 26, 2008 OpenBSD 4.9