delorie.com/djgpp/doc/libc/libc_186.html | search |
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
#include <stdarg.h> #include <stdio.h> int _doscan(FILE *file, const char *format, va_list argp); |
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.
ANSI/ISO C | No |
POSIX | No |
TODO: This example is bogus now! TODO: Rewrite this example! int x, y; int *args[2]; args[0] = &x; args[1] = &y; _doscan(stdin, "%d %d", args); |
webmaster | delorie software privacy |
Copyright © 2004 | Updated Apr 2004 |