* - The length of the specified path is @c 0 or exceeds
* system limitations. @n
* - The specified path is invalid. @n
- * - The file handle is invalid (either the file is closed by
- * another method, or the memory is corrupted).
+ * - The file handle is invalid (the file is closed by another method).
* @exception E_FILE_NOT_FOUND An entry for the specified file or path cannot be found.
* @exception E_MAX_EXCEEDED The number of opened files has exceeded the maximum limit.
* @exception E_END_OF_FILE There are no more directory entries to read.
*
* @return An error code
* @exception E_SUCCESS The method is successful.
- * @exception E_INVALID_ARG The file handle is invalid (either the file is closed by another method, or the memory is corrupted).
+ * @exception E_INVALID_ARG The file handle is invalid (the file is closed by another method).
*/
virtual result Reset(void);
* @return An error code
* @param[out] buffer A reference to the buffer where the data is copied
* @exception E_SUCCESS The method is successful.
- * @exception E_INVALID_ARG The file handle is invalid (either the file is closed by another method, or the
- * memory is corrupted).
+ * @exception E_INVALID_ARG The specified @c buffer is invalid.
* @exception E_ILLEGAL_ACCESS Either of the following conditions has occurred: @n
* - The file is not opened for read operation. @n
* - Access is denied due to insufficient permission.
* @return An error code
* @param[in] buffer A reference to the buffer that contains byte data to write
* @exception E_SUCCESS The method is successful.
- * @exception E_INVALID_ARG The file handle is invalid (either the file is closed by another method, or the
- * memory is corrupted).
+ * @exception E_INVALID_ARG The specified @c buffer is invalid.
* @exception E_ILLEGAL_ACCESS Either of the following conditions has occurred: @n
* - The file is not opened for write operation. @n
* - Access is denied due to insufficient permission.
result Write(const Tizen::Base::String& buffer);
/**
- * Flushes the internally buffered data.
+ * Flushes the internally buffered data to kernel memory of the underlying operating system.
*
* @since 2.0
*
* @return An error code
* @exception E_SUCCESS The method is successful.
* @exception E_ILLEGAL_ACCESS Access is denied due to insufficient permission.
- * @exception E_INVALID_ARG The file handle is invalid (either the file is closed by another method, or the
- * memory is corrupted).
- * @exception E_IO Either of the following conditions has occurred: @n
+ * @exception E_STORAGE_FULL The disk space is full.
+ * @exception E_IO Either of the following conditions has occurred: @n
* - An unexpected device failure has occurred as the media ejected suddenly. @n
* - %File corruption is detected.
*/
* @return The offset of the current file pointer, @n
* else @c -1L if an error occurs
* @exception E_SUCCESS The method is successful.
- * @exception E_INVALID_ARG The file handle is invalid (either the file is closed by another method, or the
- * memory is corrupted).
* @exception E_IO Either of the following conditions has occurred: @n
* - An unexpected device failure has occurred as the media ejected suddenly. @n
* - %File corruption is detected.