This repository has been archived on 2024-12-16. You can view files and clone it, but cannot push or open issues or pull requests.
CodeBlocksPortable/WATCOM/samples/clibexam/kanji/jstrncat.c

15 lines
272 B
C
Raw Permalink Normal View History

#include <stdio.h>
#include <string.h>
#include <jstring.h>
JCHAR buffer[80];
void main()
{
strcpy( buffer, "Hello " );
jstrncat( buffer, "world", 8 );
printf( "%s\n", buffer );
jstrncat( buffer, "*************", 4 );
printf( "%s\n", buffer );
}