Espresso 0.0.2c

This commit is contained in:
2026-03-20 16:57:08 -05:00
parent 021fdbbcef
commit 5971218b56
77 changed files with 4538 additions and 518 deletions

9
libc/include/stdio.h Normal file
View File

@ -0,0 +1,9 @@
#ifndef LIBC_STDIO_H
#define LIBC_STDIO_H
int writestring(const char* __s);
void writechar(char __c);
int getstring(char* __str);
#endif

19
libc/include/string.h Normal file
View File

@ -0,0 +1,19 @@
#ifndef _LIBC_STRING_H
#define _LIBC_STRING_H
#include <stddef.h>
#include <stdint.h>
size_t strlen(const char* str);
int strcmp(const char *s1, const char *s2);
int strncmp(const char *s1, const char *s2, size_t n);
char* strcpy(char *dst, const char *src);
char* strncpy(char *dest, const char *src, uint32_t n);
char* strcat(char *dest, const char *src);
/*char* strdup(const char* s);*/
int memcmp(const void *s1, const void *s2, size_t n);
void* memcpy(void *dst, const void *src, uint32_t n);
void* memset(void* dst, int c, size_t n);
#endif