DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400

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

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download

⟦7fa588680⟧ Ada Source

    Length: 3072 (0xc00)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, seg_0143ff, seg_0216e1

Derivation

└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
    └─ ⟦5a81ac88f⟧ »Space Info Vol 1« 
        └─⟦this⟧ 
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
    └─ ⟦cfc2e13cd⟧ »Space Info Vol 2« 
        └─⟦this⟧ 

E3 Source Code



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_Information (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_Information (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;

E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=25 rec1=00 rec2=01 rec3=03c
        [0x01] rec0=19 rec1=00 rec2=02 rec3=000
    tail 0x2170fc99c83135f9e6dfe 0x489e0066482863c01