- * Exports the given ir graph to the given file in a textual form.
- *
- * @param irg the ir graph
- * @param filename the name of the resulting file
- *
- * Exports the type graph used by the given graph and the graph itself.
+ * same as ir_export but writes to a FILE*
+ * @note As with any FILE* errors are indicated by ferror(output)