summaryrefslogtreecommitdiff
path: root/libs/PowerPC_EABI_Support/MSL/MSL_C/MSL_Common/Include/string
blob: 27c03be9d973dcd8dfacdf6f61fd05b266acaf62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#ifndef MSL_STRING_H_
#define MSL_STRING_H_

#include <cstring>

namespace std {
using ::memcpy;
using ::memset;
using ::memcmp;
using ::memchr;
using ::memmove;

using ::strlen;
using ::strncmp;
using ::strcmp;
using ::strcat;
using ::strncpy;
using ::strcpy;

using ::strnicmp;
using ::stricmp;
using ::wcslen;

inline char* strchr(char* str, int c) {
    return ::strchr(str, c);
}

inline char* strrchr(char* str, int c) {
    return ::strrchr(str, c);
}

};  // namespace std

#endif