physfs.h
branchstable-2.0
changeset 1087 064f8098c899
parent 1082 94771621792f
child 1095 69b884a15de1
equal deleted inserted replaced
1084:ee3d2e6e1161 1087:064f8098c899
  1213  * \brief Write data to a PhysicsFS filehandle
  1213  * \brief Write data to a PhysicsFS filehandle
  1214  *
  1214  *
  1215  * The file must be opened for writing.
  1215  * The file must be opened for writing.
  1216  *
  1216  *
  1217  *   \param handle retval from PHYSFS_openWrite() or PHYSFS_openAppend().
  1217  *   \param handle retval from PHYSFS_openWrite() or PHYSFS_openAppend().
  1218  *   \param buffer buffer to store read data into.
  1218  *   \param buffer buffer of bytes to write to (handle).
  1219  *   \param objSize size in bytes of objects being read from (handle).
  1219  *   \param objSize size in bytes of objects being written to (handle).
  1220  *   \param objCount number of (objSize) objects to read from (handle).
  1220  *   \param objCount number of (objSize) objects to write to (handle).
  1221  *  \return number of objects written. PHYSFS_getLastError() can shed light on
  1221  *  \return number of objects written. PHYSFS_getLastError() can shed light on
  1222  *           the reason this might be < (objCount). -1 if complete failure.
  1222  *           the reason this might be < (objCount). -1 if complete failure.
  1223  */
  1223  */
  1224 __EXPORT__ PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle,
  1224 __EXPORT__ PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle,
  1225                                       const void *buffer,
  1225                                       const void *buffer,