File Manipulation Methods
The following table describes file manipulation methods.
Method | Description |
---|---|
Writes to disk the data that exists in the buffer, and then clears the buffer. |
|
Determines if the file cursor is at the end of the file. |
|
Gets a character from the buffer. |
|
Gets a string that includes characters from the cursor to the next newline character. |
|
Gets the current position of the file cursor. |
|
Gets the position of the file cursor relative to the beginning of the file. |
|
Moves the file cursor to the beginning of a file. |
|
Reads data from a file. |
|
Sets the current file cursor to a position that you specify. |
|
Reads input from an input device and stores the data in arguments. |
|
Sets the cursor position in a file. |
|
Pushes a character back to a file. |
|
Writes a character to a file. |
|
Writes a formatted string to a file. |
|
Writes a string to a file. |
|
Writes data to a file. |