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: drvSerial/ioctl question
From: Pedro Gigoux <[email protected]>
To: EPICS Tech-Talk <[email protected]>
Date: Tue, 18 Dec 2001 18:51:06 -0300
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  <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: put to UDF / summary Benjamin Franksen
Next: RE: drvSerial/ioctl question Jeff Hill
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 ·