From: "Damian Yerrick" 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 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: 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" 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