The world's most popular open source database
#include <my_global.h>#include "m_string.h"Include dependency graph for bchange.c:

Go to the source code of this file.
Functions | |
| void | bchange (register char *dst, uint old_length, register const char *src, uint new_length, uint tot_length) |
| void bchange | ( | register char * | dst, | |
| uint | old_length, | |||
| register const char * | src, | |||
| uint | new_length, | |||
| uint | tot_length | |||
| ) |
Definition at line 30 of file bchange.c.
References bmove(), bmove_upp(), and memcpy.
00032 { 00033 uint rest=tot_length-old_length; 00034 if (old_length < new_length) 00035 bmove_upp(dst+rest+new_length,dst+tot_length,rest); 00036 else 00037 bmove(dst+new_length,dst+old_length,rest); 00038 memcpy(dst,src,new_length); 00039 }
Here is the call graph for this function:

1.4.7

