Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Apr 2005 16:10:30 +0000
From:      Joseph Koshy <joseph.koshy@gmail.com>
To:        Marcel Moolenaar <marcel@xcllnt.net>, freebsd-standards@freebsd.org
Subject:   Re: Standard type for code pointers?
Message-ID:  <84dead720504200910441b9108@mail.gmail.com>
In-Reply-To: <20050420155407.GA844@falcon.midgard.homeip.net>
References:  <84dead720504200541539f4c15@mail.gmail.com> <03f22a3c76ac440b97e2179761dfd6fa@xcllnt.net> <20050420155407.GA844@falcon.midgard.homeip.net>

next in thread | previous in thread | raw e-mail | index | archive | help
> Except that intptr_t need only be large enough to hold an=20
> object pointer.  This is not necessarily enough to hold a=20
> function pointer.

Right.

> The only standard types that are guaranteed to be able to hold
> a function pointer are other function pointers.

Right, but there doesn't seem to be a C99 name for function
pointer types.

Is 'register_t' guaranteed to be wide enough?

--=20
FreeBSD Volunteer, http://people.freebsd.org/~jkoshy



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?84dead720504200910441b9108>