netbsd man page for disklabel_scan

Query: disklabel_scan

OS: netbsd

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

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
Related Man Pages
bounds_check_with_label(9) - netbsd
strpct(3) - netbsd
getdiskbyname_r(3) - osf1
disklabel(9) - netbsd
setdisklabel(9) - netbsd
Similar Topics in the Unix Linux Community
How to install PGX32 on Sparc 10 Ultra?
Better to Use Return Code or wc -l Output?
NetBSD 6.1.2: apm and admd not found
Adding a List of Times
BSD Unix Toolbox: 1000+ Commands for FreeBSD, OpenBSD, and NetBSD