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
<2009>
2010
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
<2009>
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|