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.
- Replies:
- RE: drvSerial/ioctl question Jeff Hill
- Re: drvSerial/ioctl question Steven Hartman
- Re: drvSerial/ioctl question Matthieu Bec
- Navigate by Date:
- Prev:
Software Licensing; the GNU GPL and EPICS Andrew Johnson
- Next:
Re: Software Licensing; the GNU GPL and EPICS john sinclair
- Index:
1994
1995
1996
1997
1998
1999
2000
<2001>
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: put to UDF / summary Benjamin Franksen
- Next:
RE: drvSerial/ioctl question Jeff Hill
- Index:
1994
1995
1996
1997
1998
1999
2000
<2001>
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|