freebsd-dev/lib/libc/stdio
Bill Fenner 7735bb0f64 Implement several of the c99 updates to printf(3):
- New length modifiers: hh, j, t, z.
 - New flag: '.  Note that %'f is not yet implemented.
 - Use "inf"/"nan" for efg formats, "INF"/"NAN" for EFG formats.
 - Implemented %q in terms of %ll; if "quad_t" is not "long long"
   %q will break.

Still to do:
 - %C, %S, %lc, %ls (wide character support)
 - %'f (thousands in integer portion of %f)
 - %a/%A (exact hex representation of floating-point numbers)

Garrett Wollman wrote the first version of the vfprintf.c update;
Mike Barcroft wrote the first version of the printf.3 changes.
2001-11-30 06:12:15 +00:00
..
_flock_stub.c To be consistent, use the __weak_reference macro from <sys/cdefs.h> 2001-04-10 04:11:50 +00:00
asprintf.c libc MT-safety, part 2. 2001-02-11 22:06:43 +00:00
clrerr.c Remove _THREAD_SAFE and make libc thread-safe by default by 2001-01-24 13:01:12 +00:00
fclose.3 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
fclose.c libc MT-safety, part 2. 2001-02-11 22:06:43 +00:00
fdopen.c Move all stdio internal flags processing and setting out of __sread(), 2001-09-02 19:10:10 +00:00
feof.c libc MT-safety, part 2. 2001-02-11 22:06:43 +00:00
ferror.3 Cross-reference the fdopen and fileno manpages. 2001-11-14 16:24:51 +00:00
ferror.c libc MT-safety, part 2. 2001-02-11 22:06:43 +00:00
fflush.3 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
fflush.c Re-arrange my funopen(3) fix to minimize differences with original stdio code, 2001-09-03 02:24:37 +00:00
fgetc.c libc MT-safety, part 2. 2001-02-11 22:06:43 +00:00
fgetln.3 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
fgetln.c libc MT-safety, part 2. 2001-02-11 22:06:43 +00:00
fgetpos.c libc MT-safety, part 2. 2001-02-11 22:06:43 +00:00
fgets.3 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
fgets.c Remove _THREAD_SAFE and make libc thread-safe by default by 2001-01-24 13:01:12 +00:00
fileno.c libc MT-safety, part 2. 2001-02-11 22:06:43 +00:00
findfp.c Rip out the old __stdin/out/err stuff. It was completely 100% useless. :-( 2001-08-13 21:48:44 +00:00
flags.c Remove _THREAD_SAFE and make libc thread-safe by default by 2001-01-24 13:01:12 +00:00
floatio.h
fopen.3 mdoc(7) police: sort xrefs. 2001-11-20 13:58:21 +00:00
fopen.c Internal seeks are overoptimized. They should remember fp->_offset only for 2001-09-02 21:22:00 +00:00
fprintf.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
fpurge.c Remove _THREAD_SAFE and make libc thread-safe by default by 2001-01-24 13:01:12 +00:00
fputc.c Remove _THREAD_SAFE and make libc thread-safe by default by 2001-01-24 13:01:12 +00:00
fputs.3 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
fputs.c Remove _THREAD_SAFE and make libc thread-safe by default by 2001-01-24 13:01:12 +00:00
fread.3 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
fread.c Remove _THREAD_SAFE and make libc thread-safe by default by 2001-01-24 13:01:12 +00:00
freopen.c libc MT-safety, part 2. 2001-02-11 22:06:43 +00:00
fscanf.c Remove _THREAD_SAFE and make libc thread-safe by default by 2001-01-24 13:01:12 +00:00
fseek.3 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
fseek.c In > LONG_MAX test use sseek return value and not _offset which can be not 2001-10-25 22:56:04 +00:00
fsetpos.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
ftell.c Move all stdio internal flags processing and setting out of __sread(), 2001-09-02 19:10:10 +00:00
funopen.3 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
funopen.c Remove _THREAD_SAFE and make libc thread-safe by default by 2001-01-24 13:01:12 +00:00
fvwrite.c Re-arrange my funopen(3) fix to minimize differences with original stdio code, 2001-09-03 02:24:37 +00:00
fvwrite.h
fwalk.c libc MT-safety, part 2. 2001-02-11 22:06:43 +00:00
fwrite.c Remove _THREAD_SAFE and make libc thread-safe by default by 2001-01-24 13:01:12 +00:00
getc.3 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
getc.c libc MT-safety, part 2. 2001-02-11 22:06:43 +00:00
getchar.c Remove _THREAD_SAFE and make libc thread-safe by default by 2001-01-24 13:01:12 +00:00
gets.c Remove _THREAD_SAFE and make libc thread-safe by default by 2001-01-24 13:01:12 +00:00
getw.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
glue.h
local.h Re-arrange my funopen(3) fix to minimize differences with original stdio code, 2001-09-03 02:24:37 +00:00
makebuf.c Remove _THREAD_SAFE and make libc thread-safe by default by 2001-01-24 13:01:12 +00:00
Makefile.inc MAN[1-9] -> MAN. 2001-03-27 17:27:19 +00:00
mktemp.3 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
mktemp.c Remove _THREAD_SAFE and make libc thread-safe by default by 2001-01-24 13:01:12 +00:00
perror.c Remove _THREAD_SAFE and make libc thread-safe by default by 2001-01-24 13:01:12 +00:00
printf.3 Implement several of the c99 updates to printf(3): 2001-11-30 06:12:15 +00:00
printf.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
putc.3 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
putc.c Remove _THREAD_SAFE and make libc thread-safe by default by 2001-01-24 13:01:12 +00:00
putchar.c Remove _THREAD_SAFE and make libc thread-safe by default by 2001-01-24 13:01:12 +00:00
puts.c Remove _THREAD_SAFE and make libc thread-safe by default by 2001-01-24 13:01:12 +00:00
putw.c Remove _THREAD_SAFE and make libc thread-safe by default by 2001-01-24 13:01:12 +00:00
refill.c Re-arrange my funopen(3) fix to minimize differences with original stdio code, 2001-09-03 02:24:37 +00:00
remove.3 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
remove.c According to the susv2 man pages I have, remove(3) should act as 2000-08-28 15:45:42 +00:00
rewind.c Save errno before function call and restore it on success (because many 2001-09-01 15:28:24 +00:00
rget.c Fix style nit. 2001-03-05 11:10:12 +00:00
scanf.3 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
scanf.c Remove _THREAD_SAFE and make libc thread-safe by default by 2001-01-24 13:01:12 +00:00
setbuf.3 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
setbuf.c
setbuffer.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
setvbuf.c When __SOPT is cleared, clear __SOFF too. 2001-09-03 02:35:10 +00:00
snprintf.c revert freeing of memory that gets allocated when str == NULL 2001-06-18 04:40:52 +00:00
sprintf.c revert freeing of memory that gets allocated when str == NULL 2001-06-18 04:40:52 +00:00
sscanf.c Properly initialize a temporary FILE that is allocated off the stack. 2001-06-04 12:36:07 +00:00
stdio.3 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
stdio.c Help to recover from bad seek (i.e. negative or too big) happens beyond 2001-10-24 17:25:49 +00:00
tempnam.c Remove UNSAFE_WARN ifdef for mktemp warning (never defined) 1999-10-24 11:57:24 +00:00
tmpfile.c Attempt to use the environment variable TMPDIR for the temporary 2001-07-07 04:08:32 +00:00
tmpnam.3 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
tmpnam.c Remove UNSAFE_WARN ifdef for mktemp warning (never defined) 1999-10-24 11:57:24 +00:00
ungetc.3 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
ungetc.c Back out disabling ungetc() at 0, use different solution: 2001-09-01 01:56:54 +00:00
vasprintf.c Remove _THREAD_SAFE and make libc thread-safe by default by 2001-01-24 13:01:12 +00:00
vfprintf.c Implement several of the c99 updates to printf(3): 2001-11-30 06:12:15 +00:00
vfscanf.c Back out national digits support, POSIX explicetely disallows it: 2001-11-29 03:03:55 +00:00
vprintf.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
vscanf.c Remove _THREAD_SAFE and make libc thread-safe by default by 2001-01-24 13:01:12 +00:00
vsnprintf.c revert freeing of memory that gets allocated when str == NULL 2001-06-18 04:40:52 +00:00
vsprintf.c revert freeing of memory that gets allocated when str == NULL 2001-06-18 04:40:52 +00:00
vsscanf.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
wbuf.c Remove _THREAD_SAFE and make libc thread-safe by default by 2001-01-24 13:01:12 +00:00
wsetup.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00