| GETMAXPARTITIONS(3) | Library Functions Manual | GETMAXPARTITIONS(3) |
getmaxpartitions —
get the maximum number of partitions allowed per
disk
System Utilities Library (libutil, -lutil)
#include
<util.h>
int
getmaxpartitions(void);
getmaxpartitions()
returns the number of partitions that are allowed per disk on the system, or
-1 in case of an error, setting the global errno
variable. The possible values for errno are the same
as in sysctl(3).
The getmaxpartitions() function call
appeared in NetBSD 1.2.
| May 4, 2010 | NetBSD 11.0 |