Pedro Gigoux wrote:
>
> 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.
int fileno (FILE *fp) from fioLib ?
--
Matthieu Bec Gemini Observatory
Tel: +1 808 9742557 670 N. A'ohoku Place
Fax: +1 808 9359235 Hilo, Hawaii 96720, USA
- References:
- drvSerial/ioctl question Pedro Gigoux
- Navigate by Date:
- Prev:
Re: drvSerial/ioctl question Steven Hartman
- Next:
Re: Software Licensing; the GNU GPL and EPICS Benjamin Franksen
- 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: drvSerial/ioctl question Steven Hartman
- Next:
Error messages wuth IP-488, VIPC616 and PPC604 Mark Rivers
- 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
|