mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-20 20:57:03 +08:00
Add msvcrt.locking() and associated constants (#3607)
This commit is contained in:
1 parent
d5f1e58457
commit
910cfe4b83
1 file changed
+8
@@ -2,5 +2,13 @@
|
||||
|
||||
# NOTE: These are incomplete!
|
||||
|
||||
LK_LOCK: int
|
||||
LK_NBLCK: int
|
||||
LK_NBRLCK: int
|
||||
LK_RLCK: int
|
||||
LK_UNLCK: int
|
||||
|
||||
def locking(fd: int, mode: int, nbytes: int) -> None: ...
|
||||
|
||||
def get_osfhandle(file: int) -> int: ...
|
||||
def open_osfhandle(handle: int, flags: int) -> int: ...
|
||||
Reference in new issue
Block a user