Site Tools


fskip
no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


fskip [2006/10/06 19:08] (current) – created - external edit 127.0.0.1
Line 1: Line 1:
 +# $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:======
 +<file>
 +$fskip(4 3)                        skip 3 lines from fd 4.
 +</file>
  
fskip.txt · Last modified: 2006/10/06 19:08 by 127.0.0.1