David Laight <david at l8s.co.uk> writes: > Yes, but even then strcpy may not be safe! Another thread could change > the length after you've counted it. Please, this is silly. If another thread is changing the string, all string functions will break, strlcpy is not magically "safer" than strcpy. -- Alexandre Julliard julliard at winehq.com