GETMAXPARTITIONS(3)     NetBSD 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.

NetBSD 6.0.1                      May 4, 2010                     NetBSD 6.0.1

You can also request any man page by name and (optionally) by section:

Command: 
Section: 
Architecture: 
Collection: 
 

Use the DEFAULT collection to view manual pages for third-party software.


©1994 Man-cgi 1.15, Panagiotis Christias <christia@softlab.ntua.gr>
©1996-2014 Modified for NetBSD by Kimmo Suominen