|
DataMuseum.dkPresents historical artifacts from the history of: Rational R1000/400 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Rational R1000/400 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - download
Length: 3072 (0xc00) Types: Ada Source Notes: 03_class, FILE, R1k_Segment, e3_tag, seg_018b95
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000 └─ ⟦cfc2e13cd⟧ »Space Info Vol 2« └─⟦this⟧
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;
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 0x21715b31a8357638eb12e 0x489e0066482863c01