getmaxpartitions(3)
Canonical URL: /getmaxpartitions.3/
GETMAXPARTITIONS(3)
Library Functions Manual
GETMAXPARTITIONS(3)
NAME
getmaxpartitions —
get the maximum number of partitions
allowed per disk
SYNOPSIS
/* -lutil */
#include <util.h>
int
getmaxpartitions(void);
DESCRIPTION
getmaxpartitions()
returns the number of partitions that are allowed per disk on the
system.
SEE ALSO
HISTORY
The getmaxpartitions function call
appeared in NetBSD 1.2.
OpenBSD 7.9 June
6, 2025 GETMAXPARTITIONS(3)
Need conceptual guidance? Continue in the OpenBSD Handbook.