mirror of
git://git.9front.org/plan9front/plan9front
synced 2025-01-12 11:10:06 +00:00
stdio: fix putc(), plan9 version
This commit is contained in:
parent
ef1bcc7338
commit
4b4d68487c
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ int getchar(void);
|
|||
#define getchar() getc(stdin)
|
||||
char *gets(char *);
|
||||
int putc(int, FILE *);
|
||||
#define putc(c, f) ((f)->wp>=(f)->rp?_IO_putc(c, f):(*(f)->wp++=c)&_IO_CHMASK)
|
||||
#define putc(c, f) ((f)->wp>=(f)->rp?_IO_putc(c, f):(*(f)->wp++=(c)&_IO_CHMASK))
|
||||
int _IO_putc(int, FILE *);
|
||||
int putchar(int);
|
||||
#define putchar(c) putc(c, stdout)
|
||||
|
|
Loading…
Reference in a new issue