diff options
author | H. Peter Anvin <hpa@zytor.com> | 2009-08-09 16:13:55 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2009-08-09 16:45:05 -0700 |
commit | f614a40876843b7de58d8410b47c8c68e2ab6992 (patch) | |
tree | 7d0d0d8e42a0a2a019bedb869b58699c208267e1 /com32/lib/sys/opendev.c | |
parent | 8b0f75f79811a30cd3f8460e305c6eea82f288a0 (diff) | |
download | syslinux-f614a40876843b7de58d8410b47c8c68e2ab6992.tar.gz |
lib: add unread() syscall; use it to implement ungetc()
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>
Diffstat (limited to 'com32/lib/sys/opendev.c')
0 files changed, 0 insertions, 0 deletions