- Main Page
- Data Structures
- Files
- Directories

- Search for |

- File List
- Globals

# string.h

Go to the documentation of this file.

    00001 /*****************************************************************************************
    00002  Copyright (c) 2002-2004 The UbixOS Project
    00003  All rights reserved.
    00004
    00005  Redistribution and use in source and binary forms, with or without modification, are
    00006  permitted provided that the following conditions are met:
    00007
    00008  Redistributions of source code must retain the above copyright notice, this list of
    00009  conditions, the following disclaimer and the list of authors.  Redistributions in binary
    00010  form must reproduce the above copyright notice, this list of conditions, the following
    00011  disclaimer and the list of authors in the documentation and/or other materials provided
    00012  with the distribution. Neither the name of the UbixOS Project nor the names of its
    00013  contributors may be used to endorse or promote products derived from this software
    00014  without specific prior written permission.
    00015
    00016  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
    00017  EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
    00018  MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
    00019  THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
    00020  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
    00021  OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
    00022  HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
    00023  TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
    00024  SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    00025
    00026  $Id: lib_2string_8h-source.html 88 2016-01-12 00:11:29Z reddawg $
    00027
    00028 *****************************************************************************************/
    00029
    00030 #ifndef _STRING_H
    00031 #define _STRING_H
    00032
    00033 #include <ubixos/types.h>
    00034
    00035 #ifdef __cplusplus
    00036 extern "C" {
    00037 #endif
    00038
    00039 char * strcpy(char *, const char *);
    00040 int strcmp(const char *str1,const char *str2);
    00041 int strncmp(const char * a, const char * b, size_t c);
    00042 void *memcpy(const void *dst, const void * src, size_t length);
    00043 void *memset(void * dst, int c, size_t length);
    00044 int strlen(const char * string);
    00045 int memcmp(const void * dst, const void * src, size_t length);
    00046 void strncpy(char * dest, const char * src, size_t size);
    00047 char *strtok(char *str, const char *sep);
    00048 char *strtok_r(char *str, const char *sep, char **last);
    00049 char *strstr(const char *s,char *find);
    00050
    00051 int sprintf(char *buf,const char *fmt, ...);
    00052
    00053 #ifdef __cplusplus
    00054 }
    00055 #endif
    00056
    00057 #endif
    00058
    00059 /***
    00060  $Log: lib_2string_8h-source.html,v $
    00060  Revision 1.7  2006/12/15 17:47:06  reddawg
    00060  Updates
    00060
    00061  Revision 1.1.1.1  2006/06/01 12:46:13  reddawg
    00062  ubix2
    00063
    00064  Revision 1.2  2005/10/12 00:13:36  reddawg
    00065  Removed
    00066
    00067  Revision 1.1.1.1  2005/09/26 17:23:41  reddawg
    00068  no message
    00069
    00070  Revision 1.5  2004/07/20 19:09:40  flameshadow
    00071  chg: put strcpy() declaration in the right .h file
    00072  add: prototypes for the dirCaching functions in dirCache.h
    00073  chg: renamed dirCaching functions
    00074
    00075  Revision 1.4  2004/07/06 23:26:12  reddawg
    00076  Fixed A Compilation Error
    00077
    00078  Revision 1.3  2004/06/28 23:12:58  reddawg
    00079  file format now container:/path/to/file
    00080
    00081  Revision 1.2  2004/05/21 15:00:27  reddawg
    00082  Cleaned up
    00083
    00084
    00085  END
    00086  ***/