summaryrefslogtreecommitdiffstats
path: root/lib/libstand/read.c
Commit message (Collapse)AuthorAgeFilesLines
* Don't add integers to void pointers.stefanf2004-10-031-1/+1
|
* Clean up error handling in libstand filesystem code to be more consistent:jhb2004-01-211-2/+2
| | | | | | | | | | | | | | | - bzipfs and gzipfs now properly return errno values directly from their read routines rather than returning -1. - missing errno values on error returns for the seek routines on almost all filesystems were added. - fstat() now returns -1 if an error occurs rather than ignoring it. - nfs's readdir() routine now reports valid errno values if an error or EOF occurs rather than EPERM (It was just returning 0 for success and 1 for failure). - nullfs used the wrong semantics for every function besides close() and seek(). Getting it right for close() appears to be an accident at that. - read() for buffered files no longer returns 0 (EOF) if an error occurs, but returns -1 instead.
* Add __FBSDID()s to libstanddillon2001-09-301-1/+3
|
* Implement readahead buffering for non-raw files. This drastically improvesmsmith2000-09-051-21/+54
| | | | | | | | | the efficiency of byte-by-byte read operations on filesystems not already supported by the block cache (especially NFS). This should be a welcome change for users booting via PXE, as the loader now reads its startup files almost instantly, instead of taking tens of seconds.
* This is libstand; a support library for standalone executables (eg. bootstrapmsmith1998-08-201-0/+96
modules). Obtained from: NetBSD, with some architectural changes and many additions.
OpenPOWER on IntegriCloud