home *** CD-ROM | disk | FTP | other *** search
/ CD Concept 6 / CD Concept 06.iso / mac / UTILITAIRE / RLaB / help / fseek < prev    next >
Encoding:
Text File  |  1994-07-09  |  445 b   |  18 lines  |  [TEXT/RLAB]

  1. fseek:
  2.  
  3. Syntax:    fseek ( FILENAME, OFFSET )
  4.     fseek ( FILENAME, OFFSET, ORIGIN )
  5.  
  6. Description:
  7.  
  8.     fseek sets the current position in FILENAME. a subsequent read
  9.     will access data beginning at the new position. fseek is an
  10.     interface to the C library function of the same name. OFFSET
  11.     is specified in bytes.
  12.  
  13.     ORIGIN    "SEEK_SET"    beginning of file (default)
  14.         "SEEK_CUR"    current position
  15.         "SEEK_END"    end of file
  16.  
  17. See Also: FILES, fread, open, close
  18.