What about these libraries?
Get a C textbook or handbook
A function is defined in terms of
- Required library, e.g. <stdio.h>,<math.h> etc.
- Return type
- Parameters and types
- Description of what function does
Pay particular attention to return type and parameter types - cast correctly