VirtualBox

Changeset 19350 in vbox for trunk/include/iprt/file.h


Ignore:
Timestamp:
May 5, 2009 2:44:04 AM (16 years ago)
Author:
vboxsync
Message:

IPRT,tstDisasm-2: defined flags for RTFileReadAllEx and RTFileReadAllHandleEx.

File:
1 edited

Legend:

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

    r19185 r19350  
    714714 * @param   cbMax           The maximum number of bytes to read into memory. Specify RTFOFF_MAX
    715715 *                          to read to the end of the file.
    716  * @param   fFlags          Flags for the future, must be 0.
     716 * @param   fFlags          See RTFILE_RDALL_*.
    717717 * @param   ppvFile         Where to store the pointer to the memory on successful return.
    718718 * @param   pcbFile         Where to store the size of the file on successful return.
     
    746746 * @param   cbMax           The maximum number of bytes to read into memory. Specify RTFOFF_MAX
    747747 *                          to read to the end of the file.
    748  * @param   fFlags          Flags for the future, must be 0.
     748 * @param   fFlags          See RTFILE_RDALL_*.
    749749 * @param   ppvFile         Where to store the pointer to the memory on successful return.
    750750 * @param   pcbFile         Where to store the size of the file on successful return.
     
    763763RTDECL(void) RTFileReadAllFree(void *pvFile, size_t cbFile);
    764764
     765/** @name RTFileReadAllEx and RTFileReadAllHandleEx flags
     766 * The open flags are ignored by RTFileReadAllHandleEx.
     767 * @{ */
     768#define RTFILE_RDALL_O_DENY_NONE            RTFILE_O_DENY_NONE
     769#define RTFILE_RDALL_O_DENY_READ            RTFILE_O_DENY_READ
     770#define RTFILE_RDALL_O_DENY_WRITE           RTFILE_O_DENY_WRITE
     771#define RTFILE_RDALL_O_DENY_READWRITE       RTFILE_O_DENY_READWRITE
     772#define RTFILE_RDALL_O_DENY_ALL             RTFILE_O_DENY_ALL
     773#define RTFILE_RDALL_O_DENY_NOT_DELETE      RTFILE_O_DENY_NOT_DELETE
     774#define RTFILE_RDALL_O_DENY_MASK            RTFILE_O_DENY_MASK
     775/** Mask of valid flags. */
     776#define RTFILE_RDALL_VALID_MASK             RTFILE_RDALL_O_DENY_MASK
     777/** @} */
    765778
    766779
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