.\" 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 "NTFS_GET_NR_SIGNIFICANT_BYTES" "9" "09 October 2005" "" ""
.SH NAME
ntfs_get_nr_significant_bytes \- get number of bytes needed to store a number
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int ntfs_get_nr_significant_bytes (const s64 \fIn\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIn\fB\fR
number for which to get the number of bytes for
.SH "DESCRIPTION"
.PP
Return the number of bytes required to store \fIn\fR unambiguously as
a signed number.
.PP
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.
.PP
Return the number of bytes written. This function cannot fail.