Hi all,
Maybe my request be somewhat irrelevant to this forum, but I believe you
could help me…
I’m porting a Win32 program into linux.
The program’s name is “Serial Wrapper” that is intended to open a handle to
a device in COM port and read or write some data to it by functions and
structures such:
DCB
CreateFile
GetCommState
SetCommState
SetCommMask
WriteFile
ReadFile
SetCommTimeouts
…
but I have problem in replacing them by the appropriate alternatives in
linux, because I’m new to linux APIs!
I’ve searched and found that the related header files are “sys/select.h” and
" termios.h", I saw them but they didn’t help me so much!!
Please share your experiences with me in this issue…
TIA.