source: rtems/c/src/exec/rtems/macros/rtems/rtems/status.inl @ df49c60

4.104.114.84.95
Last change on this file since df49c60 was 08311cc3, checked in by Joel Sherrill <joel.sherrill@…>, on 11/17/99 at 17:51:34

Updated copyright notice.

  • Property mode set to 100644
File size: 738 bytes
Line 
1/*  macros/status.h
2 *
3 *  This include file contains the implementations of the inlined
4 *  routines for the status package.
5 *
6 *  COPYRIGHT (c) 1989-1999.
7 *  On-Line Applications Research Corporation (OAR).
8 *
9 *  The license and distribution terms for this file may be
10 *  found in the file LICENSE in this distribution or at
11 *  http://www.OARcorp.com/rtems/license.html.
12 *
13 *  $Id$
14 */
15
16#ifndef __MACROS_STATUS_h
17#define __MACROS_STATUS_h
18
19/*PAGE
20 *
21 *  rtems_is_status_successful
22 *
23 */
24
25#define rtems_is_status_successful( _code ) \
26  ( (_code) == RTEMS_SUCCESSFUL )
27
28/*PAGE
29 *
30 *  rtems_are_statuses_equal
31 *
32 */
33
34#define rtems_are_statuses_equal( _code1, _code2 ) \
35   ((_code1) == (_code2))
36
37#endif
38/* end of include file */
Note: See TracBrowser for help on using the repository browser.