Add sock_splice_all()

This commit is contained in:
2023-01-23 12:55:41 +01:00
parent 8b63d2cf32
commit 32ea03079b
2 changed files with 25 additions and 6 deletions

@ -51,6 +51,8 @@ long sock_recv_x(sock *s, void *buf, unsigned long len, int flags);
long sock_splice(sock *dst, sock *src, void *buf, unsigned long buf_len, unsigned long len);
long sock_splice_all(sock *dst, sock *src, void *buf, unsigned long buf_len);
long sock_splice_chunked(sock *dst, sock *src, void *buf, unsigned long buf_len, int flags);
int sock_close(sock *s);