This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: [RFC] xnsprintf()
On Sun, 13 Mar 2005 10:41:55 -0500
Daniel Jacobowitz <drow@false.org> wrote:
> On Sun, Mar 13, 2005 at 03:48:52PM +0100, Mark Kettenis wrote:
> >
> > So right now I'm wondering whether we should have a function, say
> > xsnprintf(), that checks whether the string fits in the buffer, and
> > throws an internal-error if it doesn't.
> >
> > Opinions?
>
> Sure. Seems like a good fit with xasprintf and xstrprintf.
I agree.
Kevin