summaryrefslogtreecommitdiffstats
path: root/sys/lib/libsa/printf.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* we have never built without %b supportderaadt2019-05-111-3/+1
|
* Implement basic padding support in libsa so we can do zero-paddingpatrick2018-01-171-18/+55
| | | | | | in bootloader printfs. Feedback from and ok gerhard@
* Fix 1.26; kdoprnt() should not attempt to invoke va_end() at all, it's themiod2015-06-141-4/+2
| | | | caller's responsibility to do so.
* Invoke va_end() before returning, rather than in an unreachable place; mickey@miod2015-03-101-3/+4
|
* Remove excessive sys/cdefs.h inclusionderaadt2012-12-051-2/+1
| | | | ok guenther millert kettenis
* Add a hand rolled 64bit hex printf that can be used outside ofmpf2006-09-181-4/+22
| | | | | | | LIBSA_LONGLONG_PRINTF which requires 64bit math support. With help from mickey@ Tested on i386, amd64 and on alpha by mickey@ OK mickey@, miod@, deraadt@
* Add code to let 32bit code *printf() {u,}int64_t values.miod2004-09-221-2/+61
| | | | | | | Only enabled if libsa is compiled with the adequate define, so as not to grow bootblocks which do not need this feature. ok deraadt@
* put an mi wrapper around stdarg.h/varargs.h. gcc3 moved stdarg/varargs macrosespie2004-01-031-2/+2
| | | | | | | to built-ins, so eventually we will have one version of these files. Special adjustments for the kernel to cope: machine/stdarg.h -> sys/stdarg.h and machine/ansi.h needs to have a _BSD_VA_LIST_ for syslog* prototypes. okay millert@, drahn@, miod@.
* ansification and knf and protosderaadt2003-08-111-14/+10
|
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-021-6/+2
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* strcpy/strcat/sprintf removal in all bootblocks. various testing byderaadt2003-06-011-29/+5
| | | | | various people. outside of some messy things in src/gnu, only one thing in the main tree now violates this rule: bind
* de-register; ok millertjason2003-05-201-5/+4
|
* Kill #if __STDC__ used to do K&R vs. ANSI varargs/stdarg; just do thingsmillert2002-03-151-23/+1
| | | | the ANSI way.
* Final __P removal plus some cosmetic fixupsmillert2002-03-141-3/+3
|
* First round of __P removal in sysmillert2002-03-141-4/+4
|
* Allow the twiddler to be disabled via a global.downsj1999-08-161-3/+7
|
* fix potential bug where sprintf and %p would write to consoled1998-06-121-3/+3
|
* cannot grow this as mickey wantsderaadt1998-04-181-19/+9
|
* i386 bootblocks that work for 2.3. A tale too long to tellderaadt1998-04-181-9/+19
|
* userland bye-byemickey1997-07-251-3/+3
| | | | (arch/machine/libsa have to have machine link or smth)
* print 0x for %pmickey1997-02-061-1/+3
|
* better heuristic for %p:mickey1997-02-061-2/+2
| | | | assume l for x only if sizeof(void *)==sizeof(u_long), else it's u_int (;
* remove net/zlib.c (use -lz now)mickey1997-02-061-1/+3
| | | | | | | | export NO_NET and SA_ZLIB to the Makefile (from Makefile.inc) add -p printf flag (tiny code) just for gcc -Wall import latest alloc.c from netbsd text data bss dec hex 400 8 0 408 198
* Merge to NetBSD 961207niklas1996-12-081-7/+7
|
* move vars closer to the usage.mickey1996-10-291-4/+9
| | | | strip a bit for xxboot/bootxx.
* fix protos and decls.mickey1996-10-241-3/+3
|
* fix makefiles. cleanup, addopt for boot.mickey1996-09-201-1/+3
|
* From NetBSD: Merge with NetBSD 960217niklas1996-02-291-1/+8
|
* initial import of NetBSD treederaadt1995-10-181-0/+234