memstreams: fix incorrect handling of file pos > current size
[musl] / src / stdio / setbuffer.c
2011-04-05 Rich Felkeradd more legacy functions: setlinebuf and setbuffer