fuse_session_receive_buf

Function fuse_session_receive_buf 

Source
pub unsafe extern "C" fn fuse_session_receive_buf(
    se: *mut fuse_session,
    buf: *mut fuse_buf,
    chp: *mut *mut fuse_chan,
) -> c_int
Expand description

Receive a raw request supplied in a generic buffer

This is a more generic version of fuse_chan_recv(). The fuse_buf supplied to this function contains a suitably allocated memory buffer. This may be overwritten with a file descriptor buffer.

@param se the session @param buf the fuse_buf to store the request in @param chp pointer to the channel @return the actual size of the raw request, or -errno on error