- Updated README and image - Added itoa to stdlib - Implemented modulus math for bcc which has none in the stdlib - Updated the build scripts to work on Ubuntu 22 - Added bochsrc with some useful overrides (new bochs bios in ubuntu is broken, use the legacy) - Made most of stdlib compile and run under GNU C for testing - Improved the tokenizer so it will return tokens of more than one character - Moved the basic parser from using void pointers to store values to using basic_value unions to represent possible types - Added tests for the basic tokenizer
13 lines
276 B
C
13 lines
276 B
C
#ifndef _STRING_H_
|
|
#define _STRING_H_
|
|
|
|
#include "types.h"
|
|
|
|
size_t strlen(char *ptr);
|
|
int strncat(char *dest, char *src, size_t n);
|
|
void *memset(void *s, char c, size_t n);
|
|
void *memcpy(void *dest, void *src, size_t n);
|
|
int strcmp(char *s1, char *s2);
|
|
|
|
#endif /* _STRING_H_ */
|