Site Tools


fskip

# $EPIC: fskip.txt,v 1.2 2006/10/06 19:08:28 jnelson Exp $

Synopsis:

$fskip(file descriptor number)

Technical:

The fskip function skips the next number lines in the file. The return value is the number of lines that were actually skipped. If you try to skip more lines than are left in the file (end of file), the return value will be less than number.

The file descriptor value must have been previously returned by the open function.

Returns:

The number of lines skipped int he file, which is usually number unless end of file is reached, then it will be less than number.

Examples:

$fskip(4 3)                        skip 3 lines from fd 4.
fskip.txt · Last modified: 2006/10/06 19:08 by 127.0.0.1