Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6ISafeString::strncat ( P6CHAR pszDest,
P6SIZE  cDest,
const P6CHAR pszSource,
P6SIZE  cCount 
)
pure virtual

Concatentates cCount characters from pszSource onto pszDest and always NULL terminates the output.

Parameters
pszDest[ in ] A pointer to the destination string.
cDest[ in ] The size of the destination string in bytes.
pszSource[ in ] A pointer to the NULL terminated string to concatenate onto pszDest.
cCount[ in ] The number of charcters in pszSource to concatentate onto pszDest.
Returns
SuccessP6R::eOk 
FailureP6R::eInvalidArgpszDest or pszSource is NULL or cDest is zero
P6R::eTooBigThere is not enough room in pszDest to copy the requested number of characters from pszSource. The output was truncated.