c function test file