GString as target for read(2)
@walters
Submitted by Colin Walters Link to original bug (#744992)
Description
I want the ability to call read(2)
directly into a GString buffer. In order to do that, an API like g_string_ensure_capacity()
would be nice, so I can say "please ensure you have 4096 bytes at the end".
(Now that I look at it this is basically making g_string_maybe_expand() public).