This may be teaching people to suck eggs but .....
I looked in my Borland library reference and the syntax for 'strncat' was
listed as
#include <string.h>
char *strncat(char *dest, const char *src, size_t maxlen);
and states that
"strncat copies at most 'maxlen' characters of 'src' to the end of 'dest'
and then appends a null character."
"It is available on UNIX and is defined in ANSI C."
Doesn't that mean that your original call was missing the 'maxlen'
parameter ??
Steve Culshaw
NRA North West
e-mail : nra@cix.compulink.co.uk (use this for general usage)
or sculshaw@cix.compulink.co.uk (Private - only checked at best
biweekly)