VirtualBox

Changeset 26824 in vbox for trunk/include/iprt


Ignore:
Timestamp:
Feb 26, 2010 10:36:08 AM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
58097
Message:

iprt: Adjustments to RTPipeReadBlocking and RTPipeWriteBlocking. RTPoll and RTProcCreateEx testcases.

File:
1 edited

Legend:

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

    r26784 r26824  
    110110 * @param   pvBuf           Where to put the bytes we read.
    111111 * @param   cbToRead        How much to read.
     112 * @param   pcbRead         Where to return the number of bytes that has been
     113 *                          read. Optional.
    112114 */
    113 RTDECL(int) RTPipeReadBlocking(RTPIPE hPipe, void *pvBuf, size_t cbToRead);
     115RTDECL(int) RTPipeReadBlocking(RTPIPE hPipe, void *pvBuf, size_t cbToRead, size_t *pcbRead);
    114116
    115117/**
     
    127129 * @param   pvBuf           What to write.
    128130 * @param   cbToWrite       How much to write.
    129  * @param   pcbWritten      How many bytes we wrote.  This can be 0.
     131 * @param   pcbWritten      How many bytes we wrote, mandatory.  The return can
     132 *                          be 0.
    130133 */
    131134RTDECL(int) RTPipeWrite(RTPIPE hPipe, const void *pvBuf, size_t cbToWrite, size_t *pcbWritten);
     
    143146 * @param   pvBuf           What to write.
    144147 * @param   cbToWrite       How much to write.
     148 * @param   pcbWritten      How many bytes we wrote, optional.  If NULL then all
     149 *                          bytes will be written.
    145150 */
    146 RTDECL(int) RTPipeWriteBlocking(RTPIPE hPipe, const void *pvBuf, size_t cbToWrite);
     151RTDECL(int) RTPipeWriteBlocking(RTPIPE hPipe, const void *pvBuf, size_t cbToWrite, size_t *pcbWritten);
    147152
    148153/**
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