getmaxpartitions(3) netbsd man page | unix.com

Man Page: getmaxpartitions

Operating Environment: netbsd

Section: 3

GETMAXPARTITIONS(3)					   BSD Library Functions Manual 				       GETMAXPARTITIONS(3)

NAME
getmaxpartitions -- get the maximum number of partitions allowed per disk
LIBRARY
System Utilities Library (libutil, -lutil)
SYNOPSIS
#include <util.h> int getmaxpartitions(void);
DESCRIPTION
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).
SEE ALSO
getrawpartition(3), sysctl(3)
HISTORY
The getmaxpartitions() function call appeared in NetBSD 1.2.
BSD
May 4, 2010 BSD
Related Man Pages
libutil(3) - netbsd
raise_default_signal(3) - netbsd
uname(3) - osx
expand_number(3) - freebsd
kinfo_getfile(3) - freebsd
Similar Topics in the Unix Linux Community
How to install PGX32 on Sparc 10 Ultra?
Adding a List of Times
BSD Unix Toolbox: 1000+ Commands for FreeBSD, OpenBSD, and NetBSD
Grep command to show the number of results