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

⟦31a01e238⟧ Ada Source

    Length: 2048 (0x800)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package U_Env, seg_0509b3

Derivation

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

E3 Source Code



with A_Strings;
with C_Strings;
package U_Env is
--
-- This package gives a program access to the parameters passed into
-- the process from the Unix kernel (see execve(2)).  These are the
-- same arguments available to a process written in C: argc, argv,
-- and envp.  In C, these get passed into main().
--

    type Str_Vector is array (Integer range <>) of A_Strings.A_String;
    type Argv_Ptr is access Str_Vector;

    Argc : Integer;  -- number of elements in argv
    Envc : Integer;  -- number of elements in envp
    Argv : Argv_Ptr; -- the argv vector
    Envp : Argv_Ptr; -- the envp vector

    function Getenv (Var_Name : C_Strings.C_String) return C_Strings.C_String;
    function Getenv (Var_Name : A_Strings.A_String) return A_Strings.A_String;

    function Is_Env_Var (Name : A_Strings.A_String) return Boolean;
    procedure Add_Env_Var (Var : A_Strings.A_String);
    procedure Del_Env_Var (Name : A_Strings.A_String);
end U_Env;

E3 Meta Data

    nblk1=1
    nid=0
    hdr6=2
        [0x00] rec0=1b rec1=00 rec2=01 rec3=000
    tail 0x2154af6ba878e79a9f2fd 0x42a00088462060003