Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: "Jim Liu" <jjliu@cs.nchu.edu.tw>
Subject: caddr_t type issue
Date: Mon, 22 Apr 2002 21:48:13 +0800	[thread overview]
Message-ID: <aa14er$3k8@netnews.hinet.net> (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)





                 reply	other threads:[~2002-04-22 13:48 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox