RAD Studio
ContentsIndex
PreviousUpNext
_mbsnbcpy

Header File 

mbstring.h 

Category 

Memory and String Manipulation Routines 

Prototype 

unsigned char *_mbsnbcpy(unsigned char *dest, unsigned char *src, size_t maxlen); 

Description 

The _mbsnbcpy function copies at most maxlen number of characters from the src buffer to the dest buffer. The dest buffer is null terminated after the copy. 

It is the user’s responsibility to be sure that dest is large enough to allow the copy. An improper buffer size can result in memory corruption. 

Return Value 

The function returns dest.

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!