beautypg.com

Clickutilsetdefaultstring – Wavetronix Click 500 (programmable controller) (CLK-500) - Developer Guide User Manual

Page 191

background image

190

APPENDIX • CLICK 500 DEVELOPER GUIDE

ClickUtilSetDefaultString

Copies either “len” length bytes or up to 255 bytes pointed to by the “src” far pointer until

a null terminator is reached. The null terminator is NOT copied. The data is copied into

the location pointed to by the “dst” near pointer. The “dst” buffer will be padded with 0x00

valued bytes until the array is of length specified by the “len” parameter.

˽

LIBRARY – click500util.LIB

˽

SYNTAX –

void ClickUtilSetDefaultString(char * dst, char far * src,
int len)

˽

PARAMETER1 – A pointer to the destination

˽

PARAMETER2 – A pointer to the source

˽

PARAMETER3 – The length

˽

RETURN VALUE – None