libcutils/mq.c
static bool peerProxyWriteFromBuffer(PeerProxy* peerProxy, Buffer* outgoing) {
    ssize_t size = bufferWrite(outgoing, peerProxy->fd->fd);
    if (size < 0) {
        peerProxyHandleError(peerProxy, "write");
        return false;
    } else {
        return bufferWriteComplete(outgoing);
    }
}
/**
 * Buffers output sent to a peer. May be called multiple times until the entire
 * buffer is filled. Returns true when the buffer is empty.
 */
Buffers output sent to a peer. May be called multiple times until the entire
buffer is filled. Returns true when the buffer is empty.
Buffers output sent to a peer . May be called multiple times until the entire buffer is filled . Returns true when the buffer is empty .
static bool peerProxyWriteFromBuffer(PeerProxy* peerProxy, Buffer* outgoing) {
    ssize_t size = bufferWrite(outgoing, peerProxy->fd->fd);
    if (size < 0) {
        peerProxyHandleError(peerProxy, "write");
        return false;
    } else {
        return bufferWriteComplete(outgoing);
    }
}
static bool peerProxyWriteFromBuffer ( PeerProxy * peerProxy , Buffer * outgoing ) { ssize_t size = bufferWrite ( outgoing , peerProxy -> fd -> fd ) ; if ( size < 0 ) { peerProxyHandleError ( peerProxy , " " ) ; return false ; } else { return bufferWriteComplete ( outgoing ) ; } }
Buffers output sent to a peer.
Buffers output sent to a peer .