diff options
| author | Florian Weimer <fweimer@redhat.com> | 2022-08-18 08:49:54 +0200 |
|---|---|---|
| committer | Florian Weimer <fweimer@redhat.com> | 2022-12-12 15:39:05 +0100 |
| commit | 2deb7d2cffb76dbcaf7ba051e616ccb7e275ed54 (patch) | |
| tree | 4bdd40fadbebb0f28bd561bb37bd1766c1c2eaa0 /include/printf_buffer.h | |
| parent | 214908c0def333495c359630d7822e7ccb6b8154 (diff) | |
| download | glibc-2deb7d2cffb76dbcaf7ba051e616ccb7e275ed54.tar.xz glibc-2deb7d2cffb76dbcaf7ba051e616ccb7e275ed54.zip | |
libio: Convert __vdprintf_internal to buffers
The internal buffer size is set to 2048 bytes. This is less than
the original BUFSIZ value used by buffered_vfprintf before
the conversion, but it hopefully covers all cases where write
boundaries matter.
Diffstat (limited to 'include/printf_buffer.h')
| -rw-r--r-- | include/printf_buffer.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/printf_buffer.h b/include/printf_buffer.h index 47e252b52e..3d4ef1d06c 100644 --- a/include/printf_buffer.h +++ b/include/printf_buffer.h @@ -49,6 +49,7 @@ enum __printf_buffer_mode __printf_buffer_mode_sprintf_chk, __printf_buffer_mode_to_file, __printf_buffer_mode_asprintf, + __printf_buffer_mode_dprintf, __printf_buffer_mode_strfmon, __printf_buffer_mode_fp, /* For __printf_fp_l_buffer. */ __printf_buffer_mode_fp_to_wide, /* For __wprintf_fp_l_buffer. */ @@ -305,6 +306,9 @@ void __printf_buffer_flush_to_file (struct __printf_buffer_to_file *) struct __printf_buffer_asprintf; void __printf_buffer_flush_asprintf (struct __printf_buffer_asprintf *) attribute_hidden; +struct __printf_buffer_dprintf; +void __printf_buffer_flush_dprintf (struct __printf_buffer_dprintf *) + attribute_hidden; struct __printf_buffer_fp; void __printf_buffer_flush_fp (struct __printf_buffer_fp *) attribute_hidden; |
