FENIX_libc/include/string.h

39 lines
1.1 KiB
C
Executable File

/*
* <string.h> - string handling
*
* This header is a part of the FENIX C Library and is free software.
* You can redistribute and/or modify it subject to the terms of the
* Clumsy Wolf Public License v4. For more details, see the file COPYING.
*
* The FENIX C Library is distributed WITH NO WARRANTY WHATSOEVER. See
* The CWPL for more details.
*/
#ifndef _STRING_H
#define _STRING_H
#include <sys/cdefs.h>
#include <stddef.h>
/* Copying Functions (ISO C Std. 7.24.2) */
void * memcpy(void * __restrict, const void * __restrict, size_t);
void * memmove(void *, const void *, size_t);
/* Concatenation Functions (ISO C Std. 7.24.3) */
char * strcat(char * restrict, const char * restrict);
/* Comparison Functions (ISO C Std. 7.24.4) */
int memcmp(const void *, const void *, size_t);
int strcmp(const char *, const char *);
/* Search Functions (ISO C Std. 7.24.5) */
size_t strcspn(const char *, const char *);
char * strtok(char * restrict, char * restrict);
/* Miscellaneous Functions (ISO C Std. 7.24.6) */
void * memset(void *, int, size_t);
size_t strlen(const char *);
#endif