Re: c equivilant to "copy"
From: bd (bdonlan_at_gmail.com)
Date: 01/17/05
- Next message: bd: "Re: Implemenation Indepdent Way to Move LSByte of Char to MSB of Int, etc"
- Previous message: bd: "Re: how to extern structure?"
- In reply to: CBFalconer: "Re: c equivilant to "copy""
- Next in thread: CBFalconer: "Re: c equivilant to "copy""
- Reply: CBFalconer: "Re: c equivilant to "copy""
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 17 Jan 2005 14:47:30 -0500
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
CBFalconer wrote:
[snip]
> However you will get better and safer results by using strlcpy (and
> strlcat) as proposed by the BSD group. You can find an
> implementation, justification, and description at:
>
> <http://cbfalconer.home.att.net/download/strlcpy.zip>
>
Until this becomes standard one must not use it in ANSI/ISO C comforming
programs, as it intrudes upon the str*() namespace.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
iD8DBQFB7BZS+hz2VlChukwRAkV4AJ9RSs/cdfx1vwnw9t64mGo6k3HYswCfYcdk
n+A4IQXI6M/7M66UM7ggeuE=
=bL30
-----END PGP SIGNATURE-----
- Next message: bd: "Re: Implemenation Indepdent Way to Move LSByte of Char to MSB of Int, etc"
- Previous message: bd: "Re: how to extern structure?"
- In reply to: CBFalconer: "Re: c equivilant to "copy""
- Next in thread: CBFalconer: "Re: c equivilant to "copy""
- Reply: CBFalconer: "Re: c equivilant to "copy""
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|