aboutsummaryrefslogtreecommitdiffstats
path: root/com32/lib/sys/read.c
Commit message (Collapse)AuthorAgeFilesLines
* read: handle the case of partial data from unreaddynamicH. Peter Anvin2009-08-101-5/+8
| | | | | | | | Correctly handle the case of partial data from the unread buffer, and partial data via the device read mechanism. We need to advance the buffer pointer. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* lib: add unread() syscall; use it to implement ungetc()H. Peter Anvin2009-08-091-1/+19
| | | | | | | | | | Add an unread() syscall, which allows some read bytes to be pushed back into the read buffer. This allows us to read a header from a file and then push it back. This also makes ungetc() implementable. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Run Nindent on com32/lib/sys/read.cH. Peter Anvin2009-05-291-6/+6
| | | | | | | | | Automatically reformat com32/lib/sys/read.c using Nindent. Do this for all files except HDT, gPXE and externally maintained libraries (zlib, tinyjpeg, libpng). Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Update copyright yearH. Peter Anvin2008-01-101-1/+1
|
* Remove CVS-era $Id$ tags.H. Peter Anvin2006-08-171-1/+0
|
* Across-the-board stealth whitespace cleanupH. Peter Anvin2006-05-031-4/+4
|
* Beginnings of a file-moving APIhpa2005-09-251-2/+2
|
* Split input and output sides of the device modelhpa2004-11-231-7/+2
|
* Very basic operations now work; need to handle line-orientedhpa2004-11-171-42/+7
| | | | versus character-oriented input
* Very first cut at a klibc-derived C library for com32hpa2004-11-101-0/+92