Bradley Smith <bradsmith at debian.org> writes: static int scan (const char **sp, const char *fmt, ...) { va_list ap; int ret; va_start(ap, fmt); ret = vsscanf(*sp, fmt, ap); va_end(ap); return ret; } Unfortunately, vsscanf seems to be missing from some systems GMP tries to support. -- Torbjörn