strncat problem

N R A nra at
Tue Jul 19 13:19:00 EDT 1994

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 at (use this for general usage)
or         sculshaw at (Private - only checked at best 

More information about the grass-dev mailing list