diff options
author | Thomas Quinot <quinot@adacore.com> | 2008-08-08 14:37:51 +0200 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2008-08-08 14:37:51 +0200 |
commit | 35e546dc65e821dc8a41585cbe4937286d77fbf9 (patch) | |
tree | ae0e3cfbf043f1198ac60ee95c45533bd9f2af34 /gcc/ada/g-sercom.ads | |
parent | 12d1a0dc95bc007d9c45ffcf57233778d3a9b15e (diff) | |
download | gcc-35e546dc65e821dc8a41585cbe4937286d77fbf9.zip gcc-35e546dc65e821dc8a41585cbe4937286d77fbf9.tar.gz gcc-35e546dc65e821dc8a41585cbe4937286d77fbf9.tar.bz2 |
2008-08-08 Thomas Quinot <quinot@adacore.com>
* g-sercom.ads:
(Name): Document application scope (only legacy PC serial ports on
Linux and Windows).
From-SVN: r138873
Diffstat (limited to 'gcc/ada/g-sercom.ads')
-rw-r--r-- | gcc/ada/g-sercom.ads | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ada/g-sercom.ads b/gcc/ada/g-sercom.ads index e425d9d..8b4c559 100644 --- a/gcc/ada/g-sercom.ads +++ b/gcc/ada/g-sercom.ads @@ -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); |