TIP: Click on subject to list as thread! ANSI
echo: c_echo
to: Jasen Betts
from: andrew clarke
date: 2004-01-30 20:11:20
subject: [C] Question about external variable initialization

Thu 2004-01-29 06:56, Jasen Betts (3:640/1042) wrote to andrew clarke:

 JB> strcpy won't overwrite NULL.

Erm, nope.  strcpy(NULL, "AAAAAAAAAAA"); will cause a segfault on
most OSes.

-- mail{at}ozzmosis.com

--- timEd/FreeBSD 1.11.b1
* Origin: Blizzard of Ozz, Melbourne, Victoria, Australia (3:633/267)
SEEN-BY: 633/267 270
@PATH: 633/267

SOURCE: echomail via fidonet.ozzmosis.com

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™.