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