VirtualBox

Changeset 39690 in vbox for trunk/include/iprt/pipe.h


Ignore:
Timestamp:
Dec 30, 2011 1:06:50 PM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
75528
Message:

IPRT: Added RTPipeQueryReadable.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/pipe.h

    r33973 r39690  
    206206RTDECL(int) RTPipeSelectOne(RTPIPE hPipe, RTMSINTERVAL cMillies);
    207207
     208/**
     209 * Queries the number of bytes immediately available for reading.
     210 *
     211 * @returns IPRT status code.
     212 * @retval  VERR_NOT_SUPPORTED if not supported by the OS.  The caller shall
     213 *          handle this case.
     214 *
     215 * @param   hPipe           The IPRT read pipe handle.
     216 * @param   pcbReadable     Where to return the number of bytes that is ready
     217 *                          to be read.
     218 */
     219RTDECL(int) RTPipeQueryReadable(RTPIPE hPipe, size_t *pcbReadable);
     220
    208221/** @} */
    209222
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