VirtualBox

Changeset 86579 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Oct 14, 2020 8:53:56 PM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
140939
Message:

IPRT/sysfs.h: Added RTLinuxConstructPath and RTLinuxConstructPathV. bugref:9224

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/linux/sysfs.cpp

    r84681 r86579  
    125125{
    126126    return rtLinuxConstructPathV(pszBuf, cchBuf, "/sys/", pszFormat, va);
     127}
     128
     129
     130RTDECL(int) RTLinuxConstructPathV(char *pszPath, size_t cbPath, const char *pszFormat, va_list va)
     131{
     132    return rtLinuxSysFsConstructPath(pszPath, cbPath, pszFormat, va);
     133}
     134
     135
     136RTDECL(int) RTLinuxConstructPath(char *pszPath, size_t cbPath, const char *pszFormat, ...)
     137{
     138    va_list va;
     139    va_start(va, pszFormat);
     140    int rc = rtLinuxSysFsConstructPath(pszPath, cbPath, pszFormat, va);
     141    va_end(va);
     142    return rc;
    127143}
    128144
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette