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 Initial import of libsa, libkern, bootxx, boot. 2012-02-09 18:48:13 +01:00
arp.c Initial import of libsa, libkern, bootxx, boot. 2012-02-09 18:48:13 +01:00
bootp.c Initial import of libsa, libkern, bootxx, boot. 2012-02-09 18:48:13 +01:00
bootp.h Initial import of libsa, libkern, bootxx, boot. 2012-02-09 18:48:13 +01:00
bootparam.c Initial import of libsa, libkern, bootxx, boot. 2012-02-09 18:48:13 +01:00
bootparam.h Initial import of libsa, libkern, bootxx, boot. 2012-02-09 18:48:13 +01:00
byteorder.c Initial import of libsa, libkern, bootxx, boot. 2012-02-09 18:48:13 +01:00
byteorder.h Initial import of libsa, libkern, bootxx, boot. 2012-02-09 18:48:13 +01:00
cd9660.c Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
cd9660.h Initial import of libsa, libkern, bootxx, boot. 2012-02-09 18:48:13 +01:00
checkpasswd.c Initial import of libsa, libkern, bootxx, boot. 2012-02-09 18:48:13 +01:00
close.c Initial import of libsa, libkern, bootxx, boot. 2012-02-09 18:48:13 +01:00
closeall.c Initial import of libsa, libkern, bootxx, boot. 2012-02-09 18:48:13 +01:00
cread.c Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
dev.c Initial import of libsa, libkern, bootxx, boot. 2012-02-09 18:48:13 +01:00
dev_net.c Initial import of libsa, libkern, bootxx, boot. 2012-02-09 18:48:13 +01:00
dev_net.h Initial import of libsa, libkern, bootxx, boot. 2012-02-09 18:48:13 +01:00
disklabel.c Initial import of libsa, libkern, bootxx, boot. 2012-02-09 18:48:13 +01:00
dkcksum.c Initial import of libsa, libkern, bootxx, boot. 2012-02-09 18:48:13 +01:00
dosfs.c Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
dosfs.h Initial import of libsa, libkern, bootxx, boot. 2012-02-09 18:48:13 +01:00
errno.c Initial import of libsa, libkern, bootxx, boot. 2012-02-09 18:48:13 +01:00
ether.c Initial import of libsa, libkern, bootxx, boot. 2012-02-09 18:48:13 +01:00
ether_sprintf.c Initial import of libsa, libkern, bootxx, boot. 2012-02-09 18:48:13 +01:00
exec.c Initial import of libsa, libkern, bootxx, boot. 2012-02-09 18:48:13 +01:00
exit.c Initial import of libsa, libkern, bootxx, boot. 2012-02-09 18:48:13 +01:00
ext2fs.c Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
ext2fs.h Initial import of libsa, libkern, bootxx, boot. 2012-02-09 18:48:13 +01:00
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 Initial import of libsa, libkern, bootxx, boot. 2012-02-09 18:48:13 +01:00
fnmatch.c Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
fstat.c Initial import of libsa, libkern, bootxx, boot. 2012-02-09 18:48:13 +01:00
getfile.c Initial import of libsa, libkern, bootxx, boot. 2012-02-09 18:48:13 +01:00
gets.c Initial import of libsa, libkern, bootxx, boot. 2012-02-09 18:48:13 +01:00
globals.c Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
ioctl.c Initial import of libsa, libkern, bootxx, boot. 2012-02-09 18:48:13 +01:00
iodesc.h Initial import of libsa, libkern, bootxx, boot. 2012-02-09 18:48:13 +01:00
ip.c Initial import of libsa, libkern, bootxx, boot. 2012-02-09 18:48:13 +01:00
ip_cksum.c Initial import of libsa, libkern, bootxx, boot. 2012-02-09 18:48:13 +01:00
lfs.h Initial import of libsa, libkern, bootxx, boot. 2012-02-09 18:48:13 +01:00
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.c Initial import of libsa, libkern, bootxx, boot. 2012-02-09 18:48:13 +01:00
loadfile.h Initial import of libsa, libkern, bootxx, boot. 2012-02-09 18:48:13 +01:00
loadfile_aout.c Initial import of libsa, libkern, bootxx, boot. 2012-02-09 18:48:13 +01:00
loadfile_ecoff.c Initial import of libsa, libkern, bootxx, boot. 2012-02-09 18:48:13 +01:00
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 Initial import of libsa, libkern, bootxx, boot. 2012-02-09 18:48:13 +01:00
lookup_elf32.c Initial import of libsa, libkern, bootxx, boot. 2012-02-09 18:48:13 +01:00
lookup_elf64.c Initial import of libsa, libkern, bootxx, boot. 2012-02-09 18:48:13 +01:00
ls.c Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
lseek.c Initial import of libsa, libkern, bootxx, boot. 2012-02-09 18:48:13 +01:00
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 Initial import of libsa, libkern, bootxx, boot. 2012-02-09 18:48:13 +01:00
net.h Initial import of libsa, libkern, bootxx, boot. 2012-02-09 18:48:13 +01:00
netif.c Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
netif.h Initial import of libsa, libkern, bootxx, boot. 2012-02-09 18:48:13 +01:00
nfs.c Adjust boot from NetBSD. 2012-02-09 18:48:13 +01:00
nfs.h Initial import of libsa, libkern, bootxx, boot. 2012-02-09 18:48:13 +01:00
nfsv2.h Initial import of libsa, libkern, bootxx, boot. 2012-02-09 18:48:13 +01:00
nullfs.c Adjust boot from NetBSD. 2012-02-09 18:48:13 +01:00
open.c Initial import of libsa, libkern, bootxx, boot. 2012-02-09 18:48:13 +01:00
panic.c Initial import of libsa, libkern, bootxx, boot. 2012-02-09 18:48:13 +01:00
printf.c Initial import of libsa, libkern, bootxx, boot. 2012-02-09 18:48:13 +01:00
qsort.c Initial import of libsa, libkern, bootxx, boot. 2012-02-09 18:48:13 +01:00
rarp.c Initial import of libsa, libkern, bootxx, boot. 2012-02-09 18:48:13 +01:00
read.c Initial import of libsa, libkern, bootxx, boot. 2012-02-09 18:48:13 +01:00
rpc.c Initial import of libsa, libkern, bootxx, boot. 2012-02-09 18:48:13 +01:00
rpc.h Initial import of libsa, libkern, bootxx, boot. 2012-02-09 18:48:13 +01:00
rpcv2.h Initial import of libsa, libkern, bootxx, boot. 2012-02-09 18:48:13 +01:00
saerrno.h Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
saioctl.h Initial import of libsa, libkern, bootxx, boot. 2012-02-09 18:48:13 +01:00
snprintf.c Initial import of libsa, libkern, bootxx, boot. 2012-02-09 18:48:13 +01:00
sprintf.c Initial import of libsa, libkern, bootxx, boot. 2012-02-09 18:48:13 +01:00
stand.h Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
stat.c Initial import of libsa, libkern, bootxx, boot. 2012-02-09 18:48:13 +01:00
strerror.c Initial import of libsa, libkern, bootxx, boot. 2012-02-09 18:48:13 +01:00
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 Initial import of libsa, libkern, bootxx, boot. 2012-02-09 18:48:13 +01:00
twiddle.c Initial import of libsa, libkern, bootxx, boot. 2012-02-09 18:48:13 +01:00
udp.c Initial import of libsa, libkern, bootxx, boot. 2012-02-09 18:48:13 +01:00
ufs.c Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
ufs.h Initial import of libsa, libkern, bootxx, boot. 2012-02-09 18:48:13 +01:00
ustarfs.c Adjust boot from NetBSD. 2012-02-09 18:48:13 +01:00
ustarfs.h Initial import of libsa, libkern, bootxx, boot. 2012-02-09 18:48:13 +01:00
vsprintf.c Initial import of libsa, libkern, bootxx, boot. 2012-02-09 18:48:13 +01:00
write.c Initial import of libsa, libkern, bootxx, boot. 2012-02-09 18:48:13 +01:00