1
0
mirror of https://github.com/rofl0r/proxychains-ng synced 2025-01-08 22:22:52 +08:00

adding comments

This commit is contained in:
hugoc 2024-02-02 16:39:47 +01:00
parent e379a8af75
commit 1c8c231272

View File

@ -658,6 +658,8 @@ size_t get_iov_total_len(struct iovec* iov, size_t iov_len){
return n;
}
//Tries to write buff_len bytes from buff into the scatter-gather location described by iov and iov_len.
//Stops when all iov's buffers are full. Returns the number of bytes written
size_t write_buf_to_iov(void* buff, size_t buff_len, struct iovec* iov, size_t iov_len){
size_t written = 0;
int i = 0;