int setPos(int pos)/file

Sets the cursor position. This method returns a negative value if it fails.