extern "C" tells the C++ compiler that you have a function which was compiled by the C compiler.reading more