@param fp Output file @param h The header to write @return 0 on success; -1 on failure
See Implementation
@param fp Output file @param h The header to write @return 0 on success; -1 on failure