Mercurial > flash_v2
comparison packages/error/current/include/pkgconf/error.h @ 0:3111d98ba7b3 ecos-v1_1-release
Initial commit of eCos version 1.1
| author | jlarmour |
|---|---|
| date | Tue, 11 May 1999 11:16:07 +0000 |
| parents | |
| children | 443894e2e912 |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:3111d98ba7b3 |
|---|---|
| 1 #ifndef CYGONCE_PKGCONF_ERROR_H | |
| 2 #define CYGONCE_PKGCONF_ERROR_H | |
| 3 //=========================================================================== | |
| 4 // | |
| 5 // error.h | |
| 6 // | |
| 7 // Configuration header for the Common error code package | |
| 8 // | |
| 9 //=========================================================================== | |
| 10 //####COPYRIGHTBEGIN#### | |
| 11 // | |
| 12 // ------------------------------------------- | |
| 13 // The contents of this file are subject to the Cygnus eCos Public License | |
| 14 // Version 1.0 (the "License"); you may not use this file except in | |
| 15 // compliance with the License. You may obtain a copy of the License at | |
| 16 // http://sourceware.cygnus.com/ecos | |
| 17 // | |
| 18 // Software distributed under the License is distributed on an "AS IS" | |
| 19 // basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the | |
| 20 // License for the specific language governing rights and limitations under | |
| 21 // the License. | |
| 22 // | |
| 23 // The Original Code is eCos - Embedded Cygnus Operating System, released | |
| 24 // September 30, 1998. | |
| 25 // | |
| 26 // The Initial Developer of the Original Code is Cygnus. Portions created | |
| 27 // by Cygnus are Copyright (C) 1998 Cygnus Solutions. All Rights Reserved. | |
| 28 // ------------------------------------------- | |
| 29 // | |
| 30 //####COPYRIGHTEND#### | |
| 31 //=========================================================================== | |
| 32 //#####DESCRIPTIONBEGIN#### | |
| 33 // | |
| 34 // Author(s): jlarmour@cygnus.co.uk | |
| 35 // Contributors: jlarmour@cygnus.co.uk | |
| 36 // Date: 1998-06-11 | |
| 37 // Purpose: To configure the Common error package | |
| 38 // Description: Does any necessary configuration of the Common error package | |
| 39 // Usage: #include <pkgconf/error.h> | |
| 40 // #ifdef CYGPKG_ERROR | |
| 41 // ... | |
| 42 // | |
| 43 // | |
| 44 //####DESCRIPTIONEND#### | |
| 45 // | |
| 46 //=========================================================================== | |
| 47 | |
| 48 // INCLUDES | |
| 49 | |
| 50 // Include system configuration file to work out whether the Common error | |
| 51 // package is to be included at all (from CYGPKG_ERROR) | |
| 52 #include <pkgconf/system.h> | |
| 53 | |
| 54 /* | |
| 55 {{CFG_DATA | |
| 56 | |
| 57 cdl_package CYGPKG_ERROR { | |
| 58 display "Common error code support" | |
| 59 description "This package contains the common list of error and | |
| 60 status codes. It is held centrally to allow | |
| 61 packages to interchange error codes and status | |
| 62 codes in a common way, rather than each package | |
| 63 having its own conventions for error/status | |
| 64 reporting. The error codes are modelled on the | |
| 65 POSIX style naming e.g. EINVAL etc. This package | |
| 66 also provides the standard strerror() function to | |
| 67 convert error codes to textual representation." | |
| 68 type bool | |
| 69 } | |
| 70 | |
| 71 }}CFG_DATA | |
| 72 */ | |
| 73 | |
| 74 | |
| 75 #endif // CYGONCE_PKGCONF_ERROR_H multiple inclusion protection | |
| 76 | |
| 77 // EOF error.h |
