Add more libc header stuff

This commit is contained in:
K. Lange 2018-09-01 22:14:34 +09:00
parent 38bdbb7402
commit 209d6d7e89
2 changed files with 9 additions and 2 deletions

View File

@ -1,9 +1,13 @@
#pragma once
#define RTLD_LAZY 0
#define RTLD_NOW 1
/* Currently unused... */
#define RTLD_LAZY (1 << 0)
#define RTLD_NOW (1 << 1)
#define RTLD_GLOBAL (1 << 2)
#define RTLD_DEFAULT ((void*)0)
/* Provided by ld.so, but also defined by libc.so for linking */
extern void * dlopen(const char *, int);
extern int dlclose(void *);
extern void * dlsym(void *, const char *);

View File

@ -0,0 +1,3 @@
#pragma once
/* Nothing here, we don't have an mmap implementation yet? */