freebsd-skq/lib/libstand
John Baldwin fb6b710c39 Clean up error handling in libstand filesystem code to be more consistent:
- 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.
2004-01-21 20:12:23 +00:00
..
alpha
i386
powerpc
sparc64 Ficl wants _setjmp and _longjmp. No need for weak symbols either. 2002-07-07 18:04:45 +00:00
__main.c
arp.c
assert.c
bcd.c
bootp.c
bootp.h
bootparam.c
bootparam.h
bswap.c
bzipfs.c Clean up error handling in libstand filesystem code to be more consistent: 2004-01-21 20:12:23 +00:00
bzlib_private.h.diff Restore bzip2(1) support in loader(8) after Peter's renames of 2003-04-25 06:44:56 +00:00
bzlib.c.diff
bzlib.h.diff
cd9660.c
close.c
closeall.c
dev.c
dosfs.c Clean up error handling in libstand filesystem code to be more consistent: 2004-01-21 20:12:23 +00:00
dosfs.h
environment.c Preserve the constness of the value argument passed to env_setenv() as 2003-10-26 04:04:12 +00:00
ether.c
ext2fs.c Clean up error handling in libstand filesystem code to be more consistent: 2004-01-21 20:12:23 +00:00
fstat.c Clean up error handling in libstand filesystem code to be more consistent: 2004-01-21 20:12:23 +00:00
getopt.c
gets.c
globals.c
gzipfs.c Clean up error handling in libstand filesystem code to be more consistent: 2004-01-21 20:12:23 +00:00
if_ether.h
in_cksum.c
inet_ntoa.c
ioctl.c
iodesc.h
libstand.3 mdoc(7): Properly mark C headers. 2003-09-10 19:24:35 +00:00
lseek.c
Makefile Removed duplicate SRCS. 2004-01-11 17:23:31 +00:00
net.c
net.h
netif.c
netif.h
nfs.c Clean up error handling in libstand filesystem code to be more consistent: 2004-01-21 20:12:23 +00:00
nfsv2.h
nullfs.c Clean up error handling in libstand filesystem code to be more consistent: 2004-01-21 20:12:23 +00:00
open.c
pager.c
printf.c Sync up with kern/subr_prf.c. This adds %ll, %j, %q, %z, etc. 2003-04-06 05:25:48 +00:00
qdivrem.c
quad.h
random.c
rarp.c
read.c Clean up error handling in libstand filesystem code to be more consistent: 2004-01-21 20:12:23 +00:00
readdir.c
rpc.c
rpc.h
rpcv2.h
saioctl.h
sbrk.c
splitfs.c Clean up error handling in libstand filesystem code to be more consistent: 2004-01-21 20:12:23 +00:00
stand.h - Print out line number in a panic message using %d rather than %p. Line 2004-01-15 18:35:32 +00:00
stat.c
strcasecmp.c
strdup.c
strerror.c
strtol.c
tftp.c Fix a machine check abort caused by the EFI loader trying to open a 2003-03-03 00:58:47 +00:00
tftp.h
twiddle.c
udp.c
ufs.c Clean up error handling in libstand filesystem code to be more consistent: 2004-01-21 20:12:23 +00:00
write.c
zalloc_defs.h Trust the code more than the comment(s) and correct some false 2003-04-12 07:36:44 +00:00
zalloc_malloc.c - Print out line number in a panic message using %d rather than %p. Line 2004-01-15 18:35:32 +00:00
zalloc_mem.h
zalloc_protos.h
zalloc.c The zalloc pool's size calculation breaks if sbrk() does not return 2002-12-19 23:23:20 +00:00
zutil.h.diff Reimplement malloc/free debugging that includes the offending file:line 2002-07-20 04:18:20 +00:00