win32pipe.FdCreatePipe

(int, int) = FdCreatePipe(sa, nSize , mode )

As CreatePipe but returns file descriptors

Parameters

sa : PySECURITY_ATTRIBUTES

Specifies security and inheritance for the pipe

nSize : int

Buffer size for pipe. Use 0 for default size.

mode : int

O_TEXT or O_BINARY