ser_setup
ser_setup — sets parameters for a serial port device.
ser_setup (devno, baud, bits/char, parity, stopbits, min, time)
devnoA file ID as returned from a call to
fd_open.
baudA legal baud rate.
bits/charBits per character (6, 7 or 8).
parity"none", "even", "odd", "mark" or "space"
stopbitsStop bits (0, 1 or 2).
minDefault minimum number of characters for a read.
timeDefault inter-character timeout for a read.
This function sets the most common parameters for a serial port device,
as opened by a call to fd_open. The function is
currently only available in QNX 4.
Gamma>id = fd_open("/dev/ser1",O_RDWR); 4Gamma>ser_setup(id,9600,8,"none",1,1,0); t