src/pylib/Lib/os_impl/posix_like/fdopen

Search:
Group by:
Source   Edit  

this module depends on io module

Templates

template fdopen(fd: Positive; x: varargs[untyped]): untyped

Return an open file object connected to the file descriptor fd.

This is an alias of the io.open() function and accepts the same arguments. The only difference is that the first argument of fdopen() must always be an integer.

Source   Edit