summaryrefslogtreecommitdiff
path: root/src/lib/libc/string/index.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Make index/rindex weak aliases of strchr/strrchr since they are notmillert2015-05-151-43/+0
| | | | | part of the ISO C standard and have also been dropped from POSIX. OK guenther@ kettenis@
* restructure libc/string + libc/arch/*/string coperation regardingderaadt2014-11-301-5/+1
| | | | | | | | | | | | | | | | (potentially) MD versions (function dependent, not filename dependent) split out memcpy/memmove/bcopy and strchr/index/strrchr/rindex Bring back amd64 .S versions And the final touch: switch all architectures temporarily to MI memcpy.c, which contains syslog + abort for overlapping copies. A nice harsh undefined behaviour. We will clean the entire userland of the remaining issues in this catagory, then switch to the optimised memcpy which skips the memmove check. I tried to cut this change into pieces, but testing each sub-step on every architecture is too time consuming and mindnumbing. ok miod
* zap remaining rcsid.espie2005-08-081-4/+1
| | | | | | Kill old files that are no longer compiled. okay theo
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-021-6/+2
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* Convert to ANSI function headers and make 'ch' argument int, not char.millert2002-07-241-4/+3
| | | | Noticed by deraadt@
* Fix RCS idstholo1996-08-191-2/+1
| | | | Make sure everything uses {SYS,}LIBC_SCCS properly
* initial import of NetBSD treederaadt1995-10-181-0/+56