#include <stdio.h> int _doscan(FILE *file, const char *format, void **ptrs_to_args);
This is an internal function that is used by all the scanf
style
functions, which simply pass their format, arguments, and stream to this
function.
See section scanf for a discussion of the allowed formats and arguments.
The number of characters successfully scanned is returned, or -1 on error.
not ANSI, not POSIX
int x, y; int *args[2]; args[0] = &x; args[1] = &y; _doscan(stdin, "%d %d", args);
Go to the first, previous, next, last section, table of contents.