summaryrefslogtreecommitdiff
path: root/lib/libc/stdio/vswprintf.c
Commit message (Collapse)AuthorAgeFilesLines
* Next stage of stdio cleanup: Retire __sFILEX and merge the fields back intoJohn Baldwin2008-04-171-3/+2
| | | | | | | | | | | | | | | | | | | | | | __sFILE. This was supposed to be done in 6.0. Some notes: - Where possible I restored the various lines to their pre-__sFILEX state. - Retire INITEXTRA() and just initialize the wchar bits (orientation and mbstate) explicitly instead. The various places that used INITEXTRA didn't need the locking fields or _up initialized. (Some places needed _up to exist and not be off the end of a NULL or garbage pointer, but they didn't require it to be initialized to a specific value.) - For now, stdio.h "knows" that pthread_t is a 'struct pthread *' to avoid namespace pollution of including all the pthread types in stdio.h. Once we remove all the inlines and make __sFILE private it can go back to using pthread_t, etc. - This does not remove any of the inlines currently and does not change any of the public ABI of 'FILE'. MFC after: 1 month Reviewed by: peter Notes: svn path=/head/; revision=178287
* Fix EOVERFLOW detection in vswprintf(3)Max Khon2005-02-211-4/+5
| | | | | | | | Reviewed by: tjr MFC after: 2 weeks Notes: svn path=/head/; revision=142183
* Prepare to handle trivial state-dependent encodings. Full support forTim J. Robbins2004-04-071-1/+4
| | | | | | | | state-dependent encodings with locking shifts will come later if there is demand for it. Notes: svn path=/head/; revision=128002
* Pass NULL instead of a pointer to a zeroed mbstate_t object.Tim J. Robbins2003-11-051-3/+1
| | | | Notes: svn path=/head/; revision=122105
* Remove an unused variable: mbresult.Tim J. Robbins2003-01-071-1/+0
| | | | Notes: svn path=/head/; revision=108867
* Correctly handle the case where __vfwprintf() fails because it runs outTim J. Robbins2002-09-261-1/+7
| | | | | | | of memory. Notes: svn path=/head/; revision=103997
* Add implementations of the wprintf() family of functions, which performTim J. Robbins2002-09-211-0/+89
formatted wide-character output. Notes: svn path=/head/; revision=103739