Preprocessor macro
#include <SYS/TYPES.H>
__BEGIN_DECLS
This macro should precede any declarations in include files for C language. It expands to nothing in C and to "extern "C" {" in C++. It should be used in pair with __END_DECLS.
extern "C" {
__END_DECLS