import RT-Thread@9217865c without bsp, libcpu and components/net
This commit is contained in:
commit
e2376a3709
1414 changed files with 390370 additions and 0 deletions
28
components/libc/posix/libdl/dlfcn.h
Normal file
28
components/libc/posix/libdl/dlfcn.h
Normal file
|
@ -0,0 +1,28 @@
|
|||
/*
|
||||
* Copyright (c) 2006-2021, RT-Thread Development Team
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*
|
||||
* Change Logs:
|
||||
* Date Author Notes
|
||||
* 2010-11-17 yi.qiu first version
|
||||
*/
|
||||
|
||||
#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
|
Loading…
Add table
Add a link
Reference in a new issue