1
/***********************************************************************
4
(c) 1994, 1995 Innobase Oy
6
Created 5/30/1994 Heikki Tuuri
7
************************************************************************/
11
ut_memcpy(void* dest, const void* sour, ulint n)
13
return(memcpy(dest, sour, n));
18
ut_memmove(void* dest, const void* sour, ulint n)
20
return(memmove(dest, sour, n));
25
ut_memcmp(const void* str1, const void* str2, ulint n)
27
return(memcmp(str1, str2, n));
32
ut_strcpy(char* dest, const char* sour)
34
return(strcpy(dest, sour));
39
ut_strlen(const char* str)
46
ut_strcmp(const void* str1, const void* str2)
48
return(strcmp((const char*)str1, (const char*)str2));
51
/**************************************************************************
52
Compute strlen(ut_strcpyq(str, q)). */
57
/* out: length of the string when quoted */
58
const char* str, /* in: null-terminated string */
59
char q) /* in: the quote character */
63
for (len = 0; *str; len++, str++) {