null pointers
Posted Mar 28, 2008 22:33 UTC (Fri) by
anton (subscriber, #25547)
In reply to:
null pointers by nix
Parent article:
Who maintains dpkg?
On [PPC64 and IA64] it so happens that data pointers are
all the same size: but function pointers are larger.
Not on Linux-PPC64 (and probably not on Linux-IA64, either):
#include <stdio.h>
int main()
{
printf("%ld %ld\n", sizeof(void *), sizeof(int(*)()));
return 0;
}
prints
8 8
(
Log in to post comments)