Navigation:  Reference > Functions By Category > Memory > Pointer Manipulation >

_XSTRNCPY()

Previous pageReturn to chapter overviewNext page

Copy a NULL terminated string pointed to by pSrc to pDest memory location stopping at nMax bytes if NULL not found before.

If bytes copied are less than nMax fill the rest of pDest with NULLs up to nMax bytes.

 

Syntax:

_XSTRNCPY( pDest, pSrc, nMax) -> pDest