|
Subject: |
RTN_SUCCESS macro |
|
From: |
[email protected] (Nick Rees) |
|
Date: |
Fri, 3 Feb 95 15:13:16 HST |
I am still getting to grips with Epics status values. I have been using
the RTN_SUCCESS macro and today wanted to find out what it meant. I
found the following in errMdef.h:
#define RTN_SUCCESS(STATUS) ((STATUS && 1)==0)
Does this mean what I think it means - i.e. !STATUS (or STATUS == 0) ?
or should the && be a bitwise & ?
or is it a C construct to do something more clever? (By opening my mouth
I may be exposing myself as not being a C afficionado.)
Nick
- Navigate by Date:
- Prev:
Documentation on fields in .ascii files Nick Rees
- Next:
Re: RTN_SUCCESS macro Jeff Hill
- 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
2025
2026
- Navigate by Thread:
- Prev:
Re: Documentation on fields in .ascii files Marty Kraimer
- Next:
Re: RTN_SUCCESS macro Jeff Hill
- 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
2025
2026
|