summaryrefslogtreecommitdiff
path: root/lib/libc/stdio/snprintf.c
AgeCommit message (Collapse)Author
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2002-02-19We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.Todd C. Miller
1998-01-12Oops, missed a 0 vs. '\0'Todd C. Miller
1998-01-12Based on some FreeBSD changes:Todd C. Miller
For *s*printf, set f._file to -1 like the comments in stdio.h say. Use '\0', not 0, where appropriate. Don't error out on size of '0' for v?snprintf().
1997-11-29Return -1, not EOF for size < 1. XPG4.2 specifies the return valueTodd C. Miller
should be < 1. While EOF is currently defined as -1 it is bad form to assume this.
1997-07-25#if __STDC__ --> #ifdef __STDC__Michael Shalayeff
1996-08-19Fix RCS idsThorsten Lockert
Make sure everything uses {SYS,}LIBC_SCCS properly
1995-10-18initial import of NetBSD treeTheo de Raadt