c program to read any netcdf file

I am in the process of writing a C code to read a netcdf file to do some data 
processing. I was wondering if someone has already written one! If so would you 
be able to email me a copy of the code?