
------------------------------------------------------------------------------
4. Move read pointer. <Main,Alarm,Comm>
------------------------------------------------------------------------------
[Name]
aux_from_moveptr
[Syntax]
#include <bios.h>
int aux_from_moveptr( long offset, int origin ) ;
[Argument]
offset Byte count from base point.
origin Base point, see description.
[Return]
Returns zero if successful. Returns non-zero value if any error
occurs. Error occurs in the following cases.
* When pointer is moved backward beyond top of file
* When pointer is moved forward beyond end of file.
[Description]
This function moves the position of the read pointer on currently
selected file.
Pointer can be moved to any position.
Specify the base point for move by "origin" as follows.
FROM_SEEK_CUR current pointer position
FROM_SEEK_END end of file
FROM_SEEK_SET top of file
Moving pointer forward beyond end of file or backward beyon top of
file causes error.