| 373 | } |
| 374 | |
| 375 | int st_sendmsg(st_netfd_t fd, const struct msghdr *msg, int flags, st_utime_t timeout) { |
| 376 | return DOIO_ONCE(::sendmsg(getfd(fd), msg, flags | MSG_DONTWAIT | MSG_NOSIGNAL), |
| 377 | photon::wait_for_fd_writable(getfd(fd), timeout)); |
| 378 | } |
| 379 | |
| 380 | st_netfd_t st_open(const char *path, int oflags, mode_t mode) { |
| 381 | int fd = ::open(path, oflags, mode); |
no test coverage detected