VirtualBox

Changeset 26608 in vbox for trunk/include/iprt/linux


Ignore:
Timestamp:
Feb 17, 2010 12:48:33 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
57801
Message:

IPRT: linux implementation of RTSystemQueryDmiString.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/linux/sysfs.h

    r26163 r26608  
    9898 */
    9999RTDECL(ssize_t) RTLinuxSysFsReadStr(int fd, char *pszBuf, size_t cchBuf);
     100
     101/**
     102 * Reads the remainder of a file opened with RTLinuxSysFsOpen or
     103 * RTLinuxSysFsOpenV.
     104 *
     105 * @returns IPRT status code.
     106 * @param   fd          The file descriptor returned by RTLinuxSysFsOpen or RTLinuxSysFsOpenV.
     107 * @param   pvBuf       Where to store the bits from the file.
     108 * @param   cbBuf       The size of the buffer.
     109 * @param   pcbRead     Where to return the number of bytes read.  Optional.
     110 */
     111RTDECL(int) RTLinuxSysFsReadFile(int fd, void *pvBuf, size_t cbBuf, size_t *pcbRead);
    100112
    101113/**
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