Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP4:FactoryCandidates
suse-hpc
dlinfo.c
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dlinfo.c of Package suse-hpc
#define _GNU_SOURCE #include <dlfcn.h> #include <link.h> #include <stdio.h> #include <stdlib.h> int main(int argc, char *argv[]) { void *dlh; struct link_map *linkmap; if (argc != 2) { fprintf(stderr, "Usage: %s <library>\n", argv[0]); exit(EXIT_FAILURE); } if ((dlh = dlopen(argv[1], RTLD_NOW)) == NULL) exit(EXIT_FAILURE); if (dlinfo(dlh, RTLD_DI_LINKMAP, &linkmap) == -1) exit(EXIT_FAILURE); printf("%s\n",linkmap->l_name); exit(EXIT_SUCCESS); }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor