aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/sockets/bsd.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/hle/service/sockets/bsd.h')
-rw-r--r--src/core/hle/service/sockets/bsd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/hle/service/sockets/bsd.h b/src/core/hle/service/sockets/bsd.h
index f908edc7d2..559830d7a1 100644
--- a/src/core/hle/service/sockets/bsd.h
+++ b/src/core/hle/service/sockets/bsd.h
@@ -180,6 +180,8 @@ private:
bool IsFileDescriptorValid(s32 fd) const noexcept;
/// Copies a descriptor under file_descriptors_mutex; nullopt if fd has no socket
std::optional<FileDescriptor> CopyDescriptor(s32 fd);
+ /// Switches a blocking socket for one MSG_DONTWAIT call; false if fd is already nonblocking
+ bool SetDontWait(s32 fd, const FileDescriptor& descriptor, bool enable);
void BuildErrnoResponse(HLERequestContext& ctx, Errno bsd_errno) const noexcept;