summaryrefslogtreecommitdiff
path: root/lib/libc/stdio
AgeCommit message (Collapse)Author
2001-12-07Avoid Po/Pq.wiz
2001-12-07Slight grammar improvement.wiz
2001-12-07Markup getwc in one place.wiz
2001-12-07Grammar improvements, some additional markup and a typo fix.wiz
2001-12-07g/c #if 0.yamt
2001-12-07add files forgotten in my previous commit.yamt
2001-12-07- make FILE structure extensible without breaking binary-compatibility.yamt
- add fputwc, fgetwc, fwide and related functions. - add hooks needed to maintain the orientation of file stream.
2001-12-02C99: Recognize %F here, too.kleink
2001-12-02Fix a mis-pasting in previous; pointed out by Thomas Klausner.kleink
2001-12-02C99:kleink
* Recognize %F. * Convert {Infinity,NaN} to {"inf","nan"} for %[efg], and to {"INF","NAN"} for %[EFG].
2001-11-28Since we're returned the sign of a floating-point number by __dtoa(),kleink
use that to decide whether to include a minus sign in the result. Fixes printing -0.0, and thus PR lib/3137.
2001-11-27Ugh, back out last commit. It makes vfprintf depend on -lm.augustss
2001-11-27Print sign of -0.0 correctly. Fixes PR 3137 (mine).augustss
2001-11-04fix WARNS=2 (-Wshadow) warningslukem
2001-10-17Drop a VAX/Tahoe reference (the VAX case wasn't true with the current compilerkleink
either).
2001-09-24va_{start,end} audit:wiz
Make sure that each va_start has one and only one matching va_end, especially in error cases. If the va_list is used multiple times, do multiple va_starts/va_ends. If a function gets va_list as argument, don't let it use va_end (since it's the callers responsibility). Improved by comments from enami and christos -- thanks! Heimdal/krb4/KAME changes already fed back, rest to follow. Inspired by, but not not based on, OpenBSD.
2001-09-16Mainly sort SEE ALSO, but also sort sections, and some punctuation andwiz
paragraph fixes.
2001-09-16Boring whitespace fixes.wiz
2001-07-06Do not xref pc(1)abs
2001-06-22Draw attention to the fact that the created file/dir may not be readableaymeric
or writable due to a weird umask.
2001-06-21casts to size_tchristos
2001-04-30Clarify C standards situation a bit.kleink
2001-04-28* Move definitions of exact-width integer types from <machine/types.h>kleink
to <sys/types.h> and <sys/stdint.h>. * Add a new C99 <stdint.h> header, which provides integer types of explicit width, related limits and integer constant macros. * Extend <inttypes.h> to provide <stdint.h> definitions and format macros for printf() and scanf(). * Add C99 strtoimax() and strtoumax() functions. * Use the latter within scanf(). * Add C99 %j, %t and %z printf()/scanf() conversions for intmax_t, pointer-type and size_t arguments.
2001-04-26Fix an ... interesting pasto in the description of the l length modifierkleink
that's been here forever.
2001-04-25Document getc_unlocked(3), getchar_unlocked(3), putc_unlocked(3) andkleink
putchar_unlocked(3); fixes PR lib/11340.
2001-04-13Need an internal name for asprintf(3).kleink
2001-04-03Xr printf(9)jhawk
2001-01-25apparently ansi c only required fread(3) to return 0 if size or nmembs == 0.lukem
however, susv2 adds the same to fwrite(3), so add the explicit check. document this for both fread & fwrite. move diagassert for buf!=NULL to after the (size * nmembs) == 0 check. this has the helpful side effect of preventing the _DIAGASSERT()ion in fwrite() being triggered by lots of 3rdparty code that calls fwrite() with buf=NULL count=0
2000-12-30initialize mbstate_t properly.itojun
2000-12-29Sprinkle some __restrict into stdio.kleink
2000-12-23make printf-variant work with stateful encodings.itojun
2000-12-10fix duplicate declaration of __glue.christos
2000-11-29This is for completeness only (to make fdopen symmetric with fopen and freopen)christos
and to match the documentation. Return an error if "f" was specified and the file descriptor does not refer to a plain file.
2000-11-29Add checks for O_NDELAY [which indicates that we only want plain files],christos
and return an error if the file was not plain.
2000-11-29make sure we preserve errno.christos
2000-10-19Actually EINVAL fits the circumstances better.kleink
2000-10-19C99: Passing a null pointer as the buffer argument to snprintf() andkleink
vsnprintf() is permitted when the size argument is zero as well; mostly from Peter Seebach in PR standards/9603.
2000-10-18Make "f" standout better.kim
2000-07-26XCU5 -> XSH5.kleink
2000-07-26Oops, forgot to define weak aliases for public names.kleink
Fixes PR {pkg,lib}/10655.
2000-07-16v*scanf() are hardly 'new to this release' when they havejdolecek
been around since 386BSD-0.1 import; they have been present in 4.4BSD-Lite at least, can't currently check if even in 4.3BSD put note aboud eventual removing of compatibility formats to NOTES, it's hardly a bug description
2000-07-08Attach __format__ attributes to local __sbprintf functionsommerfeld
2000-07-08Elaborate a bit on fseeko() and ftello().kleink
2000-07-08Bump date for fseeko() and ftello().kleink
2000-07-08In fgetpos() and fsetpos(), use ftello() and fseeko(), respectively, to avoidkleink
truncating the value stored in the fpos_t object operated on to that of a long integer; adresses PR lib/6637.
2000-07-08XCU5: Add fseeko() and ftello() functions which provide the functionality ofkleink
fseek() and ftell(), respectively, but operate on file offsets of type off_t.
2000-05-17Comment out a paragraph describing behavior which NetBSD's fopen(3) doesfair
not exhibit, per PR 6072.
2000-03-08Replace internal use of strto{,u}q() with strto{,u}ll().kleink
2000-01-22Delint.mycroft
Remove trailing ; from uses of __weak_alias(). The macro inserts this if needed.
2000-01-21Need to include "reentrant.h" for FLOCKFILE macros.wrstuden