[Info-vax] calloc fails with access violation
sapienzaf
sapienza at noesys.com
Tue Aug 25 18:01:31 EDT 2009
On Aug 25, 5:36 pm, Jim Duff <spam.t... at 127.0.0.1> wrote:
> Specifying calloc with sizeof
> (char) just makes the code more verbose.
I was wondering about the sizeof(char) too. The only thing I can come
up with is that in the event of Unicode character sets you wouldn't
want to assume char = 1 byte.
Then again, I haven't done any work with Unicode character sets (that
I can remember) so maybe I'm way off target.
More information about the Info-vax
mailing list