chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Drop my copyright headers
[elogind.git]
/
src
/
test
/
test-dlopen.c
1
/* SPDX-License-Identifier: LGPL-2.1+ */
2
3
#include <dlfcn.h>
4
#include <stdlib.h>
5
6
#include "macro.h"
7
8
int main(int argc, char **argv) {
9
void *handle;
10
11
assert_se(handle = dlopen(argv[1], RTLD_NOW));
12
assert_se(dlclose(handle) == 0);
13
14
return EXIT_SUCCESS;
15
}