sizeof

Thomas M. Breuel breuel at harvard.ARPA
Tue Feb 5 11:23:55 AEST 1985


> Does anybody other than Cottrell have difficulty coping
> with various sizes of pointers?

Yes, I do, and looking at UN*X source code for the VAX and the PDP
I would believe that most of Berkley's programmers/students would
also have problems.

Of course, you can always work around sizeof(char *)!=sizeof(int *)
(or sizeof(char *)!=sizeof(int)), but often it is a hassle, and
it makes porting old (4.2BSD :-) source code very difficult.

					Thomas.



More information about the Comp.lang.c mailing list