Function libzt::zts_bsd_send[][src]

pub unsafe extern "C" fn zts_bsd_send(
    fd: c_int,
    buf: *const c_void,
    len: size_t,
    flags: c_int
) -> ssize_t
Expand description

@brief Send data to remote host

@param fd Socket file descriptor @param buf Pointer to data buffer @param len Length of data to write @param flags (e.g. ZTS_MSG_DONTWAIT, ZTS_MSG_MORE) @return Number of bytes sent if successful, ZTS_ERR_SERVICE if the node experiences a problem, ZTS_ERR_ARG if invalid argument. Sets zts_errno