.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "LDM_GET_VNUM" "" "06 October 2005" "" ""
.SH NAME
ldm_get_vnum \- Convert a variable-width, big endian number, into cpu order
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
u64 ldm_get_vnum (const u8 * \fIblock\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIblock\fB\fR
Pointer to the variable-width number to convert
.SH "DESCRIPTION"
.PP
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
.PP
N.B. This function DOES NOT perform any range checking, though the most
it will read is eight bytes.
.SH "RETURN"
.PP
n A number
0 Zero, or an error occurred