Function libzt::zts_bsd_write [−][src]
pub unsafe extern "C" fn zts_bsd_write(
fd: c_int,
buf: *const c_void,
len: size_t
) -> ssize_t
Expand description
@brief Write data from buffer to socket
@param fd Socket file descriptor
@param buf Pointer to data buffer
@param len Length of buffer to write
@return Number of bytes written if successful, ZTS_ERR_SERVICE
if the node
experiences a problem, ZTS_ERR_ARG
if invalid argument. Sets zts_errno