EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  <20012002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  <20012002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: drvSerial/ioctl question
From: Matthieu Bec <[email protected]>
To: Pedro Gigoux <[email protected]>
Cc: EPICS Tech-Talk <[email protected]>
Date: Tue, 18 Dec 2001 12:11:35 -1000
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  <20012002  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  <20012002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·