summaryrefslogtreecommitdiff
path: root/firmware/libc/include/string.h (follow)
Commit message (Collapse)AuthorAge
* Add mempcpy implementationMichael Sevakis2014-08-29
| | | | | | | | | | | | | | A GNU extension that returns dst + size instead of dst. It's a nice shortcut when copying strings with a known size or back-to-back blocks and you have to do it often. May of course be called directly or alternately through __builtin_mempcpy in some compiler versions. For ASM on native targets, it is implemented as an alternate entrypoint to memcpy which adds minimal code and overhead. Change-Id: I4cbb3483f6df3c1007247fe0a95fd7078737462b
* Don't define str(n,i)cmp(i): we don't use thoseRafaël Carré2011-12-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31148 a1c6a512-1295-4272-9138-f99709370657
* Define size_t the way the gcc/glibc people intendedFrank Gevaerts2010-05-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25862 a1c6a512-1295-4272-9138-f99709370657
* string.h shouldn't include stddef.hFrank Gevaerts2010-05-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25860 a1c6a512-1295-4272-9138-f99709370657
* Move c/h files implementing/defining standard library stuff into a new libc ↵Thomas Martitz2010-05-06
directory, also standard'ify some parts of the code base (almost entirely #include fixes). This is to a) to cleanup firmware/common and firmware/include a bit, but also b) for Rockbox as an application which should use the host system's c library and headers, separating makes it easy to exclude our files from the build. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25850 a1c6a512-1295-4272-9138-f99709370657