- 64ADE4F4343CEAD30B2019D7BBCFFC66B461DE9ABDEF5AA744F674B2DA2C433D54A5678C11EF2D48522727C57AC407119109972B0C6AFBF915A748B2B9D9E23C
+ E493B72DC9F010949AEAFC3C54C7A420FA7C26289A0E276AE819CF04111040A11603232F51E79CFD5FD389F7D0BE17DC528718C2014D8152B69F234D1EC7C9A4
zfp/adainclude/a-textio.adb
(13 . 8)(13 . 12)
22 ------------------------------------------------------------------------------
23
24 -- Version for use with C run time
25 with System.Syscall; use System.Syscall;
26
27 package body Ada.Text_IO is
28 -- STDIN : constant := 0;
29 STDOUT : constant := 1;
30 -- STDERR : constant := 2;
31
32 --------------
33 -- New_Line --
(30 . 20)(34 . 16)
35 ---------
36
37 procedure Put (Item : Character) is
38 function Putchar (C : Integer) return Integer;
39 pragma Import (C, Putchar);
40
41 Ignore : Integer;
42
43 begin
44 Ignore := Putchar (Character'Pos (Item));
45 Put ("" & Item);
46 end Put;
47
48 procedure Put (Item : String) is
49 Ignore : Int;
50 E : ErrorCode;
51 begin
52 for J in Item'Range loop
53 Put (Item (J));
54 end loop;
55 Ignore := Write (STDOUT, Item, E);
56 pragma Unused (E);
57 end Put;
58
59 --------------