l...@gnu.org (Ludovic Courtès) writes: > I would say returning both "number of bytes needed for the full string" > (as is the case) plus "number of bytes actually written" (which may be > smaller than MAX_LEN in the case of multi-byte encoding). This would be > an addition to the API, IMO, while `scm_to_locale_stringbuf ()' would > keep behaving as described, with the limitations you outline above.
That sounds good to me. Neil