blob: 70abbabc138ffb4fae9bbf22f665ac70b2c762dd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#include "internal.h"
int
bio·ungetc(io·Header *io)
{
if(io->state == io·BufEnd)
io->state = io·BufRdr;
if(io->state != io·BufRdr)
return io·BufEof;
io->ilen--;
return 0;
}
|