Date: Tue, 2 Feb 2010 19:02:08 +0000 (UTC) From: Ed Schouten <ed@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/lib/libc/string strndup.c Message-ID: <201002021902.o12J2W6R001083@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
ed 2010-02-02 19:02:08 UTC FreeBSD src repository Modified files: lib/libc/string strndup.c Log: SVN rev 203391 on 2010-02-02 19:02:08Z by ed Implement strndup(3) using strnlen(3). This makes the implementation a bit more consistent with strdup(3), which uses strlen(3). Revision Changes Path 1.2 +1 -3 src/lib/libc/string/strndup.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201002021902.o12J2W6R001083>