Codebase list httping / b4b839d6-714e-41fa-953a-4bc010a4bc4c/main io.h
b4b839d6-714e-41fa-953a-4bc010a4bc4c/main

Tree @b4b839d6-714e-41fa-953a-4bc010a4bc4c/main (Download .tar.gz)

io.h @b4b839d6-714e-41fa-953a-4bc010a4bc4c/mainraw · history · blame

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);