What kind of julia object translates to C's FILE*

A Libc.FILE object, which you can create from an io::IO object (such as a file or a pipe) by f = Libc.FILE(io). (I think you have to manually call close(f) when you are done with it, because the constructor duplicates the file descriptor (julia#10535)?)

See also How to create Libc.FILE from a string, Access C stdout in Julia, and Libc.FILE for stdout