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)NAMEdisklabel_scan -- scan a buffer for a valid disklabelLIBRARYSystem Utilities Library (libutil, -lutil)SYNOPSIS#include <util.h> int disklabel_scan(struct disklabel *lp, char *buf, size_t buflen);DESCRIPTIONdisklabel_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 VALUESThe disklabel_scan() function returns 0 if a valid disklabel was found and 1 if not.HISTORYThe disklabel_scan() function call appeared in NetBSD 2.0.BSDMay 4, 2010 BSD
| Related Man Pages |
|---|
| libutil(3) - netbsd |
| opendisk(3) - netbsd |
| setdisktab(3) - netbsd |
| newfs_sysvbfs(8) - netbsd |
| disklabel(4) - osf1 |
| Similar Topics in the Unix Linux Community |
|---|
| sorting left-justified numeric values |
| Better to Use Return Code or wc -l Output? |
| Make bold chars in UNIX |
| Grep command to show the number of results |