MKI_CopyA (Strings) Changed in Version 2019.1

www.CAD6.com

C++ Syntax

void

MKI_CopyA(

 LPSTR f_pszDestin,

 const size_t f_unMaxSize,

 LPCSTR f_pszSource1 );

 

void

MKI_CopyA(

 LPSTR f_pszDestin,

 const size_t f_unMaxSize,

 LPCSTR f_pszSource1,

 LPCSTR f_pszSource2 );

 

void

MKI_CopyA(

 LPSTR f_pszDestin,

 const size_t f_unMaxSize,

 LPCSTR f_pszSource1,

 LPCSTR f_pszSource2,

 LPCSTR f_pszSource3 );

 

void

MKI_CopyA( 

 LPSTR f_pszDestin,

 const size_t f_unMaxSize,

 LPCSTR f_pszSource1,

 LPCSTR f_pszSource2,

 LPCSTR f_pszSource3,

 LPCSTR f_pszSource4 );

 

void

MKI_CopyA(

 LPSTR f_pszDestin,

 const size_t f_unMaxSize,

 LPCSTR f_pszSource1,

 LPCSTR f_pszSource2,

 LPCSTR f_pszSource3,

 LPCSTR f_pszSource4,

 LPCSTR f_pszSource5 );

 

void

MKI_CopyA(

 LPSTR f_pszDestin,

 const size_t f_unMaxSize,

 LPCSTR f_pszSource1,

 LPCSTR f_pszSource2,

 LPCSTR f_pszSource3,

 LPCSTR f_pszSource4,

 LPCSTR f_pszSource5,

 LPCSTR f_pszSource6 );

 

void

MKI_CopyA(

 LPSTR f_pszDestin,

 const size_t f_unMaxSize,

 LPCSTR f_pszSource1,

 LPCSTR f_pszSource2,

 LPCSTR f_pszSource3,

 LPCSTR f_pszSource4,

 LPCSTR f_pszSource5,

 LPCSTR f_pszSource6,

 LPCSTR f_pszSource7 );

 

void

MKI_CopyA(

 LPSTR f_pszDestin,

 const size_t f_unMaxSize,

 const char f_chChar );

 

template <size_t f_unSize> void

MKI_CopyA(

 char (&f_rDestin)[f_unSize],

 ... );

 

Copies one or multiple Ansi or UTF-8 texts to one other Ansi or UTF-8 text.

 

Parameters

f_pszDestin / f_rDestin

[LPSTR]  Pointer to or [char[]&] Reference to the destination text.

f_unMaxSize

[const size_t] Maximum allowed length of the destination text in Ansi or UTF-8 characters including the terminating '\0' character.

f_pszSource1

f_pszSource2

f_pszSource3

f_pszSource4

f_pszSource5

f_pszSource6

f_pszSource7

[LPCSTR] Addresses of the source texts.

f_chChar

[char] Character to be copied.

 

Comment

It is guaranteed that the resulting text will always be terminated with a '\0' character!

 

CAD6interface 2026.0 - Copyright 2026 Malz++Kassner® GmbH