LDM_GET_VNUM

Section: ()
Updated: 06 October 2005
Index Return to Main Contents

 

NAME

ldm_get_vnum - Convert a variable-width, big endian number, into cpu order  

SYNOPSIS

"SYNOPSIS"

u64 ldm_get_vnum (const u8 * block);  

ARGUMENTS

block
Pointer to the variable-width number to convert
 

DESCRIPTION

Large numbers in the LDM Database are often stored in a packed format. Each number is prefixed by a one byte width marker. All numbers in the database are stored in big-endian byte order. This function reads one of these numbers and returns the result

N.B. This function DOES NOT perform any range checking, though the most it will read is eight bytes.  

RETURN

n A number 0 Zero, or an error occurred


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
RETURN

This document was created by man2html, using the manual pages.
Time: 13:31:37 GMT, October 06, 2005