|
DataMuseum.dkPresents historical artifacts from the history of: Rational R1000/400 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Rational R1000/400 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - download
Length: 3072 (0xc00) Types: Ada Source Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Ioctl_Fmt, seg_05093f
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000 └─ ⟦cfc2e13cd⟧ »Space Info Vol 2« └─⟦this⟧
package body Ioctl_Fmt is function Fmt_Io_Cnst (X : Character; Y : Integer) return Integer is begin return Ioc_Void + Character'Pos (X) * (2 ** 8) + Y; end Fmt_Io_Cnst; function Fmt_Ior_Cnst (X : Character; Y, Tsize : Integer) return Integer is begin if Tsize > 127 then raise Program_Error; end if; return Ioc_Out + Character'Pos (X) * (2 ** 8) + Y + Tsize * (2 ** 16); end Fmt_Ior_Cnst; function Fmt_Iow_Cnst (X : Character; Y, Tsize : Integer) return Integer is begin if Tsize > 127 then raise Program_Error; end if; return Ioc_In + Character'Pos (X) * (2 ** 8) + Y + Tsize * (2 ** 16); end Fmt_Iow_Cnst; function Fmt_Iowr_Cnst (X : Character; Y, Tsize : Integer) return Integer is begin if Tsize > 127 then raise Program_Error; end if; return Ioc_Inout + Character'Pos (X) * (2 ** 8) + Y + Tsize * (2 ** 16); end Fmt_Iowr_Cnst; end Ioctl_Fmt;
nblk1=2 nid=0 hdr6=4 [0x00] rec0=1e rec1=00 rec2=01 rec3=07c [0x01] rec0=04 rec1=00 rec2=02 rec3=000 tail 0x21757fae2878e78555e37 0x42a00088462060003