Date: Wed, 20 Apr 2005 16:12:10 +0200 From: Jens Schweikhardt <schweikh@schweikhardt.net> To: Joseph Koshy <joseph.koshy@gmail.com> Cc: freebsd-standards@freebsd.org Subject: Re: Standard type for code pointers? Message-ID: <20050420141210.GA1271@schweikhardt.net> In-Reply-To: <84dead720504200541539f4c15@mail.gmail.com> References: <84dead720504200541539f4c15@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Apr 20, 2005 at 12:41:17PM +0000, Joseph Koshy wrote: # I'm looking for a standard type that is defined to have at least # as many bits as needed to hold a pointer to code. What would # that be? Any function pointer. All pointers to functions are assignment-compatible, but when dereferenced must call a function of the declared type, otherwise the behavior is undefined. Regards, Jens -- Jens Schweikhardt http://www.schweikhardt.net/ SIGSIG -- signature too long (core dumped)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050420141210.GA1271>