QP/C
string.h
00001 /*****************************************************************************
00002 * Product: ANSI C library facilities for PC-Lint
00003 * Last Updated for Version: 4.4.00
00004 * Date of the Last Update:  Jan 21, 2012
00005 *
00006 *                    Q u a n t u m     L e a P s
00007 *                    ---------------------------
00008 *                    innovating embedded systems
00009 *
00010 * Copyright (C) 2002-2012 Quantum Leaps, LLC. All rights reserved.
00011 *
00012 * This software is be distributed and modified under the terms of the GNU
00013 * General Public License (GPL) as published by the Free Software Foundation
00014 * and appearing in the file GPL.TXT included in the packaging of this file.
00015 * Please note that GPL requires that all works based on this software must
00016 * also be made publicly available under the terms of the GPL ("Copyleft").
00017 *
00018 * Alternatively, this software may be distributed and modified under the
00019 * terms of Quantum Leaps commercial licenses, which expressly supersede
00020 * the GPL and are specifically designed for licensees interested in
00021 * retaining the proprietary status of their code.
00022 *
00023 * Contact information:
00024 * Quantum Leaps Web site:  http://www.quantum-leaps.com
00025 * e-mail:                  info@quantum-leaps.com
00026 *****************************************************************************/
00027 #ifndef string_h
00028 #define string_h
00029 
00030 #ifndef NULL
00031 #define NULL  0
00032 #endif
00033 
00034 #ifndef _SIZE_T
00035 #define _SIZE_T
00036 typedef unsigned size_t;
00037 #endif
00038 
00039 #ifdef __cplusplus
00040 extern "C" {
00041 #endif
00042 
00043 void  *memchr  (const void *__s, int __c, size_t __n);
00044 int    memcmp(const void *__s1, const void *__s2, size_t __n);
00045 void  *memcpy(void *__dest, const void *__src, size_t __n);
00046 void  *memmove(void *__dest, const void *__src, size_t __n);
00047 void  *memset(void *__s, int __c, size_t __n);
00048 char  *strcat(char *__dest, const char *__src);
00049 char  *strchr(const char *__s, int __c);
00050 int    strcmp(const char *__s1, const char *__s2);
00051 int    strcoll(const char *__s1, const char *__s2);
00052 char  *strcpy(char *__dest, const char *__src);
00053 size_t strcspn(const char *__s1, const char *__s2);
00054 char  *strerror(int __errnum);
00055 size_t strlen(const char *__s);
00056 char  *strncat(char *__dest, const char *__src, size_t __maxlen);
00057 int    strncmp(const char *__s1, const char *__s2, size_t __maxlen);
00058 char  *strncpy(char *__dest, const char *__src, size_t __maxlen);
00059 char  *strpbrk(const char *__s1, const char *__s2);
00060 char  *strrchr(const char *__s, int __c);
00061 size_t strspn(const char *__s1, const char *__s2);
00062 char  *strstr(const char *__s1, const char *__s2);
00063 char  *strtok(char *__s1, const char *__s2);
00064 size_t strxfrm(char *__s1, const char *__s2, size_t __n );
00065 char  *_strerror(const char *__s);
00066 
00067 #ifdef __cplusplus
00068 }
00069 #endif
00070 
00071 #endif                                                          /* string_h */
00072