C
typedef struct { unsigned write : 1; unsigned read : 1; unsigned FileWriteEOF : 1; } FILEFLAGS;
Description
The FILEFLAGS structure is used to indicate conditions in a file. It contains three flags: 'write' indicates that the file was opened in a mode that allows writes, 'read' indicates that the file was opened in a mode that allows reads, and 'FileWriteEOF' indicates that additional data that is written to the file will increase the file size.
Members
Members |
Description |
unsigned write : 1; |
Indicates a file was opened in a mode that allows writes |
unsigned read : 1; |
Indicates a file was opened in a mode that allows reads |
unsigned FileWriteEOF : 1; |
Indicates the current position in a file is at the end of the file |