Merge from mainline
[official-gcc.git] / gcc / ada / a-tiboio.ads
blob4f23c7ed92cee433fa35d169e06c13cfb7a6954b
1 ------------------------------------------------------------------------------
2 -- --
3 -- GNAT RUN-TIME COMPONENTS --
4 -- --
5 -- A D A . T E X T _ I O . B O U N D E D _ I O --
6 -- --
7 -- S p e c --
8 -- --
9 -- Copyright (C) 1997-2005, Free Software Foundation, Inc. --
10 -- --
11 -- This specification is adapted from the Ada Reference Manual for use with --
12 -- GNAT. In accordance with the copyright of that document, you can freely --
13 -- copy and modify this specification, provided that if you redistribute a --
14 -- modified version, any changes that you have made are clearly indicated. --
15 -- --
16 ------------------------------------------------------------------------------
18 with Ada.Strings.Bounded;
20 generic
21 with package Bounded is
22 new Ada.Strings.Bounded.Generic_Bounded_Length (<>);
24 package Ada.Text_IO.Bounded_IO is
26 function Get_Line return Bounded.Bounded_String;
28 function Get_Line
29 (File : File_Type) return Bounded.Bounded_String;
31 procedure Get_Line
32 (Item : out Bounded.Bounded_String);
34 procedure Get_Line
35 (File : File_Type;
36 Item : out Bounded.Bounded_String);
38 procedure Put
39 (Item : Bounded.Bounded_String);
41 procedure Put
42 (File : File_Type;
43 Item : Bounded.Bounded_String);
45 procedure Put_Line
46 (Item : Bounded.Bounded_String);
48 procedure Put_Line
49 (File : File_Type;
50 Item : Bounded.Bounded_String);
52 end Ada.Text_IO.Bounded_IO;