sftp_read

@brief Read from a file using an opened sftp file handle.

@param file The opened sftp file handle to be read from.

@param buf Pointer to buffer to recieve read data.

@param count Size of the buffer in bytes.

@return Number of bytes written, < 0 on error with ssh and sftp error set.

@see sftp_get_error()

extern (C)
ptrdiff_t
sftp_read
(,
void* buf
,
size_t count
)

Meta