-
Notifications
You must be signed in to change notification settings - Fork 77
Expand file tree
/
Copy pathstring.h
More file actions
48 lines (32 loc) · 1.47 KB
/
string.h
File metadata and controls
48 lines (32 loc) · 1.47 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#ifndef _GHLIBCPP_STRINGH
#define _GHLIBCPP_STRINGH
#include "errno.h"
typedef unsigned long size_t;
size_t strlen(const char *str);
char *strcpy(char *destination, const char *source);
char *strncpy(char *destination, const char *source, size_t num);
char *strcat(char *destination, const char *source);
char *strncat(char *destination, const char *source, size_t num);
int strcmp(const char *str1, const char *str2);
int strcoll(const char *str1, const char *str2);
int strncmp(const char *str1, const char *str2, size_t num);
size_t strxfrm(char *destination, const char *source, size_t num);
const char *strchr(const char *str, int character);
char *strchr(char *str, int character);
size_t strcspn(const char *str1, const char *str2);
const char *strpbrk(const char *str1, const char *str2);
char *strpbrk(char *str1, const char *str2);
const char *strrchr(const char *str, int character);
char *strrchr(char *str, int character);
size_t strspn(const char *str1, const char *str2);
const char *strstr(const char *str1, const char *str2);
char *strstr(char *str1, const char *str2);
char *strtok(char *str, const char *delimiters);
char *strerror(int errnum);
char *strdup(const char *);
void *memcpy(void *dest, const void *src, size_t count);
void *memset(void *dest, int ch, size_t count);
void *memmove(void *dest, const void *src, size_t count);
int memcmp(const void *lhs, const void *rhs, size_t count);
void *memchr (const void *, int, size_t);
#endif // _GHLIBCPP_STRINGH