1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-11-18 14:01:04 +03:00
Files
glibc/stdio-common/printf_buffer_flush.c
Florian Weimer af7f416551 libio: Convert __vasprintf_internal to buffers
The buffer resizing algorithm is slightly different.  The initial
buffer is on the stack, and small buffers are directly allocated
on the heap using the exact required size.  The overhead of the
additional copy is compensated by the lowered setup cost for buffers
compared to libio streams.

Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2022-12-19 18:56:55 +01:00

2.6 KiB