gr_stream_init_file, gr_stream_init_str
Synopsis
#include <flint/gr.h>void gr_stream_init_file(gr_stream_t out, FILE * fp)sourcevoid gr_stream_init_str(gr_stream_t out)sourceInitialise 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).
@misc{flint-doc-gr-gr-stream-init-file,
author = {{The FLINT team}},
title = {{gr\_stream\_init\_file, gr\_stream\_init\_str (gr.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/gr/gr_stream_init_file.html},
note = {Generated 2026-10-20}
}