summaryrefslogtreecommitdiffstats
path: root/lib/libc/string/strndup.c
Commit message (Collapse)AuthorAgeFilesLines
* Implement strndup(3) using strnlen(3).ed2010-02-021-3/+1
| | | | | This makes the implementation a bit more consistent with strdup(3), which uses strlen(3).
* Import the strndup(3) function.kib2008-12-061-0/+53
Copyright attribution is kept the same as in original NetBSD source. Submitted by: Florian Smeets <flo kasimir com> Obtained from: NetBSD MFC after: 2 weeks
OpenPOWER on IntegriCloud