projects
/
libc-test
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
conformance fixes
[libc-test]
/
src
/
api
/
dlfcn.c
1
#include <dlfcn.h>
2
#define C(n) switch(n){case n:;}
3
static void f()
4
{
5
C(RTLD_LAZY)
6
C(RTLD_NOW)
7
C(RTLD_GLOBAL)
8
C(RTLD_LOCAL)
9
10
{int(*p)(void*) = dlclose;}
11
{char*(*p)(void) = dlerror;}
12
{void*(*p)(const char*,int) = dlopen;}
13
{void*(*p)(void*restrict,const char*restrict) = dlsym;}
14
}