TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: MART ORUAAS
from: JAVIER KOHEN
date: 1998-02-04 20:39:00
subject: char to string

On 28-Jan-98, Mart Oruaas wrote to Roger Scudder about char to string.
 MO> little test program. anyway, it seems to be safer to add \0
 MO> "manually" when using strncpy()
Only if the string to copy has n length and you pass m <= n as a copy
length.
Javier Kohen >jkohen@tough.com< [The_Crusher] http://jkohen.base.org
     +4:900/748.3+ _200:201/126_ ICQ:#3855350# PGPID:*3423EAA9*
.!. 'cause I, still believe, in anarchy! * The Exploited
--- Terminate 5.00/Pro 
---------------
* Origin: The King of The Ring (4:900/748.3)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.