[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Moving /var/run to a tmpfs?


On Tue, 19 Sep 2006 21:52:12 +0200
"Martijn van Oosterhout" <kleptog@gmail.com> wrote:

> Odd, I always thought is was because C did not have enough int types:
> char    1 bytes
> short  2 bytes
> int       4 bytes
> long   8 bytes
> If you make an int 8 bytes, you have to find some other way of
> indicating one of the shorter types (short short maybe? or long
> char?).

Nothing says long has to be bigger that int, only thing which is
defined is:

sizeof(short) <= sizeof(int) <= sizeof(long)

so having short, int, long of same size is not a problem.

	Michal Čihař | http://cihar.com | http://blog.cihar.com

Attachment: signature.asc
Description: PGP signature

Reply to: