Read data from an open changelog 'file stream'. Similar to fread in functionality, this function takes a buffer and amount of data to read. If an error occurs pm_errno will be set. @param ptr a buffer to fill with raw changelog data @param size the size of the buffer @param pkg the package that the changelog is being read from @param fp a 'file stream' to the package changelog @return the number of characters read, or 0 if there is no more data or an error occurred.
Page generated by adrdox