EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: SNC/SEQ changes
From: Andrew Johnson <[email protected]>
To: [email protected]
Date: Thu, 3 Sep 2009 12:23:47 -0500
On Thursday 03 September 2009 11:44:03 Eric Norum wrote:
>
> The only one left now is read().  Is there an EPICS header that gets
> us the raw system call prototypes in an OS-independent fashion?

We do have an osiUnistd.h header, which in most cases includes unistd.h 
although on Windows it includes something else instead.  I don't know if that 
defines read() though, and the MSDN documentation doesn't tell me (it 
actually says that read() is deprecated and we should use the ISO _read() 
instead, but it doesn't say which header that would be found in either).

Commit your changes which look fine by me, and I'll update and try to build it 
on Windows.  We should change osiUnistd.h on Win32 if necessary.

- Andrew
-- 
The best FOSS code is written to be read by other humans -- Harold Welte

References:
SNC/SEQ changes Eric Norum
Re: SNC/SEQ changes Andrew Johnson
Re: SNC/SEQ changes Eric Norum

Navigate by Date:
Prev: Re: SNC/SEQ changes Eric Norum
Next: vme64 csr/cr and pci probing in devLib Davidsaver, Michael
Index: 2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: SNC/SEQ changes Eric Norum
Next: vme64 csr/cr and pci probing in devLib Davidsaver, Michael
Index: 2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Feb 2012 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·