mount: -debug stuff
[meinos.git] / include / string.h
blob6fd6f8dea28b50a8388d469b493bfaf04a9911bc
1 /*
2 meinOS - A unix-like x86 microkernel operating system
3 Copyright (C) 2008 Janosch Gräf <janosch.graef@gmx.net>
5 This program is free software: you can redistribute it and/or modify
6 it under the terms of the GNU Lesser General Public License as published by
7 the Free Software Foundation, either version 3 of the License, or
8 (at your option) any later version.
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU Lesser General Public License for more details.
15 You should have received a copy of the GNU Lesser General Public License
16 along with this program. If not, see <http://www.gnu.org/licenses/>.
19 #ifndef _STRING_H_
20 #define _STRING_H_
22 #include <sys/types.h>
23 #include <stdint.h>
25 void *memccpy(void *dest,const void *src,int c,size_t n);
26 void *memchr(const void *src,int c,size_t n);
27 int memcmp(const void *src1,const void *src2,size_t n);
28 void *memcpy(void *dest,const void *src,size_t n);
29 void *memmove(void *dest, const void *src, size_t n);
30 void *memset(void *dest,int val,size_t n);
31 char *strcat(char *str1,const char *str2);
32 char *strchr(const char *_str,int chr);
33 int strcmp(const char *src1,const char *src2);
34 char *strcpy(char *dest,const char *src);
35 char *strdup(const char *src);
36 char *strerror(int errnum);
37 size_t strlen(const char *str);
38 char *strncat(char *src1,const char *src2,size_t n);
39 int strncmp(const char *src1,const char *src2,size_t n);
40 char *strncpy(char *dest,const char *src,size_t n);
41 char *strsep(char **stringp, const char *delim);
42 char *strtok(char *s, const char *delim);
43 char *strpbrk(const char *s, const char *accept);
44 uintmax_t strntoumax(const char *nptr, char **endptr, int base, size_t n);
45 char *strrchr(const char *s, int c);
46 size_t strspn(const char *s,const char *accept);
47 size_t strcspn(const char *s,const char *reject);
49 #endif