Explain how wcswcs ended up in ndk_cruft.cpp.

Change-Id: Ie45148095b2d5c3896c0df623d5d06a700c33c70
This commit is contained in:
Elliott Hughes 2014-08-06 10:47:33 -07:00
parent 4ad5066e1d
commit 1628eb1d43

View File

@ -225,6 +225,7 @@ extern "C" int tkill(pid_t tid, int sig) {
return syscall(__NR_tkill, tid, sig);
}
// This was removed from POSIX 2008.
extern "C" wchar_t* wcswcs(wchar_t* haystack, wchar_t* needle) {
return wcsstr(haystack, needle);
}
@ -267,7 +268,7 @@ extern "C" int getdtablesize() {
return r.rlim_cur;
}
// Only used by ftime, which was removed from POSIX.
// Only used by ftime, which was removed from POSIX 2008.
struct timeb {
time_t time;
unsigned short millitm;