👤
Home Man
Search
Today's Posts
Register

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:
Select Section of Man Page:
Select Man Page Repository:

NetBSD 6.1.5 - man page for getrawpartition (netbsd section 3)

GETRAWPARTITION(3)		   BSD Library Functions Manual 	       GETRAWPARTITION(3)

NAME
     getrawpartition -- get the system ``raw'' partition

LIBRARY
     System Utilities Library (libutil, -lutil)

SYNOPSIS
     #include <util.h>

     int
     getrawpartition(void);

DESCRIPTION
     getrawpartition() returns the partition number ( 'a' == 0, 'b' == 1, ...) of the ``raw''
     partition of the system's disks, or -1 in case of an error, setting the global errno vari-
     able.  The possible values for errno are the same as in sysctl(3).  The ``raw'' partition is
     defined as the partition which provides access to the entire disk, regardless of the disk's
     partition map.

SEE ALSO
     getmaxpartitions(3), sysctl(3)

HISTORY
     The getrawpartition() function call appeared in NetBSD 1.2.

BSD					   May 4, 2010					      BSD


All times are GMT -4. The time now is 01:54 AM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
×
UNIX.COM Login
Username:
Password:  
Show Password