massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-pyright / node_modules / pyright / dist / typeshed-fallback / stubs / psutil / psutil / _psutil_posix.pyi
1 import sys
2 from typing import Any
3
4 if sys.platform == "linux":
5     RLIMIT_AS: int
6     RLIMIT_CORE: int
7     RLIMIT_CPU: int
8     RLIMIT_DATA: int
9     RLIMIT_FSIZE: int
10     RLIMIT_LOCKS: int
11     RLIMIT_MEMLOCK: int
12     RLIMIT_MSGQUEUE: int
13     RLIMIT_NICE: int
14     RLIMIT_NOFILE: int
15     RLIMIT_NPROC: int
16     RLIMIT_RSS: int
17     RLIMIT_RTPRIO: int
18     RLIMIT_SIGPENDING: int
19     RLIMIT_STACK: int
20     RLIM_INFINITY: int
21
22 def getpagesize(*args, **kwargs) -> Any: ...
23 def getpriority(*args, **kwargs) -> Any: ...
24 def net_if_addrs(*args, **kwargs) -> Any: ...
25 def net_if_is_running(*args, **kwargs) -> Any: ...
26 def net_if_mtu(*args, **kwargs) -> Any: ...
27
28 if sys.platform == "darwin":
29     def net_if_duplex_speed(*args, **kwargs): ...
30
31 def setpriority(*args, **kwargs) -> Any: ...