summaryrefslogtreecommitdiff
path: root/firmware/include/string-extra.h
AgeCommit message (Collapse)Author
2014-08-29Hopefully fix most of the errors and warnings from the last pushMichael Sevakis
Change-Id: I1a466b2d55f120796910039a0296ca324c58e891
2014-08-29Add normal alloca() definition and implement a strdupa and friendsMichael Sevakis
Change-Id: I21c9c21fd664fb11bc8496ace4a389f535a030d6
2014-08-29Add mempcpy implementationMichael Sevakis
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
2010-08-12Move memset6() declaration to string-extra.h, kills a warning compiling for ↵Thomas Martitz
android since it ships a memory.h. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27789 a1c6a512-1295-4272-9138-f99709370657
2010-05-14Make the sim buildable with mingw againFrank Gevaerts
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26037 a1c6a512-1295-4272-9138-f99709370657
2010-05-06Move c/h files implementing/defining standard library stuff into a new libc ↵Thomas Martitz
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