Am Samstag, 29. Mai 2004 09:38 schrieb Duncan Simpson: > Also Angus put the terminator in too early---unless strncat guarantees > termination tje '\0' might get clobbered. A suggested alternative, which
strncat puts the '\0' at the end as long as there is enough room. So if you call it with a limit that lets room for the '\0', then you can also write the '\0' before the call to strncat. Georg