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

⟦ecff49f2c⟧ Ada Source

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

Derivation

└─⟦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 Unix;
use Unix;
with Os_Files;
use Os_Files;
with C_Strings;
use C_Strings;

package body Unix_Dirs is

    function Rmdir (Filename : String) return Status_Code is
    begin
        return Rmdir (Convert_String_To_C (Filename));
    end Rmdir;

    function Mkdir (Filename : String; Mode : Open_Flags := 8#0777#)
                   return Status_Code is
    begin
        return Mkdir (Convert_String_To_C (Filename), Mode);
    end Mkdir;

    function Opendir (Filename : String) return Directory_Fd_Access is
    begin
        return Opendir (Convert_String_To_C (Filename));
    end Opendir;

    function Namelen (D : Directory_Access) return Integer is
    begin
        return Integer (D.Namlen);
    end Namelen;

end Unix_Dirs;

E3 Meta Data

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