The library consists of a header file and a source file. The header file defines the functions that are implemented by the source file.
Typically, the developer includes comments that define what each function does, what the input and outputs of the function are, and what error conditions might arise from using the function incorrectly.
If not, you can always read the source code.