Sujet : Re: Something like string-streams existing in "C"?
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : comp.lang.cDate : 20. Dec 2024, 21:39:12
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vk4klg$3k7iv$4@dont-email.me>
References : 1 2 3 4 5 6 7 8
User-Agent : Pan/0.161 (Chasiv Yar; )
On Fri, 20 Dec 2024 08:32:24 -0300, Thiago Adams wrote:
For my needs a string stream is better I am using this
https://github.com/thradams/cake/blob/main/src/osstream.c Unfortunately
it is not compatible with FILE*.
As usual, standard C is pretty boring in this regard. And as usual, POSIX
offers something a bit more.
<
https://manpages.debian.org/3/open_wmemstream.3.en.html>