*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: getlabeloffset | Section: 3 | Source: NetBSD | File: getlabeloffset.3
GETLABELSECTOR(3) FreeBSD Library Functions Manual GETLABELSECTOR(3) NAME getlabelsector, getlabeloffset, getlabelusesmbr - get disklabel location informations LIBRARY System Utilities Library (libutil, -lutil) SYNOPSIS #include <util.h> daddr_t getlabelsector(void); off_t getlabeloffset(void); int getlabelusesmbr(void); DESCRIPTION The getlabelsector() and getlabeloffset() functions return values which describe the exact on-disk location of the disklabel(5) on the current system, or -1 on error. These functions supersede the hardcoded LABELSECTOR and LABELOFFSET definitions previously used to derive the location of the disklabel(5). The getlabelusesmbr() returns 1 if the disklabel is located inside a MBR partition, 0 if it's stored relative to the start of the disk, or -1 on error. SEE ALSO sysctl(3), disklabel(5) HISTORY The getlabelsector() and getlabeloffset() functions appeared in NetBSD 2.0. FreeBSD 14.1-RELEASE-p8 August 25, 2011 FreeBSD 14.1-RELEASE-p8

Navigation Options