Rich Felker
e72ee5786b
fix some fmemopen behaviors
...
read should not be allowed past "current size".
append mode should write at "current size", not buffer size.
null termination should not be written except when "current size" grows.
2011-09-04 21:40:42 -04:00
Rich Felker
22e4542348
fmemopen: fix eof handling, hopefully right this time
2011-09-04 16:06:38 -04:00
Rich Felker
f81279ff58
fmemopen fixes
...
disallow seek past end of buffer (per posix)
fix position accounting to include data buffered for read
don't set eof flag when no data was requested
2011-09-04 16:04:28 -04:00
Rich Felker
d4fa6f0e08
implement fmemopen
...
testing so far has been minimal. may need further work.
2011-09-03 23:26:17 -04:00
Rich Felker
9dd7d7e3f6
partially-written draft of fmemopen, still in #if 0
2011-03-14 11:49:55 -04:00
Rich Felker
0b44a0315b
initial check-in, version 0.5.0
2011-02-12 00:22:29 -05:00