MCPcopy Index your code
hub / github.com/RustPython/RustPython / FD_ISSET

Function FD_ISSET

crates/stdlib/src/select.rs:51–54  ·  view source on GitHub ↗
(fd: RawFd, set: *mut fd_set)

Source from the content-addressed store, hash-verified

49 }
50
51 pub unsafe fn FD_ISSET(fd: RawFd, set: *mut fd_set) -> bool {
52 use WinSock::__WSAFDIsSet;
53 unsafe { __WSAFDIsSet(fd as _, set) != 0 }
54 }
55
56 pub fn check_err(x: i32) -> bool {
57 x == WinSock::SOCKET_ERROR

Callers 1

containsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected