![]() |
FSetPos | Function (ROM Call 0x3E1) |
AMS 2.00 or higher | files.h |
unsigned short FSetPos (FILES *fsPtr, unsigned short pos); |
Set the position of the next read or write for an opened file.
FSetPos sets the position pos of the next read or write for the opened file fsPtr and returns the new
position (which may be less than specified if the end of the file is exceeded). fsPtr must be a pointer
to a FILES structure previously opened with FOpen.
pos is the file position (0 being the first byte in the file) to set.