.\" 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_CAN_BE_NON_RESIDENT" "9" "09 October 2005" "" ""
.SH NAME
ntfs_attr_can_be_non_resident \- check if an attribute can be non-resident
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int ntfs_attr_can_be_non_resident (const ntfs_volume * \fIvol\fB, const ATTR_TYPE \fItype\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
.SH "DESCRIPTION"
.PP
Check whether the attribute of \fItype\fR on the ntfs volume \fIvol\fR is allowed to
be non-resident. This information is obtained from \fB$AttrDef\fR system file.
.PP
Return 0 if the attribute is allowed to be non-resident, -EPERM if not, and
-ENOENT if the attribute is not listed in \fB$AttrDef\fR\&.