VirtualBox

Changeset 26784 in vbox for trunk/include/iprt


Ignore:
Timestamp:
Feb 25, 2010 11:56:52 AM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
58050
Message:

iprt/pipe.h++: Adjusted RTPipeWrite[Blocking] behavior wrt to zero byte writes and broken pipes. (darwin will return EPIPE, linux does not.)

File:
1 edited

Legend:

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

    r26774 r26784  
    118118 * @returns IPRT status code.
    119119 * @retval  VERR_WRONG_ORDER if racing a call to RTPipeWriteBlocking.
    120  * @retval  VERR_BROKEN_PIPE if the remote party has disconnected.
     120 * @retval  VERR_BROKEN_PIPE if the remote party has disconnected.  Does not
     121 *          trigger when @a cbToWrite is 0.
    121122 * @retval  VINF_TRY_AGAIN if no data was written.  @a *pcbWritten will be set
    122123 *          to 0.
     
    135136 * @returns IPRT status code.
    136137 * @retval  VERR_WRONG_ORDER if racing a call to RTPipeWrite.
    137  * @retval  VERR_BROKEN_PIPE if the remote party has disconnected.
     138 * @retval  VERR_BROKEN_PIPE if the remote party has disconnected.  Does not
     139 *          trigger when @a cbToWrite is 0.
    138140 * @retval  VERR_ACCESS_DENIED if it's a read pipe.
    139141 *
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