* caddr_t type issue
@ 2002-04-22 13:48 Jim Liu
0 siblings, 0 replies; only message in thread
From: Jim Liu @ 2002-04-22 13:48 UTC (permalink / raw)
Dear Sir,
In /usr/include/sys/types.h Line 219, there is a char * type:
typedef char * caddr_t; /* "core" (i.e. memory) address */
I used cxx -xtaso_short -taso -Zp4 -DTRU64 -g
compile my program. But sizeof(caddr_t) always 8 (64 bits).
It is very strange for me. Because sizeof(char *) is 4 (32 bits).
Even I use #pragma pointer_size short,
sizeof(caddr_t) still is 8 (64 bits).
Do you have any idea about this issue?
Jim (J. J. Liu)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-04-22 13:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-22 13:48 caddr_t type issue Jim Liu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox