Path: utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!mcsun!ukc!tcdcs!wsl!john From: john@wsl.UUCP (John Allen on wsl) Newsgroups: comp.lang.c Subject: Re: strncpy Message-ID: <290@wsl.UUCP> Date: 5 Jan 90 01:05:40 GMT References: <11527@csli.Stanford.EDU> Reply-To: john@wsl.ie (John Allen on wsl) Organization: Workhorse Systems, Dublin, Ireland Lines: 9 Summary: Expires: Sender: Followup-To: strncpy() copies the termination NULL byte unless it would overrun the specified buffer. THIS IS COOL BEHAVIOUR. Why the hell else have a MAX byte count specification. -- People that don't know want to know from the people that do know and if the poeple that do know don't tell the people that don't know then the people that don't know still won't know. "Don't quote me on any issue whatsoever."