]>
git.ipfire.org Git - thirdparty/systemd.git/blob - src/test/test-dlopen.c
febfc60e00ed0783b8f38c84ce2e5f2243866ae2
1 /* SPDX-License-Identifier: LGPL-2.1+ */
3 This file is part of systemd.
5 Copyright 2016 Zbigniew Jędrzejewski-Szmek
13 int main(int argc
, char **argv
) {
16 assert_se(handle
= dlopen(argv
[1], RTLD_NOW
));
17 assert_se(dlclose(handle
) == 0);