ptr A pointer to the memory location from which information is being written. The type of the object pointed to is determined by the type of the item being written. size_of_item The size, in bytes, of the items being written. number_items The number of items to be written. file_ptr A file pointer that indicates the file to which the items are being written.