The original poster stated that he was passing a NULL POINTER to strcpy. You replied that it should be OK to copy from a NUL STRING. I understand the difference and was trying to casually point out that you were not addressing the question asked. Sorry if I ruffled some feathers.
Bob
----------
From: Pete Turnbull[SMTP:pete_at_dunnington.u-net.com]
Sent: Friday, April 24, 1998 7:39 PM
To: Discussion re-collecting of classic computers
Subject: Re: [getting old punched cards read]
On Apr 24, 17:10, Bob Withers wrote:
> There's a big difference between a NUL string and a NULL pointer.
Yes, but that's not what I wrote. A null string is an empty string (no
characters). A NUL string would be a string with a single ASCII NUL
character in it -- and rather hard to manipulate in C, since NULs mark the
ends. Nevertheless, they do exist, though that wasn't what I was talking
about.
--
Pete Peter Turnbull
Dept. of Computer Science
University of York
Received on Fri Apr 24 1998 - 19:55:25 BST