SCC.150 Assembler Emulator
A compiler for a simple assembler language
 All Files Functions
mystring.h
Go to the documentation of this file.
1 #ifndef MYSTRING_H_
2 #define MYSTRING_H_
3 
29 #include <stddef.h> // used for size_t
30 
31 size_t mystrlen(const char* s);
32 int mystrcmp(const char* s1, const char* s2);
33 int mystrncmp(const char* s1, const char* s2, int n);
34 char* mystrchr(char* haystack, const char needle);
35 char* mystrstr(char* haystack, const char* needle);
36 
37 #endif /* MYSTRING_H_ */
int mystrncmp(const char *s1, const char *s2, int n)
Definition: mystring.c:99
size_t mystrlen(const char *s)
Definition: mystring.c:46
int mystrcmp(const char *s1, const char *s2)
Definition: mystring.c:67
char * mystrchr(char *haystack, const char needle)
Definition: mystring.c:119
char * mystrstr(char *haystack, const char *needle)
Definition: mystring.c:138