Package RASCAL.FS

DescriptionFiling system related subprograms.
Authorbbracke
Date2005/11/21 20:14:33
Revision1.1
 

Clauses

Quick access : ClausesGenericsDefinitionsSubprograms


 
Context clauses
Ada.Strings.Unbounded
 
Use clauses
Ada.Strings.Unbounded
 

Definitions

Quick access : ClausesGenericsDefinitionsSubprograms


Types
Name Declaration
FS_List_Typearray (integer) of Unbounded_String
FS_List_Pointeraccess FS_List_Type
 

Subprograms

Quick access : ClausesGenericsDefinitionsSubprograms


  
Get_FSName function
Returnstring
Converts FS number to name. If the the FS number is unknown a null string is returned.
Parameter name Type Mode Default
FS_Numberintegerin
  
Get_All_FS function
ReturnFS_List_Pointer
Returns a list of available filing systems.
  
FreeSpace function
ReturnInteger
Returns free space (in bytes) of discname
also works on filenames, if the file is open
Parameter name Type Mode Default
discnameStringin
  
EnoughSpace function
ReturnBoolean
Returns true if there is (more than) needed_bytes free on discname.
also works on filenames, if the file is open!
Parameter name Type Mode Default
discnameStringin
needed_bytesIntegerin
  
Set_CSD procedure
Sets the current directory to 'Path'.
Parameter name Type Mode Default
PathStringin