DISKLABEL_SCAN(3)       NetBSD Library Functions Manual      DISKLABEL_SCAN(3)

NAME
     disklabel_scan -- scan a buffer for a valid disklabel

LIBRARY
     System Utilities Library (libutil, -lutil)

SYNOPSIS
     #include <util.h>

     int
     disklabel_scan(struct disklabel *lp, char *buf, size_t buflen);

DESCRIPTION
     disklabel_scan() scans the memory region specified by buf and buflen for
     a valid disklabel.  If such a label is found, it is copied into lp.

RETURN VALUES
     The disklabel_scan() function returns 0 if a valid disklabel was found
     and 1 if not.

HISTORY
     The disklabel_scan() function call appeared in NetBSD 2.0.

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