[fpc-pascal] serial ports under Unix using Freepascal
Stephano
patspiper at yahoo.com
Fri Oct 5 09:10:52 CEST 2007
The Linux serial unit was ported to windows.
Refer to http://www.mail-archive.com/lazarus@miraclec.com/msg15194.html
----- Original Message ----- =
From: papelhigienico at gmail.com =
To: fpc-pascal at lists.freepascal.org =
Sent: Wednesday, October 03, 2007 10:53 PM
Subject: [fpc-pascal] serial ports under Unix using Freepascal
Hi!
I'm creating a component that handles serial port in windows/unix. Under =
Windows I include in uses the unit windows, that open, close, read, write, =
test if the configuration of serial port is valid (some set of configuratio=
ns of baudrate, stop bits and parity is invalid in windows) and if serial =
port exists. =
Under Unix I found the unit Serial, that open, close, read and write. How=
to test if serial port exist? Unix accept any set of configurations of th=
e serial port? I see fpopen that return the handle of serial port but I not=
found anything that describes error codes returned by this function in fpc=
rtl documentation. =
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freepascal.org/lists/fpc-pascal/attachments/20071005/5091=
826b/attachment.htm
More information about the fpc-pascal
mailing list