Upload current libxunil, to be used as a submodule

This commit is contained in:
csd4ni3l
2026-04-07 22:59:49 +02:00
parent 58cc2a7439
commit ba6ff0c94a
17 changed files with 1583 additions and 0 deletions

24
include/stdlib.h Normal file
View File

@@ -0,0 +1,24 @@
#pragma once
#include <inttypes.h>
#include <stddef.h>
void *malloc(size_t size);
void *calloc(size_t nmemb, size_t size);
void *realloc(void *ptr, size_t size);
void free(void *ptr);
void exit(int status);
void abort(void);
int atoi(const char *s);
long atol(const char *s);
double atof(const char *s);
long strtol(const char *s, char **endptr, int base);
double strtod(const char *s, char **endptr);
char *getenv(const char *name);
void qsort(void *base, size_t nmemb, size_t size, int (*cmp)(const void *, const void *));
int abs(int x);
int system(const char *cmd);
int draw_pixel(uint32_t x, uint32_t y, uint32_t color);
int framebuffer_swap();