summaryrefslogtreecommitdiff
path: root/lib/libc/stdio/printf.c
AgeCommit message (Collapse)Author
2013-04-19Add explicit locale versions for the printf family. Replace asprintf,joerg
snprintf and sprintf with simple wrappers around the corresponding va_list functions to reduce code duplication.
2012-03-15- ansify, knf.christos
- no functional changes
2003-08-07Move UCB-licensed code from 4-clause to 3-clause licence.agc
Patches provided by Joel Baker in PR 22280, verified by myself.
2003-01-18Merge the nathanw_sa branch.thorpej
2002-05-26__STDC__ is always defined on NetBSD.wiz
1999-09-20back out the #ifdef _DIAGNOSTIC argument checks; too many people complained.lukem
_DIAGASSERT() is still retained.
1999-09-16* use _DIAGASSERT() to check pointer arguments against NULL and filelukem
descriptors against -1 (as appropriate). * add actual checks which to detect stuff that would trigger_DIAGASSERT(), and attempt to return a sane error condition. * knf some code * remove some `register' decls. the first two items result in the addition of code similar to the following in various functions: _DIAGASSERT(path != NULL) #ifdef _DIAGNOSTIC if (path == NULL) { errno = EFAULT; return (-1); } #endif
1997-07-13Fix RCSID'schristos
Fix gcc warnings. Add prototypes for functions that were declared in more than one place to local.h or extern.h and use that instead.
1995-02-02Merged with 4.4lite.jtc
Changed to conform to NetBSD's new RCS Id convention.
1993-12-31Add explicit return types to function definitions.jtc
1993-08-26Declare rcsid strings so they are stored in text segment.jtc
1993-08-01Add RCS identifiers.mycroft
1993-03-21initial import of 386bsd-0.1 sourcescgd