|
|
Experimental Physics and
| ||||||||||||||
|
|
Pedro, The attached version has a convenience routine for setting the baud rate. Jeff > -----Original Message----- > From: [email protected] [mailto:[email protected]] On Behalf Of Pedro Gigoux > Sent: Tuesday, December 18, 2001 2:51 PM > To: EPICS Tech-Talk > Subject: drvSerial/ioctl question > > > I'm currently using drvSerial in my device support routine to talk to a > serial port. Because of hardware limitations I need to change the speed > of the port. drvSerial provides a routine (drvSerialGetFile) that > returns the file pointer (FILE *) for ioctl manipulation. The problem is > that ioctl expects file descriptor (int). Does anyone know how to get > the file descriptor from the file pointer? > > Thank you, > > Pedro. Attachment:
drvSerial.h Attachment:
drvSerial.c
| ||||||||||||||
| ANJ, 10 Aug 2010 |
·
Home
·
News
·
About
·
Talk
·
Base
·
Modules
·
Extensions
·
· Distributions · Download · Documents · Links · Licensing · |