Subject: Re: strcpy(3) manpage
To: None <tech-userlevel@netbsd.org>
From: Luke Mewburn <lukem@netbsd.org>
List: tech-userlevel
Date: 05/06/2003 19:58:34
On Tue, May 06, 2003 at 09:05:07AM +0200, Christoph Kaegi wrote:
|
| The above man page says:
|
| -------------------------------------- 8< --------------------------------------
| The strncpy() copies not more than len characters into dst, appending
| `\0' characters if src is less than len characters long, and not termi-
| nating dst if src is more than len characters long.
| -------------------------------------- 8< --------------------------------------
|
| What ist strcpy doing, if src is EXACTLY len characters long?
|
| I guess it doesn't terminate dst. If so, wouldn't it be a good idea
| to mention this in the manpage?
I've fixed this. Thanks for letting us know.