/usr/src/lib/libc/string/strlcpy.c ANSI function declaration

Liam J Foy liamfoy at sepulcrum.org
Sun Dec 19 11:53:52 PST 2004


On Sun, Dec 19, 2004 at 11:53:47AM +0000, Steve Mynott wrote:
> --- strlcpy.c.orig      2004-10-26 17:10:37.000000000 +0100
> +++ strlcpy.c   2004-12-19 11:50:17.000000000 +0000
> @@ -39,10 +39,8 @@
>   * will be copied.  Always NUL terminates (unless siz == 0).
>   * Returns strlen(src); if retval >= siz, truncation occurred.
>   */
> -size_t strlcpy(dst, src, siz)
> -       char *dst;
> -       const char *src;
> -       size_t siz;
> +size_t
> +strlcpy(char *dst, const char *src, size_t siz)
>  {
>         char *d = dst;
>         const char *s = src;

Great, thanks. I will take care of this.

-- 
- Liam J. Foy
liamfoy at xxxxxxxxxxxxx
New wind is going to find your sail...





More information about the Submit mailing list