NTFS_GET_NR_SIGNIFICANT_BYTES

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

 

NAME

ntfs_get_nr_significant_bytes - get number of bytes needed to store a number  

SYNOPSIS

"SYNOPSIS"

int ntfs_get_nr_significant_bytes (const s64 n);  

ARGUMENTS

n
number for which to get the number of bytes for
 

DESCRIPTION

Return the number of bytes required to store n unambiguously as a signed number.

This is used in the context of the mapping pairs array to determine how many bytes will be needed in the array to store a given logical cluster number (lcn) or a specific run length.

Return the number of bytes written. This function cannot fail.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 00:02:33 GMT, October 09, 2005