|
Functions from <cstring> |
| Included are the functions defined in <cstring> and their <cwchar> equivalents.
- Todo:
- To be complete, we should add strcoll, and strxfrm.
|
| const void * | ACE_OS::memchr_emulation (const void *s, int c, size_t len) |
| | Emulated memchr - Finds a character in a buffer.
|
| char * | ACE_OS::strchr_emulation (char *s, int c) |
| const char * | ACE_OS::strchr_emulation (const char *s, int c) |
| size_t | ACE_OS::strcspn_emulation (const char *s, const char *reject) |
| | Emulated strcspn - Finds a substring in a string.
|
| char * | ACE_OS::strdup (const char *s) |
| | Returns a malloced duplicated string (char version).
|
| wchar_t * | ACE_OS::strdup (const wchar_t *s) |
| | Returns a malloced duplicated string (wchar_t version).
|
| char * | ACE_OS::strecpy (char *s, const char *t) |
| wchar_t * | ACE_OS::strecpy (wchar_t *s, const wchar_t *t) |
| char * | ACE_OS::strerror (int errnum) |
| | Returns a system error message.
|
| const char * | ACE_OS::strnchr (const char *s, int c, size_t len) |
| const wchar_t * | ACE_OS::strnchr (const wchar_t *s, ACE_WINT_T c, size_t len) |
| const char * | ACE_OS::strnstr (const char *s1, const char *s2, size_t len2) |
| const wchar_t * | ACE_OS::strnstr (const wchar_t *s1, const wchar_t *s2, size_t len2) |
| char * | ACE_OS::strrchr_emulation (char *s, int c) |
| const char * | ACE_OS::strrchr_emulation (const char *s, int c) |
| char * | ACE_OS::strsncpy (char *dst, const char *src, size_t maxlen) |
| | This is a "safe" c string copy function (char version).
|
| wchar_t * | ACE_OS::strsncpy (wchar_t *dst, const wchar_t *src, size_t maxlen) |
| | This is a "safe" c string copy function (wchar_t version).
|
Functions |
| char * | ACE_OS::strtok_r_emulation (char *s, const char *tokens, char **lasts) |
| | Emulated strtok_r.
|