[stgt] [PATCH 1/4] struct concat_buf and concat_printf() for printing to buffers

FUJITA Tomonori fujita.tomonori at lab.ntt.co.jp
Sat Dec 17 09:26:40 CET 2011


Very sorry for the delay.

On Sun, 27 Nov 2011 08:12:31 +0000
Alexander Nezhinsky <alexandern at mellanox.com> wrote:

> If anything, we could use another mechanism appearing on the same manual page
> that you sent: obstack. 
> 
> But i guess that even a better option would be a string stream opened by 
> open_memstream():
> http://www.gnu.org/s/hello/manual/libc/String-Streams.html#String-Streams

I like the idea of introducing a self-descriptive buffer structure.

I want to avoid reinventing the wheel so I prefer open_memstream
stuff.
--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html



More information about the stgt mailing list