[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: strlcpy and strlcat in linux libc ?



On Tue, Mar 05, 2002 at 01:58:24PM +0000, Richard Kettlewell wrote:
> The OpenBSD man page seems fairly clear to me; I wrote my own versions
> of strlcpy/strlcat from it.
> 
> What do you think the ambiguities are?

A man page is not a formal specification. You have no guarantee that
other implementations based their version on the OpenBSD man page (and
there are, in fact, slightly different implementations IIRC.)

-- 
Mike Stone

Attachment: pgpyLWMc7KI4P.pgp
Description: PGP signature


Reply to: