summaryrefslogtreecommitdiff
path: root/lib/libc/stdio/vfwprintf.c
Commit message (Collapse)AuthorAgeFilesLines
* Use __sfvwrite() instead of __sputc() via __fputwc() to write to fakeTim J. Robbins2003-11-121-1/+30
| | | | | | | | | | | string files (__SSTR flag set). This is necessary because __sputc() does not respect the __SALC flag, and crashes trying to flush the buffer instead of resizing it. PR: 59167 Notes: svn path=/head/; revision=122547
* Pass NULL instead of a pointer to a zeroed mbstate_t object.Tim J. Robbins2003-11-051-5/+2
| | | | Notes: svn path=/head/; revision=122105
* %E-like %g and %G conversions should remove trailing zeroes unlessDavid Schultz2003-04-191-0/+7
| | | | | | | | | | | the # flag is present. Implement this behavior and add a comment describing it. Noticed by: Enache Adrian <enache@rdslink.ro> Pointy hat to: das Notes: svn path=/head/; revision=113723
* Merge in vfprintf.c rev. 1.58.Tim J. Robbins2003-04-141-9/+11
| | | | Notes: svn path=/head/; revision=113470
* Catch up with recent vfprintf.c changes.Tim J. Robbins2003-04-071-175/+215
| | | | Notes: svn path=/head/; revision=113199
* Add missing #include to unbreak previous commit.David Schultz2003-04-051-0/+1
| | | | Notes: svn path=/head/; revision=113143
* Correct some buffer sizes.David Schultz2003-04-051-9/+15
| | | | | | | | | | | | | - __vfprintf()'s 'buf' has never been used for floating point, so don't define it in terms of (incorrect) constants describing floating point numbers. The actual size needed depends on sizeof(uintmax_t) and locale details, so I slightly overestimated. - We don't need a 308-character buffer to store the string "308". With long doubles and %a we need more than three characters, though. Notes: svn path=/head/; revision=113142
* Merge vfprintf.c revision 1.52.Tim J. Robbins2003-03-141-2/+2
| | | | Notes: svn path=/head/; revision=112229
* Unexpand RCS tag.Tim J. Robbins2003-03-141-1/+1
| | | | Notes: svn path=/head/; revision=112223
* MFp4: Catch up to recent __dtoa() interface changes and removal of cvt()'sTim J. Robbins2003-03-131-11/+10
| | | | | | | last argument. Notes: svn path=/head/; revision=112174
* Set the error bit on the stream if an encoding error occurs. ImproveTim J. Robbins2002-10-161-1/+3
| | | | | | | handling of multibyte sequences representing null wide characters. Notes: svn path=/head/; revision=105234
* Add support for the XSI %C and %S formats, which are the same as %lcTim J. Robbins2002-10-161-0/+12
| | | | | | | and %ls. Notes: svn path=/head/; revision=105204
* Use the new va_copy macro to copy variable argument lists instead ofTim J. Robbins2002-09-241-1/+1
| | | | | | | | | | | assignment. This is needed on powerpc but is also more correct for the other ports. Submitted by: grehan Tested on: alpha, i386, sparc64 Notes: svn path=/head/; revision=103876
* Add implementations of the wprintf() family of functions, which performTim J. Robbins2002-09-211-0/+1538
formatted wide-character output. Notes: svn path=/head/; revision=103739