Codebase list httping / b94cdbd8-aae2-4206-98bf-4a1f2fcfb18b/main io.h
b94cdbd8-aae2-4206-98bf-4a1f2fcfb18b/main

Tree @b94cdbd8-aae2-4206-98bf-4a1f2fcfb18b/main (Download .tar.gz)

io.h @b94cdbd8-aae2-4206-98bf-4a1f2fcfb18b/main

3bd5d0f
bc3680c
 
 
 
 
 
1
2
3
4
5
6
7
/* Released under AGPL v3 with exception for the OpenSSL library. See license.txt */

ssize_t read_to(int fd, char *whereto, size_t len, double timeout);
ssize_t myread(int fd, char *whereto, size_t len, double timeout);
ssize_t mywrite(int fd, const char *wherefrom, size_t len, double timeout);
int set_fd_nonblocking(int fd);
int set_fd_blocking(int fd);