Subject: strcpy(3) manpage
To: None <tech-userlevel@netbsd.org>
From: Christoph Kaegi <kgc@zhwin.ch>
List: tech-userlevel
Date: 05/06/2003 09:05:07
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?


-- 
----------------------------------------------------------------------
Christoph Kaegi                                           kgc@zhwin.ch
----------------------------------------------------------------------