FLINT3.7.0-dev

gr_stream_init_file, gr_stream_init_str

Synopsis#include <flint/gr.h>
void gr_stream_init_file(gr_stream_t out, FILE * fp)source
void gr_stream_init_str(gr_stream_t out)source

Initialise a stream writing to fp, respectively to a new string that the caller takes over as out->s and frees with flint_free. gr_stream_init_file is declared only if stdio.h was included before gr.h.

Cite this page

The FLINT team, “gr_stream_init_file, gr_stream_init_str (gr.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/gr/gr_stream_init_file.html (generated 2026-10-20).