DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400 Tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Rational R1000/400 Tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: ┃ B T

⟦f1a84c742⟧ TextFile

    Length: 1654 (0x676)
    Types: TextFile
    Names: »B«

Derivation

└─⟦a7d1ea751⟧ Bits:30000550 8mm tape, Rational 1000, !users!projects 94_04_11
    └─ ⟦129cab021⟧ »DATA« 
        └─⟦this⟧ 
└─⟦f64eaa120⟧ Bits:30000752 8mm tape, Rational 1000, !projects 93 02 16
    └─ ⟦6f12a12be⟧ »DATA« 
        └─⟦this⟧ 
└─⟦2f6cfab89⟧ Bits:30000547 8mm tape, Rational 1000, !projects 94-01-04
    └─ ⟦d65440be7⟧ »DATA« 
        └─⟦this⟧ 

TextFile

WITH Unchecked_Conversion;
WITH System;

PACKAGE BODY System_Interface IS

   -- WARNING! Potentially non-portable use of unchecked conversion.
   --
   FUNCTION Char_Ptr_Array_Ptr_To_Address IS
      NEW Unchecked_Conversion
             (  
              Source => System_Interface.Process.Char_Ptr_Array_Ptr,
              Target => System.Address);


   PACKAGE C_Functions IS

      FUNCTION Chmod (Path : IN Unix_Base_Types.Char_Ptr;  
                      Mode : IN Unix_Base_Types.Int)  
                     RETURN Unix_Base_Types.Int;  
      PRAGMA Interface (C, Chmod);
      PRAGMA Interface_Name (Chmod, "_chmod");



      FUNCTION Execv (Path : IN Unix_Base_Types.Char_Ptr;  
                      Argv : IN System.Address)  
                     RETURN Unix_Base_Types.Int;
      PRAGMA Interface (C, Execv);
      PRAGMA Interface_Name (Execv, "_execv");

   END C_Functions;




   PACKAGE BODY File_Access IS
      FUNCTION Chmod (Path : IN Unix_Base_Types.Char_Ptr;  
                      Mode : IN Mode_T)  
                     RETURN Unix_Base_Types.Int IS
      BEGIN
         RETURN (C_Functions.Chmod (Path => Path,
                                    Mode => Unix_Base_Types.Int (Mode)));
      END Chmod;
   END File_Access;



   PACKAGE BODY Process IS
      FUNCTION Execv (Path : IN Unix_Base_Types.Char_Ptr;
                      Argv : IN Char_Ptr_Array_Ptr)
                     RETURN Unix_Base_Types.Int IS
      BEGIN
         RETURN (C_Functions.Execv
                    (Path => Path,
                     Argv => Char_Ptr_Array_Ptr_To_Address (Argv)));
      END Execv;
   END Process;


END System_Interface;