fcntl: make mutate_flag optional for ioctl w/ read-only buffer (#3882)

Fixes #3881
This commit is contained in:
Julian Andres Klode
2020-03-24 15:54:59 +01:00
committed by GitHub
parent e571d1a2c2
commit 009b269882

View File

@@ -111,7 +111,7 @@ def ioctl(__fd: FileDescriptorLike,
def ioctl(__fd: FileDescriptorLike,
__request: int,
__arg: _ReadOnlyBuffer,
__mutate_flag: bool) -> bytes: ...
__mutate_flag: bool = ...) -> bytes: ...
def flock(__fd: FileDescriptorLike, __operation: int) -> None: ...
def lockf(__fd: FileDescriptorLike,
__cmd: int,