Skip to content

Instantly share code, notes, and snippets.

View ucasfl's full-sized avatar
👋
Focusing

flynn ucasfl

👋
Focusing
View GitHub Profile
@ucasfl
ucasfl / dlopen_sample.c
Created October 13, 2020 08:23 — forked from tailriver/ dlopen_sample.c
A sample of using dlopen library.
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <dlfcn.h>
int main(int argc, char** argv)
{
void *handle;
void (*func_print_name)(const char*);