Oops, sorry, I forgot that I consider 1999 "modern", and most of my systems are from 1999, so are the manpages. So yes, probably using snprintf is safe, although you see that M$VC gives problems. | alexander ewering instinctive new media | ae[@]instinctive[.]de http://www[.]instinctive[.]de