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

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.TmpNam
All Implemented Interfaces:
Executable

public class TmpNam
extends Stub

The function generates a original (ie not used for an exisiting file) filename. It will generate up to TMP_MAX unique names. If a1 points to an array then the name is copied into this array (which should have length of at least L_tmpnam ). If a1 is a null pointer then tmpnam creates its own array, but subsequent calls may overwrite the name. Returns: Pointer to filename.


Field Summary
 
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
TmpNam()
           
 
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
 

Constructor Detail

TmpNam

public TmpNam()
Method Detail

executeStub

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


Copyright © 2003-2005 . All Rights Reserved.