Unix/Linux Go Back    


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

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)


DISKLABEL_SCAN(3)		   BSD 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.

BSD					   May 4, 2010					      BSD
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums


All times are GMT -4. The time now is 04:06 AM.