what is the C function ?
Please try to include details about what you have tried and exactly what you are trying to achieve. This may be helpful.