NTFS_ATTR_SIZE_BOUNDS_CHECK

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

 

NAME

ntfs_attr_size_bounds_check - check a size of an attribute type for validity  

SYNOPSIS

"SYNOPSIS"

int ntfs_attr_size_bounds_check (const ntfs_volume * vol, const ATTR_TYPE type, const s64 size);  

ARGUMENTS

vol
ntfs volume to which the attribute belongs
type
attribute type which to check
size
size which to check
 

DESCRIPTION

Check whether the size in bytes is valid for an attribute of type on the ntfs volume vol. This information is obtained from $AttrDef system file.

Return 0 if valid, -ERANGE if not valid, or -ENOENT if the attribute is not listed in $AttrDef.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

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