Arduino Function: FileIO.seek

Description

This function gets the current position within the file (i.e. the location to which the next byte will be read from or written to). This communicates with the Linux distribution through Bridge. While functionally similar to the SD library, the underlying code and connections are different.

Syntax

file.position()

Parameters

file: an instance of the File class (returned by FileIO.open())

Returns

 unsigned long: the position within the file


Based on the reference originally written by Arduino Community,  wiring.org.co and  arduino.cc