VirtualBox

Changeset 10526 in vbox


Ignore:
Timestamp:
Jul 11, 2008 1:32:41 PM (16 years ago)
Author:
vboxsync
Message:

file mode mask to RTFileOpen.

File:
1 edited

Legend:

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

    r8925 r10526  
    122122 */
    123123#define RTFILE_O_WRITE_THROUGH      0x00008000
     124/** Unix file mode mask for use when creating files. */
     125#define RTFILE_O_CREATE_MODE_MASK   0x1ff00000
     126/** The number of bits to shift to get the file mode mask.
     127 * To extract it: (fFlags & RTFILE_O_CREATE_MODE_MASK) >> RTFILE_O_CREATE_MODE_SHIFT.
     128 */
     129#define RTFILE_O_CREATE_MODE_SHIFT  20
     130
    124131/** Mask of all valid flags.
    125132 * @remark  This doesn't validate the access mode properly.
    126133 */
    127 #define RTFILE_O_VALID_MASK         0x0000FB73
     134#define RTFILE_O_VALID_MASK          0x1ff0FB73
    128135
    129136/** @} */
Note: See TracChangeset for help on using the changeset viewer.

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