aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/xmon/nonstdio.h
blob: 47cebbd2b1b1b06e3d53d99c9dc3a41eb42b6db2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#define EOF	(-1)

#define printf	xmon_printf
#define putchar	xmon_putchar

extern int xmon_putchar(int c);
extern int xmon_getchar(void);
extern char *xmon_gets(char *, int);
extern void xmon_printf(const char *, ...);
extern void xmon_map_scc(void);
extern int xmon_expect(const char *str, unsigned long timeout);
extern int xmon_write(void *ptr, int nb);
extern int xmon_readchar(void);
extern int xmon_read_poll(void);