mirror of
https://github.com/isfshax/isfshax.git
synced 2024-11-18 01:19:17 +01:00
28 lines
815 B
C
28 lines
815 B
C
|
/* string.c -- standard C string-manipulation functions.
|
||
|
|
||
|
Copyright (C) 2008 Segher Boessenkool <segher@kernel.crashing.org>
|
||
|
Copyright (C) 2009 Haxx Enterprises <bushing@gmail.com>
|
||
|
|
||
|
# This code is licensed to you under the terms of the GNU GPL, version 2;
|
||
|
# see file COPYING or http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
|
||
|
*/
|
||
|
|
||
|
#ifndef _STRING_H
|
||
|
#define _STRING_H
|
||
|
|
||
|
#include "types.h"
|
||
|
|
||
|
size_t strlen(const char *);
|
||
|
size_t strnlen(const char *, size_t);
|
||
|
void *memset(void *, int, size_t);
|
||
|
void *memcpy(void *, const void *, size_t);
|
||
|
int memcmp(const void *, const void *, size_t);
|
||
|
int strcmp(const char *, const char *);
|
||
|
int strncmp(const char *, const char *, size_t);
|
||
|
char *strchr(const char *, int);
|
||
|
size_t strspn(const char *, const char *);
|
||
|
size_t strcspn(const char *, const char *);
|
||
|
|
||
|
#endif
|
||
|
|