VirtualBox

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/testcase/tstRTFilesystem.cpp

    r76553 r80585  
    6060    uint64_t cbFs = 0;
    6161
    62     rc = RTVfsFileGetSize(hVfsFile, &cbFs);
     62    rc = RTVfsFileQuerySize(hVfsFile, &cbFs);
    6363    if (RT_FAILURE(rc))
    6464    {
    65         RTTestIFailed("RTVfsFileGetSize -> %Rrc", rc);
     65        RTTestIFailed("RTVfsFileQuerySize -> %Rrc", rc);
    6666        return rc;
    6767    }
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