Main Page   Compound List   File List   Compound Members   File Members  

string.h

Go to the documentation of this file.
00001 /*
00002    string.h
00003 
00004    Contributors:
00005      Created by Marek Michalkiewicz <marekm@linux.org.pl>
00006 
00007    THIS SOFTWARE IS NOT COPYRIGHTED
00008 
00009    This source code is offered for use in the public domain.  You may
00010    use, modify or distribute it freely.
00011 
00012    This code is distributed in the hope that it will be useful, but
00013    WITHOUT ANY WARRANTY.  ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
00014    DISCLAIMED.  This includes but is not limited to warranties of
00015    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
00016  */
00017 
00018 #ifndef _STRING_H_
00019 #define _STRING_H_ 1
00020 
00021 #define __need_NULL
00022 #define __need_size_t
00023 #include <stddef.h>
00024 
00025 #ifndef __ATTR_PURE__
00026 #define __ATTR_PURE__ __attribute__((__pure__))
00027 #endif
00028 
00029 extern void *memccpy(void *, const void *, int, size_t);
00030 extern void *memchr(const void *, int, size_t) __ATTR_PURE__;
00031 extern int memcmp(const void *, const void *, size_t) __ATTR_PURE__;
00032 extern void *memcpy(void *, const void *, size_t);
00033 extern void *memmove(void *, const void *, size_t);
00034 extern void *memset(void *, int, size_t);
00035 extern char *strcat(char *, const char *);
00036 extern char *strchr(const char *, int) __ATTR_PURE__;
00037 extern int strcmp(const char *, const char *) __ATTR_PURE__;
00038 extern char *strcpy(char *, const char *);
00039 extern int strcasecmp(const char *, const char *) __ATTR_PURE__;
00040 extern size_t strlen(const char *) __ATTR_PURE__;
00041 extern char *strlwr(char *);
00042 extern char *strncat(char *, const char *, size_t);
00043 extern int strncmp(const char *, const char *, size_t);
00044 extern char *strncpy(char *, const char *, size_t);
00045 extern int strncasecmp(const char *, const char *, size_t) __ATTR_PURE__;
00046 extern size_t strnlen(const char *, size_t) __ATTR_PURE__;
00047 extern char *strrchr(const char *, int) __ATTR_PURE__;
00048 extern char *strrev(char *);
00049 extern char *strstr(const char *, const char *) __ATTR_PURE__;
00050 extern char *strupr(char *);
00051 
00052 #endif /* _STRING_H_ */
00053 

Generated at Fri Jul 19 14:55:42 2002 for avrgcc by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001