delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/11/30/21:07:06

Date: Tue, 30 Nov 1999 20:58:10 -0500
Message-Id: <199912010158.UAA18978@envy.delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: djgpp AT delorie DOT com
In-reply-to: <38447026.1C29B562@id-base.com> (sephiroth@id-base.com)
Subject: Re: sizeof() but nothing to do with sizeof( some_structure )
References: <38447026 DOT 1C29B562 AT id-base DOT com>
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> 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.

sizeof() is part of the C language and is handled internally by the
compiler.  It returns a size_t.

- Raw text -


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