Go to the source code of this file.
Defines | |
#define | EMPTY (-1) |
#define | EOF (-2) |
#define | TTY_IOC_NEXTC 0x0028 |
Functions | |
static int | getch (int, int *) |
static int | ungetch (int, int *) |
int | _doscan (register char *, register int **, int(*)(), int(*)(), int, int) |
int | fscanf (int dev, char *fmt, int args) |
Definition in file fscanf.c.
int _doscan | ( | register char * | fmt, | |
register int ** | argp, | |||
int(*)() | getch, | |||
int(*)() | ungetch, | |||
int | arg1, | |||
int | arg2 | |||
) |
Scan and recognize input according to a format
*fmt | format string for the scanf | |
**argp | arguments to scanf | |
getch | function to unget a character | |
ungetch | function to unget a character | |
arg1 | 1st argument to getch/ungetch | |
arg2 | 2nd argument to getch/ungetch |
int fscanf | ( | int | dev, | |
char * | fmt, | |||
int | args | |||
) |
static int getch | ( | int | dev, | |
int * | buf | |||
) | [static] |
static int ungetch | ( | int | dev, | |
int * | buf | |||
) | [static] |