summaryrefslogtreecommitdiff
path: root/src/nonstd/__lookup.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nonstd/__lookup.c')
-rw-r--r--src/nonstd/__lookup.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nonstd/__lookup.c b/src/nonstd/__lookup.c
new file mode 100644
index 00000000..dca2f6a9
--- /dev/null
+++ b/src/nonstd/__lookup.c
@@ -0,0 +1,3 @@
+#include <nonstd/syscall.h>
+
+#define __lookup(_name) ((long (*)(const char *))__libc(SYSCALL_LOOKUP))(_name)