summaryrefslogtreecommitdiff
path: root/src/lib/libc/string/stpncpy.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* fix an off-by-one error where the return value would point to thenaddy2012-07-111-2/+2
| | | | character after the '\0'; ok guenther@
* Add stpcpy() and stpncpy(), pointless crap that made it into POSIX.guenther2012-01-171-0/+56
Includes friendly linker warning to wake up those dumb enough to use it. Committing for kettenis@, who ran away to the hills after writing it