comparison packages/error/current/include/codes.h @ 2:443894e2e912 ecos-v1_2_1-release

Block commit of eCos version 1.2.1
author jlarmour
date Tue, 11 May 1999 12:24:34 +0000
parents 3111d98ba7b3
children c38311975d4f
comparison
equal deleted inserted replaced
1:72f549f0d891 2:443894e2e912
22 // 22 //
23 // The Original Code is eCos - Embedded Cygnus Operating System, released 23 // The Original Code is eCos - Embedded Cygnus Operating System, released
24 // September 30, 1998. 24 // September 30, 1998.
25 // 25 //
26 // The Initial Developer of the Original Code is Cygnus. Portions created 26 // The Initial Developer of the Original Code is Cygnus. Portions created
27 // by Cygnus are Copyright (C) 1998 Cygnus Solutions. All Rights Reserved. 27 // by Cygnus are Copyright (C) 1998,1999 Cygnus Solutions. All Rights Reserved.
28 // ------------------------------------------- 28 // -------------------------------------------
29 // 29 //
30 //####COPYRIGHTEND#### 30 //####COPYRIGHTEND####
31 //=========================================================================== 31 //===========================================================================
32 //#####DESCRIPTIONBEGIN#### 32 //#####DESCRIPTIONBEGIN####
33 // 33 //
34 // Author(s): jlarmour@cygnus.co.uk 34 // Author(s): jlarmour
35 // Contributors: jlarmour@cygnus.co.uk 35 // Contributors: jlarmour
36 // Date: 1998-06-11 36 // Date: 1998-06-11
37 // Purpose: To provide a common set of error codes 37 // Purpose: To provide a common set of error codes
38 // Description: This provides a common set of error codes that all packages can 38 // Description: This provides a common set of error codes that all packages can
39 // agree on. It doesn't preclude them defining their own error 39 // agree on. It doesn't preclude them defining their own error
40 // return system, but this is a preferable system to use to help 40 // return system, but this is a preferable system to use to help
41 // error support be as general as possible. 41 // error support be as general as possible.
42 // 42 //
43 // We try and conform to the ANSI/POSIX error code format, namely 43 // We try and conform to the ANSI/POSIX error code format, namely
44 // starting with the character 'E' 44 // starting with the character 'E'
45 // 45 //
46 // Usage: #include <cyg/error/codes.h> 46 // Usage: #include <cyg/error/codes.h>
47 // 47 //
48 // Example: 48 // Example:
49 // 49 //
50 // err=myfun(); 50 // err=myfun();
51 // if (err != ENOERR) 51 // if (err != ENOERR)
60 //=========================================================================== 60 //===========================================================================
61 61
62 // CONFIGURATION 62 // CONFIGURATION
63 63
64 #include <pkgconf/error.h> // Configuration header 64 #include <pkgconf/error.h> // Configuration header
65 #include <cyg/infra/cyg_type.h> // externC 65 #include <cyg/infra/cyg_type.h> // externC
66 66
67 // Include the error package? 67 // Include the error package?
68 #ifdef CYGPKG_ERROR 68 #ifdef CYGPKG_ERROR
69 69
70 70