Fseek
Last Modified: May 30, 2005 00:05AM
|
|
| (Any)
|
Description
FSEEK( INT FILE, INT POSITION, INT WHERE)
PARAMETERS:
file: Identifier of a file opened with fopen().
position: Number of bytes.
where: It indicates from dón to count the number of bytes given:
0: From the beginning of the file.
1: From the present position.
2: From the end of the file.
DESCRIPTION:
It modifies the point of read/write in a file. The parameter position can be negative, which is useful for way 1 or the 2. In files opened with O_ZREAD, way 1 with positive values is only valid On guard. In files opened with O_WRITE, no option it is valid and the whole file must sequentially be written.
|
User Contributed Notes Fseek |
|
| There are no user contributed notes for this page. |
| Last updated: Sun, 29 May 2005 - 23:00:06 |
|
|