cleaned up the code a little

This commit is contained in:
2009-01-18 01:48:21 +00:00
parent 81cf4a462b
commit 524f2e34c9
15 changed files with 62 additions and 101 deletions

View File

@ -379,12 +379,12 @@ int StdAwk::closeFile (File& io)
StdAwk::ssize_t StdAwk::readFile (File& io, char_t* buf, size_t len)
{
return qse_sio_getsx ((qse_sio_t*)io.getHandle(), buf, len);
return qse_sio_read ((qse_sio_t*)io.getHandle(), buf, len);
}
StdAwk::ssize_t StdAwk::writeFile (File& io, const char_t* buf, size_t len)
{
return qse_sio_putsx ((qse_sio_t*)io.getHandle(), buf, len);
return qse_sio_write ((qse_sio_t*)io.getHandle(), buf, len);
}
int StdAwk::flushFile (File& io)