]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
2008-08-08 Thomas Quinot <quinot@adacore.com>
authorThomas Quinot <quinot@adacore.com>
Fri, 8 Aug 2008 12:37:51 +0000 (14:37 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Fri, 8 Aug 2008 12:37:51 +0000 (14:37 +0200)
* g-sercom.ads:
(Name): Document application scope (only legacy PC serial ports on
Linux and Windows).

From-SVN: r138873

gcc/ada/g-sercom.ads

index e425d9d5550e97b01ff3252e4e9bb23c6d0426c2..8b4c55906846eaf40d14a5cb82292be0b2c34f6a 100644 (file)
@@ -45,7 +45,11 @@ package GNAT.Serial_Communications is
    --  A serial com port name
 
    function Name (Number : Positive) return Port_Name;
-   --  Returns the port name for the given port number
+   --  Returns a possible port name for the given legacy PC architecture serial
+   --  port number (COM<number>: on Windows, ttyS<number-1> on Linux).
+   --  Note that this function does not support other kinds of serial ports
+   --  nor operating systems other than Windows and Linux. For all other
+   --  cases, an explicit port name can be passed directly to Open.
 
    type Data_Rate is
      (B1200, B2400, B4800, B9600, B19200, B38400, B57600, B115200);