Re: ISO_C_BINDING and C strings conversion



Hello,

On 2011-02-03 15:45:20 -0500, vincenzo said:

My subroutine is limited but my objective is to get text from a small
entry box in a GTK+ GUI. So the text will probably be only some tens
of characters long.

The text *is expected* to be only tens of characters long,
and *is expected* to be well-formed.

Beware surprises.

Counting Richard's battle scars, I would try his solution first.
If for some reason it is unsuitable, modify it.

YMMV of course.

--
Cheers!

Dan Nagle

.