[LLVMdev] STDIN/STDOUT/STDERR

William Moses moses.williamsteven at gmail.com
Mon Mar 24 16:32:07 PDT 2014


All,

How would one be able to represent stdin/stdout/stderr in llvm (using the
api) for use in functions such as fputs?

One could use the external function fdopen to generate the FILE* and store
it in a global variable, but I would be willing to guess that there is a
more efficient way.

Thanks,
Billy Moses
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140324/f96562e9/attachment.html>


More information about the llvm-dev mailing list