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

⟦e3fa3c268⟧ Ada Source

    Length: 2048 (0x800)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Utimes, seg_04b99d

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



--
-- This is the 4.2/4.3 BSD package body for utimes().
--
with System;
with Language;
package body Utimes is
    function Raw_Utimes (File : C_Strings.C_String; Times : System.Address)
                        return Integer;
    pragma Interface (C, Raw_Utimes);
    pragma Interface_Name (Raw_Utimes, Language.C_Subp_Prefix & "utimes");

    procedure Utimes (File : C_Strings.C_String; Times : Tvp) is
        Status : Integer;
    begin
        Status := Raw_Utimes (File, Times'Address);
        if Status = 0 then
            return;
        end if;

        Utimes_Errno := Errno.Errno;
        raise Utimes_Error;
    end Utimes;
end Utimes;

E3 Meta Data

    nblk1=1
    nid=0
    hdr6=2
        [0x00] rec0=19 rec1=00 rec2=01 rec3=001
    tail 0x21548cb86868437db253d 0x42a00088462060003