VirtualBox

Ignore:
Timestamp:
Sep 4, 2019 2:05:50 PM (5 years ago)
Author:
vboxsync
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 moved

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/testcase/tstRTFileQuerySize-1.cpp

    r80584 r80585  
    11/* $Id$ */
    22/** @file
    3  * IPRT Testcase - RTFileGetSize.
     3 * IPRT Testcase - RTFileQuerySize.
    44 */
    55
     
    5858
    5959    uint64_t    cbFile = UINT64_MAX - 42;
    60     RTTESTI_CHECK_RC(rc = RTFileGetSize(hFile, &cbFile), VINF_SUCCESS);
     60    RTTESTI_CHECK_RC(rc = RTFileQuerySize(hFile, &cbFile), VINF_SUCCESS);
    6161    if (RT_SUCCESS(rc))
    6262    {
     
    7373{
    7474    RTTEST hTest;
    75     int rc = RTTestInitAndCreate("tstRTFileGetSize-1", &hTest);
     75    int rc = RTTestInitAndCreate("tstRTFileQuerySize-1", &hTest);
    7676    if (rc)
    7777        return rc;
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