Email List: Xaustin-group-lX
[All Lists]

Re: Proposed submissions for the revision from The Open Group

To: yyyyyyyyyyyyyy@xxxxxxxxxxxxx
Subject: Re: Proposed submissions for the revision from The Open Group
From: Paul Eggert <yyyyyy@xxxxxxxxxxx>
Date: Tue, 10 Jan 2006 16:07:21 -0800
References: <1060109184758.ZM17257@skye.rdg.opengroup.org><17346.48571.685761.731503@khavrinen.csail.mit.edu><43C31FEB.70003@blueyonder.co.uk>
Garrett Wollman wrote:

> Why these and not strlcpy()/strlcat() from OpenBSD, which seem to
> have a wide following and actually has improved semantics over the
> functions on which they are based?

This topic came up before, in the thread rooted here:

http://www.opengroup.org/austin/mailarchives/ag/msg08066.html

You can see some objections to strlcpy and similar primitives here:

http://www.opengroup.org/austin/mailarchives/ag/msg08079.html

I particularly liked Ulrich Drepper's take, here:

http://www.opengroup.org/austin/mailarchives/ag/msg08120.html


API Set 1 doesn't include asprintf and vasprintf; is their omission
intensional?  They are not as general and flexible as open_memstream,
but they are handy.

<Prev in Thread] Current Thread [Next in Thread>