CPP: Fix the nulltermination test.

This commit is contained in:
Geoffrey White
2020-01-20 14:50:34 +00:00
parent 952b9e1581
commit 2133fbd155

View File

@@ -3,14 +3,14 @@
#define va_arg(x, y) ((y)x)
#define va_end(x)
#define NULL 0
char* strcat(char* destination, const char* source);
char* strcpy(char* destination, const char* source);
int strlen(const char* str);
char* strcpy(char* destination, const char* source);
char* strstr(char* s1, const char* s2);
const char* strchr(const char* s, int c);
int strcmp(const char *s1, const char *s2);
char* global = " ";
void addNull(char* buffer) {
buffer[0] = '\0';
}