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

⟦8eeb790d6⟧ Ada Source

    Length: 5120 (0x1400)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, seg_029333

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



SEPARATE (Socket_System_Interface)
FUNCTION Bind (S       : IN Unix_Base_Types.Int;
               Addr    : IN Sockaddr_In_Ptr;
               Addrlen : IN Unix_Base_Types.Int) RETURN Unix_Base_Types.Int IS

   Return_Value : Unix_Base_Types.Int;

BEGIN

   Return_Value :=  
      Resolve_Overloading.Bind (S => S, Addr => Addr, Addrlen => Addrlen);
   DECLARE

      Allow_Reuse : CONSTANT Unix_Base_Types.Int_Ptr :=
         NEW Unix_Base_Types.Int'(1);

   BEGIN
      IF Return_Value /= System_Error THEN

         Return_Value :=
            Setsockopt (S       => S,
                        Level   => Sol_Socket,
                        Optname => So_Linger,
                        Optval  => Linger_Struct_To_Char_Ptr (No_Linger),
                        Optlen  => No_Linger.ALL'Size / System.Storage_Unit);
      END IF;

      IF Return_Value /= System_Error THEN

         Return_Value :=  
            Setsockopt (S       => S,
                        Level   => Sol_Socket,
                        Optname => So_Reuseaddr,
                        Optval  => Int_Ptr_To_Char_Ptr (Allow_Reuse),
                        Optlen  => Allow_Reuse.ALL'Size / System.Storage_Unit);
      END IF;

      -- IF Return_Value /= System_Error THEN
      --    Return_Value :=
      --       Resolve_Overloading.Getsockopt (S => S,
      --                                       Level => Sol_Socket,
      --                                       Optname => So_@,
      --                                       Optval => [CHAR_PTR-expression],
      --                                       Optlen => [INT_PTR-expression]);
      -- END IF;
      --
   END;
   RETURN Return_Value;

END Bind;

E3 Meta Data

    nblk1=4
    nid=4
    hdr6=4
        [0x00] rec0=21 rec1=00 rec2=01 rec3=010
        [0x01] rec0=13 rec1=00 rec2=02 rec3=000
        [0x02] rec0=07 rec1=00 rec2=04 rec3=000
        [0x03] rec0=02 rec1=16 rec2=e7 rec3=442
    tail 0x21521768c83cd42030e5c 0x489e0066482863c01
Free Block Chain:
  0x4: 0000  00 03 00 63 80 04 20 20 2d 2d 04 00 07 20 20 20  ┆   c    --      ┆
  0x3: 0000  00 00 00 0e 80 08 4e 44 20 42 69 6e 64 3b 08 00  ┆      ND Bind;  ┆