Standard type for code pointers?
Jens Schweikhardt
schweikh at schweikhardt.net
Wed Apr 20 06:12:25 PDT 2005
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)
More information about the freebsd-standards
mailing list