-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathstring.h
More file actions
36 lines (21 loc) · 723 Bytes
/
Copy pathstring.h
File metadata and controls
36 lines (21 loc) · 723 Bytes
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
#ifndef STRING_H
#define STRING_H
#include "types.h"
void *memset(void *dst, char c, uint32 n);
void *memcpy(void *dst, const void *src, uint32 n);
void *memmove(void *dst, const void *src, uint32 n);
int memcmp(const void *s1, const void *s2, uint32 n);
int strlen(const char *s);
int strcmp(const char *s1, char *s2);
int strncmp(const char *s1, const char *s2, int c);
int strcpy(char *dst, const char *src);
void strcat(char *dest, const char *src);
int isspace(char c);
int isalpha(char c);
char upper(char c);
char lower(char c);
void itoa(char *buf, int base, int d);
char *strstr(const char *in, const char *str);
char *strncpy(char *dest, const char *src, size_t n);
int atoi(const char *s);
#endif