VirtualBox

Changeset 21582 in vbox for trunk/include


Ignore:
Timestamp:
Jul 14, 2009 2:50:24 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
50073
Message:

IPRT: RTFILE_O_APPEND.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/file.h

    r21573 r21582  
    6666 * @remark The value 0 is invalid. */
    6767#define RTFILE_O_ACCESS_MASK        0x00000003
     68
     69/** Open file in APPEND mode, so all writes to the file handle will
     70 * append data at the end of the file.
     71 * @remark  It is ignored if write access is not requested, that is RTFILE_O_WRITE is not set.
     72 */
     73#define RTFILE_O_APPEND             0x00000004
    6874
    6975/** Sharing mode: deny none (the default mode). */
     
    138144#define RTFILE_O_ACCESS_ATTR_MASK   0x00030000
    139145
     146/** Open file for async I/O
     147 * @remark  This flag may not be needed on all platforms,
     148 *          and will be ignored on those.
     149 */
     150#define RTFILE_O_ASYNC_IO           0x00040000
     151
    140152/** Unix file mode mask for use when creating files. */
    141153#define RTFILE_O_CREATE_MODE_MASK   0x1ff00000
     
    144156 */
    145157#define RTFILE_O_CREATE_MODE_SHIFT  20
    146 /** Open file for async I/O
    147  * @remark  This flag may not be needed on all platforms,
    148  *          and will be ignored on those.
    149  */
    150 #define RTFILE_O_ASYNC_IO           0x00040000
    151158/** Disables caching.
    152159 *
     
    173180 * @remark  This doesn't validate the access mode properly.
    174181 */
    175 #define RTFILE_O_VALID_MASK         0x1ffFFB73
     182#define RTFILE_O_VALID_MASK         0x1ffFFB77
    176183
    177184/** @} */
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette