Various fixes for buffered R/W I/O and seeking

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@630 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo
2008-02-05 18:13:13 +00:00
parent 507914b3b4
commit 5622797411
18 changed files with 796 additions and 355 deletions
+7
View File
@@ -319,6 +319,13 @@
* Integrated pascal test case on the simulation platform. Needs pascal-0.1.1.
* Integrated pascal test case on the z16f platform. Needs pascal-0.1.2 (not
yet released).
* C Buffered I/O fixes:
(1) Fix fflush() return value,
(2) Add correct fflush behavior when the FILE argument is null.
(3) Add logic to a correctly handle read/write access on the same FILE
(4) fseek() flushes read/write data when before moving the file pointer
(5) When read data is flushed, reposition the file pointer to account for
buffered, but unreand data