| strncpy | Function (ROM Call 0x26D)

string.h

char *strncpy (char *dest, const char *src, unsigned long maxlen);

Copies at most maxlen characters of src to dest.

strncpy copies up to maxlen characters from src into dest, truncating or null-padding dest. The target string, dest, might not be null-terminated if the length of src is maxlen or more. Returns dest.
Note: If the objects pointed to by src and dest overlap in memory, the behavior is undefined. strcpy assumes that src points to a buffer large enough to hold maxlen characters.

Used by: cmd_dialog, cmd_request, DlgMessage, handleVarLinkKey, LIO_Get, LIO_Receive, DynMenuAdd, DynMenuChange, PopupClear, PopupNew, ERD_notice, OO_GetAttr, EM_moveSymToExtMem, TokToStrN