David Laight wrote:
Well aware of both. Thanks. I'm routinely giving lectures about them (http://shemesh.biz/lectures).Be aware that strncyp() rarely DTRT, in particular: - it doesn't guarantee to zero terminate the target - it is required to zero fill the target buffer Neither of these is usually desirable.
Seems like it's not my day for URLs.
http://shemesh.biz/lecures.html
Shachar
-- Shachar Shemesh Open Source integration consultant Home page & resume - http://www.shemesh.biz/