mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-21 02:08:12 +03:00
0c5ecd303c
This is pretty cool. :^) GraphicsBitmaps are now mapped into both the server and the client address space (usually at different addresses but that doesn't matter.) Added a GUI syscall for getting a window's backing store, and another one for invalidating a window so that the server redraws it.
28 lines
551 B
C
28 lines
551 B
C
#pragma once
|
|
|
|
#include <sys/cdefs.h>
|
|
#include <sys/types.h>
|
|
|
|
__BEGIN_DECLS
|
|
|
|
#define EXIT_SUCCESS 0
|
|
#define EXIT_FAILURE 1
|
|
|
|
void* malloc(size_t) __MALLOC;
|
|
void free(void*);
|
|
void* calloc(size_t nmemb, size_t);
|
|
void* realloc(void *ptr, size_t);
|
|
char* getenv(const char* name);
|
|
int atoi(const char*);
|
|
long atol(const char*);
|
|
void qsort(void* base, size_t nmemb, size_t size, int (*compar)(const void *, const void *));
|
|
void exit(int status) __NORETURN;
|
|
void abort() __NORETURN;
|
|
|
|
#define RAND_MAX 32767
|
|
int rand();
|
|
void srand(unsigned seed);
|
|
|
|
__END_DECLS
|
|
|