Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: struct heap 64-bit
- X-seq: zsh-workers 9208
- From: Tanaka Akira <akr@xxxxxxxxxxx>
- To: Clint Adams <schizo@xxxxxxxxxx>
- Subject: Re: PATCH: struct heap 64-bit
- Date: 05 Jan 2000 02:30:59 +0900
- Cc: zsh-workers@xxxxxxxxxxxxxx
- In-reply-to: Clint Adams's message of "Tue, 4 Jan 2000 12:25:33 -0500"
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <200001031011.LAA11708@xxxxxxxxxxxxxxxxxxxxxxxxx> <200001031201.NAA18846@xxxxxxxxxxxxxxxxxxxxxxxxx> <20000104105536.A8967@xxxxxxxx> <rsqk8lp94d5.fsf@xxxxxxxxxxxxxxxxx> <20000104122533.A9908@xxxxxxxx>
In article <20000104122533.A9908@xxxxxxxx>,
Clint Adams <schizo@xxxxxxxxxx> writes:
> Can you do that on a struct definition?
Yes.
% cat t.c
struct s {
char c;
} __attribute__ ((aligned (8)));
int main()
{
printf("%d\n", sizeof(struct s));
return 0;
}
% gcc t.c
% ./a.out
8
%
--
Tanaka Akira
Messages sorted by:
Reverse Date,
Date,
Thread,
Author