diff options
Diffstat (limited to 'src/io/fd.hpp')
-rw-r--r-- | src/io/fd.hpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/io/fd.hpp b/src/io/fd.hpp index 00aad8f..517c7af 100644 --- a/src/io/fd.hpp +++ b/src/io/fd.hpp @@ -78,6 +78,15 @@ namespace io ssize_t read(void *buf, size_t count); ssize_t write(const void *buf, size_t count); ssize_t send(const void *buf, size_t count, int flags); + ssize_t sendto(const void *buf, size_t count, int flags, + const struct sockaddr *dest_addr, socklen_t addrlen); + ssize_t sendmsg(const struct msghdr *msg, int flags); + int sendmmsg(struct mmsghdr *msgvec, unsigned int vlen, + unsigned int flags); + ssize_t recv(void *buf, size_t len, int flags); + ssize_t recvfrom(void *buf, size_t len, int flags, + struct sockaddr *src_addr, socklen_t *addrlen); + ssize_t recvmsg(struct msghdr *msg, int flags); ssize_t pread(void *buf, size_t count, off_t offset); ssize_t pwrite(const void *buf, size_t count, off_t offset); ssize_t readv(const struct iovec *iov, int iovcnt); |