VirtualBox

Changeset 24889 in vbox for trunk/include/iprt


Ignore:
Timestamp:
Nov 24, 2009 11:09:45 AM (15 years ago)
Author:
vboxsync
Message:

IPRT: Added RTFileQueryFsSizes.

Location:
trunk/include/iprt
Files:
2 edited

Legend:

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

    r24189 r24889  
    643643 *
    644644 * @returns iprt status code.
    645  * @returns VERR_NOT_SUPPORTED is returned if the operation isn't supported by the OS.
     645 * @retval  VERR_NOT_SUPPORTED is returned if the operation isn't supported by
     646 *          the OS.
    646647 *
    647648 * @param   File                Handle to the file.
     
    744745 */
    745746RTR3DECL(int) RTFileIoCtl(RTFILE File, int iRequest, void *pvData, unsigned cbData, int *piRet);
     747
     748/**
     749 * Query the sizes of a filesystem.
     750 *
     751 * @returns iprt status code.
     752 * @retval  VERR_NOT_SUPPORTED is returned if the operation isn't supported by
     753 *          the OS.
     754 *
     755 * @param   hFile       The file handle.
     756 * @param   pcbTotal    Where to store the total filesystem space. (Optional)
     757 * @param   pcbFree     Where to store the remaining free space in the filesystem. (Optional)
     758 * @param   pcbBlock    Where to store the block size. (Optional)
     759 * @param   pcbSector   Where to store the sector size. (Optional)
     760 *
     761 * @sa      RTFsQuerySizes
     762 */
     763RTR3DECL(int) RTFileQueryFsSizes(RTFILE hFile, PRTFOFF pcbTotal, RTFOFF *pcbFree,
     764                                 uint32_t *pcbBlock, uint32_t *pcbSector);
    746765
    747766/**
  • trunk/include/iprt/fs.h

    r20374 r24889  
    341341 * @param   pcbBlock        Where to store the block size. (Optional)
    342342 * @param   pcbSector       Where to store the sector size. (Optional)
     343 *
     344 * @sa      RTFileQueryFsSizes
    343345 */
    344346RTR3DECL(int) RTFsQuerySizes(const char *pszFsPath, PRTFOFF pcbTotal, RTFOFF *pcbFree,
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