Mercurial > flash_v2
comparison packages/language/c/libc/string/current/include/string.inl @ 115:6ed91473a1cd ecos-sw-2000-08-21
Merge from eCos master repository on 2000-08-21-22:40:54-BST
| author | jlarmour |
|---|---|
| date | Fri, 25 Aug 2000 17:32:38 +0000 |
| parents | |
| children | e0c0827131d1 |
comparison
equal
deleted
inserted
replaced
| 114:5ad2b71d525e | 115:6ed91473a1cd |
|---|---|
| 1 #ifndef CYGONCE_LIBC_STRING_STRING_INL | |
| 2 #define CYGONCE_LIBC_STRING_STRING_INL | |
| 3 //=========================================================================== | |
| 4 // | |
| 5 // string.inl | |
| 6 // | |
| 7 // Inline functions for ANSI standard string and memory area | |
| 8 // manipulation routines described in ANSI para 7.11 | |
| 9 // | |
| 10 //=========================================================================== | |
| 11 //####COPYRIGHTBEGIN#### | |
| 12 // | |
| 13 // ------------------------------------------- | |
| 14 // The contents of this file are subject to the Red Hat eCos Public License | |
| 15 // Version 1.1 (the "License"); you may not use this file except in | |
| 16 // compliance with the License. You may obtain a copy of the License at | |
| 17 // http://www.redhat.com/ | |
| 18 // | |
| 19 // Software distributed under the License is distributed on an "AS IS" | |
| 20 // basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the | |
| 21 // License for the specific language governing rights and limitations under | |
| 22 // the License. | |
| 23 // | |
| 24 // The Original Code is eCos - Embedded Configurable Operating System, | |
| 25 // released September 30, 1998. | |
| 26 // | |
| 27 // The Initial Developer of the Original Code is Red Hat. | |
| 28 // Portions created by Red Hat are | |
| 29 // Copyright (C) 1998, 1999, 2000 Red Hat, Inc. | |
| 30 // All Rights Reserved. | |
| 31 // ------------------------------------------- | |
| 32 // | |
| 33 //####COPYRIGHTEND#### | |
| 34 //=========================================================================== | |
| 35 //#####DESCRIPTIONBEGIN#### | |
| 36 // | |
| 37 // Author(s): jlarmour | |
| 38 // Contributors: | |
| 39 // Date: 2000-04-14 | |
| 40 // Purpose: | |
| 41 // Description: | |
| 42 // Usage: #include <string.h> - do not include this file directly | |
| 43 // | |
| 44 //####DESCRIPTIONEND#### | |
| 45 // | |
| 46 //=========================================================================== | |
| 47 | |
| 48 // CONFIGURATION | |
| 49 | |
| 50 #include <pkgconf/libc_string.h> // Configuration header | |
| 51 | |
| 52 // FUNCTIONS | |
| 53 | |
| 54 extern __inline__ int | |
| 55 strcoll( const char *s1, const char *s2 ) | |
| 56 { | |
| 57 return strcmp(s1, s2); | |
| 58 } // strcoll() | |
| 59 | |
| 60 | |
| 61 #endif // CYGONCE_LIBC_STRING_STRING_INL multiple inclusion protection | |
| 62 | |
| 63 // EOF string.inl |
