MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / S_ISSOCK

Function S_ISSOCK

tools/python-3.11.9-amd64/Lib/stat.py:74–76  ·  view source on GitHub ↗

Return True if mode is from a socket.

(mode)

Source from the content-addressed store, hash-verified

72 return S_IFMT(mode) == S_IFLNK
73
74def S_ISSOCK(mode):
75 """Return True if mode is from a socket."""
76 return S_IFMT(mode) == S_IFSOCK
77
78def S_ISDOOR(mode):
79 """Return True if mode is from a door."""

Callers 1

is_socketMethod · 0.90

Calls 1

S_IFMTFunction · 0.85

Tested by

no test coverage detected