🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.os.linux.programacion
Article #5805

Re: tama�o en bytes

#5805
From: Alvaro G. Vicario
Date: Mon, 08 Sep 2003 14:37
19 lines
1640 bytes
"Matias Woloski" <woloski@sion.com> escribi� en el mensaje
news:bji3ts$iv42b$1@ID-148083.news.uni-berlin.de...
> En redhat 8 hice sizeof(xxx) y obtuve este resultado en bytes:
>
> int: 4
> short: 2
> long: 4
> float: 4
> double: 8
> char: 1
>
> Me gustaria saber si estos tama�os se mantienen en todas las
distribuciones
> de linux... por ej en redhat 6, debian, suse, etc.

Seguramente no, y si es as� ser� casualidad. Ahora mismo no estoy muy seguro
de si depende de la arquitectura de la m�quina, del compilador o de qu�,
pero no es algo con lo que se pueda contar. Es mejor que utilices siempre
las constantes que te indican el tama�o de un dato.
Technical Details
Message-ID: <bji479$ig84j$1@ID-157797.news.uni-berlin.de>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.cs.ubc.ca!skynet.be!skynet.be!fu-berlin.de!uni-berlin.de!10.red-80-37-15.pooles.rima-tde.NET!not-for-mail
References: <bji3ts$iv42b$1@ID-148083.news.uni-berlin.de>

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII
X-Google-Thread: f86c8,6bded6c0142ea4bd
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2003-09-08 07:37:31 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.cs.ubc.ca!skynet.be!skynet.be!fu-berlin.de!uni-berlin.de!10.red-80-37-15.pooles.rima-tde.NET!not-for-mail
From: "Alvaro G. Vicario" <alvaro.QUITAR_REMOVE@telecomputeronline.com>
Newsgroups: es.comp.os.linux.programacion
Subject: Re: tama�o en bytes
Date: Mon, 8 Sep 2003 16:37:28 +0200
Lines: 21
Message-ID: <bji479$ig84j$1@ID-157797.news.uni-berlin.de>
References: <bji3ts$iv42b$1@ID-148083.news.uni-berlin.de>
NNTP-Posting-Host: 10.red-80-37-15.pooles.rima-tde.net (80.37.15.10)
X-Trace: news.uni-berlin.de 1063031849 19406995 80.37.15.10 (16 [157797])
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165