VirtualBox

Changeset 70417 in vbox for trunk/src/VBox/Runtime/common/fs


Ignore:
Timestamp:
Jan 2, 2018 11:14:44 AM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
120022
Message:

IPRT: Renamed RTCmdLs to RTFsCmdLs and moved it into the runtime, leaving a main wrapper behind. Want to use it in VBoxControl for debugging purposes.

File:
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/fs/RTFsCmdLs.cpp

    r70416 r70417  
    13781378
    13791379/**
    1380  * A /bin/cat clone.
     1380 * A /bin/ls clone.
    13811381 *
    13821382 * @returns Program exit code.
     
    13861386 *                              reordered, so the memory must be writable.)
    13871387 */
    1388 RTEXITCODE RTCmdLs(unsigned cArgs, char **papszArgs)
     1388RTEXITCODE RTFsCmdLs(unsigned cArgs, char **papszArgs)
    13891389{
    13901390
     
    18331833}
    18341834
    1835 
    1836 int main(int argc, char **argv)
    1837 {
    1838     int rc = RTR3InitExe(argc, &argv, 0);
    1839     if (RT_FAILURE(rc))
    1840         return RTMsgInitFailure(rc);
    1841     return RTCmdLs(argc, argv);
    1842 }
    1843 
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