__FPTRCAST(3) | Library Functions Manual | __FPTRCAST(3) |
__FPTRCAST
—
#include <sys/cdefs.h>
ftype
__FPTRCAST
(ftype,
fname);
__FPTRCAST
() macro can be used to silence warnings
produced by certain compilers when converting from one function pointer type
to another. The ftype argument is the function pointer
type to which to cast the function pointer in fname.
This cast should be used sparingly and it is typically used in the following situations:
Use of this macro is non-portable; this is part of the implementation namespace and should only be used in NetBSD code.
October 17, 2013 | NetBSD 10.1 |