.\" 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_ATTR_SIZE_BOUNDS_CHECK" "9" "09 October 2005" "" "" .SH NAME ntfs_attr_size_bounds_check \- check a size of an attribute type for validity .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int ntfs_attr_size_bounds_check (const ntfs_volume * \fIvol\fB, const ATTR_TYPE \fItype\fB, const s64 \fIsize\fB); \fR .SH "ARGUMENTS" .TP \fB\fIvol\fB\fR ntfs volume to which the attribute belongs .TP \fB\fItype\fB\fR attribute type which to check .TP \fB\fIsize\fB\fR size which to check .SH "DESCRIPTION" .PP Check whether the \fIsize\fR in bytes is valid for an attribute of \fItype\fR on the ntfs volume \fIvol\fR\&. This information is obtained from \fB$AttrDef\fR system file. .PP Return 0 if valid, -ERANGE if not valid, or -ENOENT if the attribute is not listed in \fB$AttrDef\fR\&.