com.tapina.robe.swi.clib.stdio
Class FSeek

java.lang.Object
  extended bycom.tapina.robe.runtime.Block
      extended bycom.tapina.robe.runtime.CodeBlock
          extended bycom.tapina.robe.swi.clib.Stub
              extended bycom.tapina.robe.swi.clib.stdio.FSeek
All Implemented Interfaces:
Executable

public class FSeek
extends Stub

This function sets the file position indicator for the file pointed to by a1. The position is set using a combination of a2 and a3. a2 gives the offset from the position set in a3. a3 should be either SEEK_SET , SEEK_CUR or SEEK_END . For files not opened in binary mode, pos should be either zero, or a value returned by ftell with from equal to SEEK_SET. Returns: Zero if successful.


Field Summary
static int SEEK_CUR
           
static int SEEK_END
           
static int SEEK_SET
           
 
Fields inherited from class com.tapina.robe.swi.clib.Stub
A1, A2, A3, A4, FP, IP, log, LR, PC, SL, SP, V1, V2, V3, V4, V5, V6
 
Constructor Summary
FSeek()
           
 
Method Summary
 void executeStub(Environment environment)
           
 
Methods inherited from class com.tapina.robe.swi.clib.Stub
execute, executeSubroutine, setAddress
 
Methods inherited from class com.tapina.robe.runtime.CodeBlock
isExtendable
 
Methods inherited from class com.tapina.robe.runtime.Block
getAddress
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SEEK_SET

public static final int SEEK_SET
See Also:
Constant Field Values

SEEK_CUR

public static final int SEEK_CUR
See Also:
Constant Field Values

SEEK_END

public static final int SEEK_END
See Also:
Constant Field Values
Constructor Detail

FSeek

public FSeek()
Method Detail

executeStub

public void executeStub(Environment environment)
Specified by:
executeStub in class Stub


Copyright © 2003-2005 . All Rights Reserved.