Pipe's write-end file descriptor is int
but some functions such Tcl_MakeFileChannel accepts void*
as file handle. I need to pass pipe write-end to it. How can one convert one type of file handle to another?
问问题
53 次