Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
27f0effa6This file is pinned to the selected release. Download the original to open it in your design tool.
#ifndef STRING_H
#define STRING_H
#include <stddef.h>
int strlen(const char *str);
char *strcpy(char *dest, const char *src);
char *strncpy(char *dest, const char *src, int max);
int strcmp(const char *str1, const char *str2);
int strncmp(const char *str1, const char *str2, int max);
const char *strchr(const char *str, int ch);
const char *strrchr(const char *str, int ch);
char *strcat(char *dest, const char *src);
char *strncat(char *dest, const char *src, int max);
size_t strspn(const char *str1, const char *str2);
size_t strcspn(const char *str1, const char *str2);
char *strstr(const char *str1, const char *str2);
void *memcpy(void *dest, const void *src, size_t num);
void *memset(void *ptr, int value, size_t num);
int memcmp(const void *ptr1, const void *ptr2, size_t num);
#endif