POK
string.h
1 /*
2  * POK header
3  *
4  * The following file is a part of the POK project. Any modification should
5  * made according to the POK licence. You CANNOT use this file or a part of
6  * this file is this part of a file for your own project
7  *
8  * For more information on the POK licence, please see our LICENCE FILE
9  *
10  * Please follow the coding guidelines described in doc/CODING_GUIDELINES
11  *
12  * Copyright (c) 2007-2009 POK team
13  *
14  * Created by julien on Thu Jan 15 23:34:13 2009
15  */
16 
17 
18 #ifndef __POK_LIBC_STRING_H__
19 #define __POK_LIBC_STRING_H__
20 
21 #include <types.h>
22 
23 char *itoa(int value, char *buff, int radix);
24 void *memcpy(void *dest, const void *src, size_t count);
25 void *memset(void *dest, unsigned char val, size_t count);
26 int strcmp(const char *s1, const char *s2);
27 int strncmp(const char *s1, const char *s2, size_t size);
28 size_t strlen(const char *s);
29 char *strcpy(char *dest, const char *str);
30 char *strncpy(char *dest, const char *str, size_t size);
31 int memcmp (const void* v1, const void* v2, size_t n);
32 
33 /*
34 ** XXX: TO REMOVE
35 */
36 int streq(char* s1, char* s2);
37 
38 #endif