pointer size problems

dan%cit-vax at sri-unix.UUCP dan%cit-vax at sri-unix.UUCP
Fri Mar 2 11:24:48 AEST 1984


From:  Dan Whelan <dan at cit-vax>

read(fd, &y, sizeof(y)) is not portable because sizeof reflects the
compiler's opinions on alignment and padding.



More information about the Comp.unix.wizards mailing list