delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/11/30/22:37:30

Message-ID: <003e01bf3ba4$acd9e660$0100a8c0@pcpablo>
From: "Pablo M. Dotro" <pyd AT sion DOT com>
To: <djgpp AT delorie DOT com>
References: <38447026 DOT 1C29B562 AT id-base DOT com>
Subject: Re: sizeof() but nothing to do with sizeof( some_structure )
Date: Tue, 30 Nov 1999 23:35:00 -0300
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
Reply-To: djgpp AT delorie DOT com

AFAIK, sizeof() is an operator, not a function, so it is not in any header
files....
Common sense would tell it returns an int... but I am not sure... This
should be in the docs somewhere, or, if not, may be is in K&R....

Best regards,

Pablo M. Dotro
pyd AT sion DOT com                pdotro AT USSEnterprise DOT com
pdotro AT labs DOT df DOT uba DOT ar     ICQ#: 18144918
http://www.usuarios.sion.com/abismo

----- BEGIN GEEK CODE BLOCK -----
Version 3.12
GCS/S/IT/CM d- s: a23 c++$ UL P+ E W++ N++ o K- w
O? M V? PS PE- Y+ PGP>+ t++ 5+ X+ R+>+++ tv b++ DI? D++
G++ e h! r- y+
-----END GEEK CODE BLOCK -----
(para decodificar el bloque, visite www.geekcode.com)

----- Original Message -----
From: <sephiroth AT id-base DOT com>
Newsgroups: comp.os.msdos.djgpp
To: <djgpp AT delorie DOT com>
Sent: Tuesday, November 30, 1999 9:47 PM
Subject: sizeof() but nothing to do with sizeof( some_structure )


> Just wondering if sizeof() is actually defined in the header files( if
> it is, which one? ) or is it a function built into the compiler? I have
> looked through loads of header files, and have found no trace of it.
> Also, what data type does it return? Thanx in advance for any help.
>
> --
> shinyblue             Current listening:
> ---Blue Fish - One ---------------------
> ---Paul Van Dyk - Another way/Avenue ---
> - http://members.dencity.com/blahblur  -
>
>


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019