minix/sys/lib/libsa
David van Moolenbroek 3814aed560 libsa: add string precision support to vprintf
We already had a hack to ignore the precision, but the ACPI driver
requires an actual implementation--it prints garbage at the end of
some strings otherwise.  This patch adds support for precision for
strings only, limiting printing to the given number of characters.
For all other specifiers, precision is still unsupported.

Change-Id: I1d41fc70a0d0494db695c22ba609262a50b86e08
2015-02-10 13:47:28 +00:00
..
alloc.c
arp.c
bootp.c
bootp.h
bootparam.c
bootparam.h
byteorder.c
byteorder.h
cd9660.c Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
cd9660.h
checkpasswd.c
close.c
closeall.c
cread.c Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
dev_net.c
dev_net.h
dev.c
disklabel.c
dkcksum.c
dosfs.c Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
dosfs.h
errno.c
ether_sprintf.c
ether.c
exec.c
exit.c
ext2fs.c Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
ext2fs.h
ffsv1.c Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
ffsv2.c Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
files.c
fnmatch.c Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
fstat.c
getfile.c
gets.c
globals.c Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
ioctl.c
iodesc.h
ip_cksum.c
ip.c
lfs.h
lfsv1.c Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
lfsv2.c Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
loadfile_aout.c
loadfile_ecoff.c
loadfile_elf32.c Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
loadfile_elf64.c
loadfile.c
loadfile.h
lookup_elf32.c
lookup_elf64.c
ls.c Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
lseek.c
Makefile Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
Makefile.inc Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
minixfs3.c Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
minixfs3.h Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
net.c
net.h
netif.c Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
netif.h
nfs.c Adjust boot from NetBSD. 2012-02-09 18:48:13 +01:00
nfs.h
nfsv2.h
nullfs.c Adjust boot from NetBSD. 2012-02-09 18:48:13 +01:00
open.c
panic.c
printf.c
qsort.c
rarp.c
read.c
rpc.c
rpc.h
rpcv2.h
saerrno.h Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
saioctl.h
snprintf.c
sprintf.c
stand.h Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
stat.c
strerror.c
subr_prf.c libsa: add string precision support to vprintf 2015-02-10 13:47:28 +00:00
tftp.c Adjust boot from NetBSD. 2012-02-09 18:48:13 +01:00
tftp.h
twiddle.c
udp.c
ufs.c Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
ufs.h
ustarfs.c Adjust boot from NetBSD. 2012-02-09 18:48:13 +01:00
ustarfs.h
vsprintf.c
write.c