www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/12/01/02:21:32

From: "Damian Yerrick" <NOSP AT Musenet@pineight.8m.com>
Newsgroups: comp.os.msdos.djgpp
References: <38447026 DOT 1C29B562 AT id-base DOT com> <003e01bf3ba4$acd9e660$0100a8c0 AT pcpablo>
Subject: Re: sizeof() but nothing to do with sizeof( some_structure )
Lines: 13
Organization: Pin Eight Software <http://pineight.8m.com/>
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
Message-ID: <L9214.1389$aQ.39832@dfiatx1-snr1.gtei.net>
X-Trace: /wmC6COuZfgmGQfgriSkZMnyJYV5YAY4GvrxHlyxt9wVi82gncnDLXiOJ9VXG6GKdtf+nIW6EXlI!Ilzf+4koCJxIznYNDr7AzqTp7U9k9sr+5xOtDOPjwcTWg2bfn0xTrUFs4glOMlA6YVAnYU+U
X-Complaints-To: abuse AT gte DOT net
X-Abuse-Info: Please be sure to forward a copy of ALL headers
X-Abuse-Info: Otherwise we will be unable to process your complaint properly
NNTP-Posting-Date: Wed, 01 Dec 1999 05:15:23 GMT
Distribution: world
Date: Wed, 01 Dec 1999 05:15:24 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

"Pablo M. Dotro" <pyd AT sion DOT com> wrote:
> 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....

ANSI C says that sizeof() returns a size_t, which is
implementation-#defined.


Damian Yerrick


- Raw text -


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