contents   index   previous   next



Clib.fsetpos()

syntax:

Clib.fsetpos(filePointer, pos)

where:

filePointer - pointer to file to use.

 

pos - position in file to set.

 

return:

number - zero on success, otherwise returns non-zero and stores an error value in Clib.errno.

 

description:

This method sets the current file stream pointer to the value defined by pos, which must be a value obtained from a previous call to Clib.fgetpos() on the same open file. Returns zero for success, otherwise returns nonzero and stores an error value in Clib.errno.

 

see:

Clib.fseek()

 

 


Clib.ftell()