Subject: |
RTN_SUCCESS |
From: |
[email protected] (Marty Kraimer) |
Date: |
Mon, 6 Feb 1995 08:25:27 -0600 |
Please note that for 3.12 the defibition of RTN_SUCCESS was changed to:
#define RTN_SUCCESS(STATUS) ((STATUS)==0)
At one time we were thinking of letting the low order bit of status
meand success if 0 and failure if 1. This convention was never implemented
as the old definition containing && instead of & demonstrates.
The only convention is status=(0, not zero) meand (success, failure).
There is no reason to use RTN_SUCCESS. I just use
if(status) {/* this is error handling code*/}
or
if(!status) {/* This is code for success */ }
Marty Kraimer
- Navigate by Date:
- Prev:
Re: Documentation on fields in .ascii files Marty Kraimer
- Next:
[none given] Bob Dalesio
- 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
- Navigate by Thread:
- Prev:
Re: RTN_SUCCESS macro Jeff Hill
- Next:
Tektronix Digitizers Thomas Dean
- 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
|