00001 00006 /* 00007 * The contents of this file are subject to the Mozilla Public License 00008 * Version 1.0 (the "License"); you may not use this file except in 00009 * compliance with the License. You may obtain a copy of the License 00010 * at http://www.mozilla.org/MPL/ 00011 * 00012 * Software distributed under the License is distributed on an "AS IS" 00013 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See 00014 * the License for the specific language governing rights and 00015 * limitations under the License. 00016 * 00017 * The Original Code is legOS code, released October 17, 1999. 00018 * 00019 * The Initial Developer of the Original Code is Markus L. Noga. 00020 * Portions created by Markus L. Noga are Copyright (C) 1999 00021 * Markus L. Noga. All Rights Reserved. 00022 * 00023 * Contributor(s): Markus L. Noga <markus@noga.de> 00024 */ 00025 00026 #ifndef __string_h__ 00027 #define __string_h__ 00028 00029 #ifdef __cplusplus 00030 extern "C" { 00031 #endif 00032 00033 #include <mem.h> 00034 00036 // 00037 // Functions 00038 // 00040 00042 00049 extern void *memcpy(void *dest, const void *src, size_t size); 00050 00052 00056 extern void *memset(void *s, int c, size_t n); 00057 00059 00063 extern char *strcpy(char *dest, const char *src); 00064 00066 00069 extern int strlen(const char *s); 00070 00072 00076 extern int strcmp(const char *s1, const char *s2); 00077 00078 #ifdef __cplusplus 00079 } 00080 #endif 00081 00082 #endif // __string_h__
brickOS is released under the
Mozilla Public License.
Original code copyright 1998-2002 by the authors. |