summaryrefslogtreecommitdiffstats
path: root/lib/libstand/nullfs.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove California Regent's clause 3, per letterimp2007-01-091-4/+0
|
* Clean up error handling in libstand filesystem code to be more consistent:jhb2004-01-211-10/+5
| | | | | | | | | | | | | | | - 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
|
* Add a readdir function to the loader fsops vector, and implement thejlemon2000-04-291-0/+6
| | | | functionality for some of the filesystesms.
* Tidy up some loose ends. nullfs_read/write were returning the wrong value.peter1999-12-271-2/+3
| | | | | | Fix some ctype problems - isascii() caused a warning if fed an unsigned char - it's always > 0 and libstand is compiled with -Wall. Missing prototype/include in printf.c
* Nuke prototype for strerror, consumers get it from <string.h>msmith1998-09-181-1/+1
| | | | Fix overlooked nullopen() implementation.
* This is libstand; a support library for standalone executables (eg. bootstrapmsmith1998-08-201-0/+105
modules). Obtained from: NetBSD, with some architectural changes and many additions.
OpenPOWER on IntegriCloud