diff options
author | 2019-08-13 11:27:06 +0000 | |
---|---|---|
committer | 2019-08-13 11:27:06 +0000 | |
commit | a8c2fa984a42b43be06898a09a59a660131f91cd (patch) | |
tree | 9531479b04c17b57030b04b3efc71575b14f9ffb /stdlib | |
parent | Add feature test macro _ISOC2X_SOURCE. (diff) | |
download | glibc-a8c2fa984a42b43be06898a09a59a660131f91cd.tar.xz glibc-a8c2fa984a42b43be06898a09a59a660131f91cd.zip |
Declare memccpy, strdup, strndup for C2X.
C2X adds the memccpy, strdup and strndup functions. This patch duly
adds __GLIBC_USE (ISOC2X) to the conditions under which <string.h>
declares them.
Tested for x86_64.
* string/string.h (memccpy): Also declare if [__GLIBC_USE (ISOC2X)].
(strdup): Likewise.
(strndup): Likewise.
Diffstat (limited to 'stdlib')
0 files changed, 0 insertions, 0 deletions