GETMAXPARTITIONS(3)

NAME
getmaxpartitions - get the maximum number of partitions allowed per disk

SYNOPSIS
libutil
#include <util.h>
int
getmaxpartitions(void);

DESCRIPTION
getmaxpartitions() returns the number of partitions that are allowed per disk on the system.

SEE ALSO
sysctl(2), getrawpartition(3)

HISTORY
The getmaxpartitions function call appeared in NetBSD 1.2.