rt-thread-official/components/libc/libdl/dlfcn.h

29 lines
601 B
C
Raw Normal View History

2018-08-30 20:27:45 +08:00
/*
2021-03-08 18:19:04 +08:00
* Copyright (c) 2006-2021, RT-Thread Development Team
2018-08-30 20:27:45 +08:00
*
* SPDX-License-Identifier: Apache-2.0
2021-03-08 18:19:04 +08:00
*
2018-08-30 20:27:45 +08:00
* Change Logs:
* Date Author Notes
* 2010-11-17 yi.qiu first version
*/
2013-01-08 22:40:58 +08:00
#ifndef __DLFCN_H_
#define __DLFCN_H_
#define RTLD_LAZY 0x00000
#define RTLD_NOW 0x00001
#define RTLD_LOCAL 0x00000
#define RTLD_GLOBAL 0x10000
#define RTLD_DEFAULT ((void*)1)
#define RTLD_NEXT ((void*)2)
void *dlopen (const char *filename, int flag);
const char *dlerror(void);
void *dlsym(void *handle, const char *symbol);
int dlclose (void *handle);
#endif