2 * Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
4 * This component and the accompanying materials are made available
5 * under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
6 * which accompanies this distribution, and is available
7 * at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
15 * Definitions for memory and string functions.
48 IMPORT_C void* memchr (const void*, int, size_t);
49 IMPORT_C int memcmp (const void*, const void*, size_t);
50 IMPORT_C void* memcpy (void* dst, const void* src, size_t);
51 IMPORT_C void* _e32memcpy (void* dst, const void* src, size_t);
52 IMPORT_C void* memmove (void*, const void*, size_t);
53 IMPORT_C void* memset (void*, int, size_t);
54 IMPORT_C char* strcat (char *, const char *);
55 IMPORT_C wchar_t* wcscat (wchar_t *, const wchar_t *);
56 IMPORT_C char* strchr (const char *, int);
57 IMPORT_C int strcmp (const char *, const char *);
58 IMPORT_C int wcscmp (const wchar_t *, const wchar_t *);
59 IMPORT_C int strcoll (const char *, const char *);
60 IMPORT_C char* strcpy (char *, const char *);
61 IMPORT_C wchar_t* wcscpy (wchar_t *, const wchar_t *);
62 IMPORT_C size_t strcspn (const char *, const char *);
63 IMPORT_C char* strerror (int);
64 IMPORT_C size_t strlen (const char *);
65 IMPORT_C size_t wcslen (const wchar_t *);
66 IMPORT_C char* strncat (char *, const char *, size_t);
67 IMPORT_C int strncmp (const char *, const char *, size_t);
68 IMPORT_C char* strncpy (char *, const char *, size_t);
69 IMPORT_C char* strpbrk (const char *, const char *);
70 IMPORT_C char* strrchr (const char *, int);
71 IMPORT_C size_t strspn (const char *, const char *);
72 IMPORT_C char* strstr (const char *, const char *);
73 IMPORT_C size_t strxfrm (char *, const char *, size_t);
76 IMPORT_C char* strtok (char *, const char *);
79 IMPORT_C char* strtok_r (char *, const char *, char **);
82 EPOC32 bonus functions - _STRICT_ANSI
84 IMPORT_C int strcasecmp (const char *, const char *);
85 IMPORT_C char* strdup (const char *);
86 IMPORT_C wchar_t* wcsdup (const wchar_t *);
87 IMPORT_C int strncasecmp (const char *, const char *, size_t);
88 IMPORT_C char *rindex (const char *, int);
89 IMPORT_C char *index (const char *, int);
92 int bcmp (const char *, const char *, size_t);
93 void bcopy (const char *src, char *dst, size_t);
94 void bzero (char *, size_t);
96 void *memccpy (void*, const void*, int, size_t);
97 char *strsep (char **, const char *);
98 void swab (const char *, char *, size_t);
99 #endif /* ! _STRICT_ANSI */
104 #endif /* _STRING_H_ */