diff options
| author | Jakob Kaivo <jkk@ung.org> | 2019-02-27 21:20:04 -0500 |
|---|---|---|
| committer | Jakob Kaivo <jkk@ung.org> | 2019-02-27 21:20:04 -0500 |
| commit | a4a76ebe51a9c25c76f88b2ae1560491372e0787 (patch) | |
| tree | f17c051f2b00b531a68bd0ad117f57f291631dae /src | |
| parent | 7c537140edd2b17a8932b815bef62728db593343 (diff) | |
add __lookup() convenience macro
Diffstat (limited to 'src')
| -rw-r--r-- | src/nonstd/__lookup.c | 3 |
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) |
