.\" 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_WRITE_VOLUME_FLAGS" "9" "09 October 2005" "" "" .SH NAME ntfs_write_volume_flags \- write new flags to the volume information flags .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int ntfs_write_volume_flags (ntfs_volume * \fIvol\fB, const VOLUME_FLAGS \fIflags\fB); \fR .SH "ARGUMENTS" .TP \fB\fIvol\fB\fR ntfs volume on which to modify the flags .TP \fB\fIflags\fB\fR new flags value for the volume information flags .SH "DESCRIPTION" .PP Internal function. You probably want to use ntfs_{set,clear}\fB_volume_flags\fR instead (see below). .PP Replace the volume information flags on the volume \fIvol\fR with the value supplied in \fIflags\fR\&. Note, this overwrites the volume information flags, so make sure to combine the flags you want to modify with the old flags and use the result when calling \fBntfs_write_volume_flags\fR\&. .PP Return 0 on success and -errno on error.