Add strndup

joerg at britannica.bec.de joerg at britannica.bec.de
Tue Jun 20 12:58:06 PDT 2006


On Tue, Jun 20, 2006 at 09:44:17PM +0200, Andreas Hauser wrote:
> this patch adds strndup(3) and makes strdup(3) use it.

Were is it used? strndup(3) feels completely useless, even more than
memdup. Aka a typical glibc invention.

Joerg





More information about the Submit mailing list