New version 0.6.6: app edit was improved; app nc was improved + code cleanup; app...
[ZeXOS.git] / kernel / include / string.h
blob3d3dc716b08fed193b7b101448f08ebdf4ab5f80
1 /*
2 * ZeX/OS
3 * Copyright (C) 2007 Tomas 'ZeXx86' Jedrzejek (zexx86@gmail.com)
5 * This program is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU 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 General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
20 #ifndef __STRING_H
21 #define __STRING_H
24 #include <_size_t.h>
25 #include <_null.h>
27 void *memcpy(void *dst_ptr, const void *src_ptr, size_t count);
28 void *memsetw(void *dst, int val, size_t count);
29 void *memset(void *dst, int val, size_t count);
30 size_t strlen(const char *str);
31 char *strcpy(char *to, const char *from);
32 char *strcat(char *s, const char *add);
33 int strcmp(const char *cs, const char *ct);
34 int strncmp(const char *cs, const char *ct, size_t count);
35 void kprintf(const char *fmt, ...);
36 void DPRINT (const char *fmt, ...);
38 #endif