FLINT3.7.0-dev

flint_scanf, flint_fscanf, flint_sscanf

Synopsis#include <flint/flint.h>
int flint_scanf(const char * format, ...)source
int flint_fscanf(FILE * fs, const char * format, ...)source
int flint_sscanf(const char * s, const char * format, ...)source

Versions of scanf, fscanf and sscanf that also accept the length modifier w: %wu reads a ulong and %wd an slong. FLINT types cannot be read this way; use the _read or _set_str functions of the modules.

Cite this page

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