|
|
DataMuseum.dkPresents historical artifacts from the history of: Rational R1000/400 Tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Rational R1000/400 Tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: B T
Length: 1668 (0x684)
Types: TextFile
Names: »B«
└─⟦149519bd4⟧ Bits:30000546 8mm tape, Rational 1000, !projects 93-07-13
└─⟦124ff5788⟧ »DATA«
└─⟦this⟧
└─⟦f64eaa120⟧ Bits:30000752 8mm tape, Rational 1000, !projects 93 02 16
└─⟦6f12a12be⟧ »DATA«
└─⟦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;