tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: qsort_r

On Mon, 09 Dec 2013, Mouse wrote:
I actually don't see anything that promises that a pointer to a function type may be converted to a pointer to void, nor back again (except, in each direction, when the original pointer is nil), much less promising anything about the results if it is done. But I haven't read over the whole thing recently enough to be sure there isn't such a promise hiding somewhere.

Sorry, I did not express myself clearly enough. C does not promise that function pointers can be converted to or from void* pointers, but I believe that all existing NetBSD implementations do allow such conversions.

--apb (Alan Barrett)

Home | Main Index | Thread Index | Old Index