VirtualBox

Changeset 80585 in vbox for trunk/src/VBox/Runtime/r0drv


Ignore:
Timestamp:
Sep 4, 2019 2:05:50 PM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
133105
Message:

Runtime: Some renaming to stay consistent (*Get* always returns what is asked for while *Query* returns a status code and where to store the value on success is given as a pointer)

  • RTVfsFileGetSize -> RTVfsFileQuerySize
  • RTFileQuerySize -> RTFileQuerySizeByPath
  • RTFileGetSize -> RTFileQuerySize
  • RTFileGetSizeMaxEx -> RTFileQuerySizeMaxEx
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r0drv/darwin/fileio-r0drv-darwin.cpp

    r76553 r80585  
    236236
    237237
    238 RTDECL(int) RTFileGetSize(RTFILE hFile, uint64_t *pcbSize)
     238RTDECL(int) RTFileQuerySize(RTFILE hFile, uint64_t *pcbSize)
    239239{
    240240    RTFILEINT *pThis = hFile;
     
    288288        {
    289289            uint64_t cbFile = 0;
    290             int rc = RTFileGetSize(hFile, &cbFile);
     290            int rc = RTFileQuerySize(hFile, &cbFile);
    291291            if (RT_SUCCESS(rc))
    292292                offNew = cbFile + offSeek;
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