seek - Move the read/write file offset to a specified byte within a file.
seek(file_descriptor, string)
seek(file:file_descriptor,where:int,offset:int)
This function is used vove the read/write file offset to a specified byte within a file.
The new position in the file is return.
The following definitions in extenso.sn are used by seek:
// Definition for seek
%define SEEK_SET 0; /* Seek from beginning of file. */
%define SEEK_CUR 1; /* Seek from current position. */
%define SEEK_END 2; /* Seek from end of file. */
new_offset = seek(ct, where:SEEK_CUR, offset:-2);
Written by Pierre Laplante, <laplante@sednove.com>
Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis.
1.0 2014-09-09 21:24:14 laplante@sednove.com