OSDN Git Service

Add GNU extensions mempcpy and wmemcpy.
authorElliott Hughes <enh@google.com>
Thu, 19 Feb 2015 05:29:13 +0000 (21:29 -0800)
committerElliott Hughes <enh@google.com>
Thu, 19 Feb 2015 06:02:56 +0000 (22:02 -0800)
commit3cfb52aab2548df635e9672218cc433e14922fd3
treeeebbf162a1e5e1ed8726a9129ea17a410ebaa3ed
parent3e1b5f46c07aef5983ecf2feb1c3369b2cd200c0
Add GNU extensions mempcpy and wmemcpy.

Used by elfutils. On the bright side, they stopped using __mempcpy.

Bug: 18374026
Change-Id: Id29bbe6ef1c5ed5a171bb6c32182f129d8332abb
libc/Android.mk
libc/bionic/mempcpy.cpp [new file with mode: 0644]
libc/bionic/wmempcpy.cpp [new file with mode: 0644]
libc/include/string.h
libc/include/wchar.h
tests/string_test.cpp
tests/wchar_test.cpp