4 * (C) Copyright 2001 Ullrich von Bassewitz (uz@cc65.org)
18 /* Type of the function that is called to input data */
19 typedef void (*infunc) (struct indesc* desc, const char* buf, unsigned count);
23 /* Control structure passed to the low level worker function.
24 * Beware: The low level functions will access the structure on the assembly
25 * level, so check this when altering the structure.
28 char* buf; /* Pointer to input buffer */
29 unsigned size; /* Size of input buffer */
30 unsigned fill; /* Fill mark of input buffer */
31 unsigned ridx; /* Read index of input buffer */
32 infunc fin; /* Pointer to input routine */
37 /* Internal scanning routine */
38 int _scanf (struct indesc* d, const char* format, va_list ap);