aboutsummaryrefslogtreecommitdiff
path: root/src/stdio/fmemopen.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* more fmemopen null termination fixes•••null termination is only added when current size grows. in update modes, null termination is not added if it does not fit (i.e. it is not allowed to clobber data). these rules make very little sense, but that's how it goes.. Rich Felker2011-09-041-2/+3
* 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. Rich Felker2011-09-041-4/+7
* fmemopen: fix eof handling, hopefully right this timeRich Felker2011-09-041-3/+4
* 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 Rich Felker2011-09-041-1/+3
* implement fmemopen•••testing so far has been minimal. may need further work. Rich Felker2011-09-031-18/+66
* partially-written draft of fmemopen, still in #if 0Rich Felker2011-03-141-3/+48
* initial check-in, version 0.5.0Rich Felker2011-02-121-0/+16