|
||||
Warning, cross-references for /libc/include/string.h need to be fixed.
0001 /* The Quest Operating System 0002 * Copyright (C) 2005-2010 Richard West, Boston University 0003 * 0004 * This program is free software: you can redistribute it and/or modify 0005 * it under the terms of the GNU General Public License as published by 0006 * the Free Software Foundation, either version 3 of the License, or 0007 * (at your option) any later version. 0008 * 0009 * This program is distributed in the hope that it will be useful, 0010 * but WITHOUT ANY WARRANTY; without even the implied warranty of 0011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 0012 * GNU General Public License for more details. 0013 * 0014 * You should have received a copy of the GNU General Public License 0015 * along with this program. If not, see <http://www.gnu.org/licenses/>. 0016 */ 0017 0018 0019 #ifndef _SIZE_T 0020 typedef int size_t; 0021 #define _SIZE_T 1 0022 #endif 0023 0024 extern int strcmp ( const char *s1, const char *s2 ); 0025 extern void *memset( void *s, int c, size_t n ); 0026 extern void *memcpy( void *dest, const void *src, size_t n ); 0027 extern size_t strlen( const char *s ); 0028 extern int memcmp( const void *s1, const void *s2, size_t n ); 0029 extern char *strcpy(char *dest, const char *src); 0030 extern char *strncpy( char *s1, const char *s2, int length ); 0031 0032 /* 0033 * Local Variables: 0034 * indent-tabs-mode: nil 0035 * mode: C 0036 * c-file-style: "gnu" 0037 * c-basic-offset: 2 0038 * End: 0039 */ 0040 0041 /* vi: set et sw=2 sts=2: */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 1.2.0 LXR engine. |