Update contrib.
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 "Eclipse Public License v1.0"
6 * which accompanies this distribution, and is available
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
15 * Definitions for memory and string functions.
44 IMPORT_C void* memchr (const void*, int, size_t);
45 IMPORT_C int memcmp (const void*, const void*, size_t);
46 IMPORT_C void* memcpy (void* dst, const void* src, size_t);
47 IMPORT_C void* _e32memcpy (void* dst, const void* src, size_t);
48 IMPORT_C void* memmove (void*, const void*, size_t);
49 IMPORT_C void* memset (void*, int, size_t);
50 IMPORT_C char* strcat (char *, const char *);
51 IMPORT_C wchar_t* wcscat (wchar_t *, const wchar_t *);
52 IMPORT_C char* strchr (const char *, int);
53 IMPORT_C int strcmp (const char *, const char *);
54 IMPORT_C int wcscmp (const wchar_t *, const wchar_t *);
55 IMPORT_C int strcoll (const char *, const char *);
56 IMPORT_C char* strcpy (char *, const char *);
57 IMPORT_C wchar_t* wcscpy (wchar_t *, const wchar_t *);
58 IMPORT_C size_t strcspn (const char *, const char *);
59 IMPORT_C char* strerror (int);
60 IMPORT_C size_t strlen (const char *);
61 IMPORT_C size_t wcslen (const wchar_t *);
62 IMPORT_C char* strncat (char *, const char *, size_t);
63 IMPORT_C int strncmp (const char *, const char *, size_t);
64 IMPORT_C char* strncpy (char *, const char *, size_t);
65 IMPORT_C char* strpbrk (const char *, const char *);
66 IMPORT_C char* strrchr (const char *, int);
67 IMPORT_C size_t strspn (const char *, const char *);
68 IMPORT_C char* strstr (const char *, const char *);
69 IMPORT_C size_t strxfrm (char *, const char *, size_t);
72 IMPORT_C char* strtok (char *, const char *);
75 IMPORT_C char* strtok_r (char *, const char *, char **);
78 EPOC32 bonus functions - _STRICT_ANSI
80 IMPORT_C int strcasecmp (const char *, const char *);
81 IMPORT_C char* strdup (const char *);
82 IMPORT_C wchar_t* wcsdup (const wchar_t *);
83 IMPORT_C int strncasecmp (const char *, const char *, size_t);
84 IMPORT_C char *rindex (const char *, int);
85 IMPORT_C char *index (const char *, int);
88 int bcmp (const char *, const char *, size_t);
89 void bcopy (const char *src, char *dst, size_t);
90 void bzero (char *, size_t);
92 void *memccpy (void*, const void*, int, size_t);
93 char *strsep (char **, const char *);
94 void swab (const char *, char *, size_t);
95 #endif /* ! _STRICT_ANSI */
100 #endif /* _STRING_H_ */