source: EcnlProtoTool/trunk/musl-1.1.18/include/dlfcn.h@ 331

Last change on this file since 331 was 331, checked in by coas-nagasima, 6 years ago

prototoolに関連するプロジェクトをnewlibからmuslを使うよう変更・更新
ntshellをnewlibの下位の実装から、muslのsyscallの実装に変更・更新
以下のOSSをアップデート
・mruby-1.3.0
・musl-1.1.18
・onigmo-6.1.3
・tcc-0.9.27
以下のOSSを追加
・openssl-1.1.0e
・curl-7.57.0
・zlib-1.2.11
以下のmrbgemsを追加
・iij/mruby-digest
・iij/mruby-env
・iij/mruby-errno
・iij/mruby-iijson
・iij/mruby-ipaddr
・iij/mruby-mock
・iij/mruby-require
・iij/mruby-tls-openssl

  • Property svn:eol-style set to native
  • Property svn:mime-type set to text/x-chdr
File size: 745 bytes
Line 
1#ifndef _DLFCN_H
2#define _DLFCN_H
3
4#ifdef __cplusplus
5extern "C" {
6#endif
7
8#include <features.h>
9
10#define RTLD_LAZY 1
11#define RTLD_NOW 2
12#define RTLD_NOLOAD 4
13#define RTLD_NODELETE 4096
14#define RTLD_GLOBAL 256
15#define RTLD_LOCAL 0
16
17#define RTLD_NEXT ((void *)-1)
18#define RTLD_DEFAULT ((void *)0)
19
20#define RTLD_DI_LINKMAP 2
21
22int dlclose(void *);
23char *dlerror(void);
24void *dlopen(const char *, int);
25void *dlsym(void *__restrict, const char *__restrict);
26
27#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
28typedef struct {
29 const char *dli_fname;
30 void *dli_fbase;
31 const char *dli_sname;
32 void *dli_saddr;
33} Dl_info;
34int dladdr(const void *, Dl_info *);
35int dlinfo(void *, int, void *);
36#endif
37
38#ifdef __cplusplus
39}
40#endif
41
42#endif
Note: See TracBrowser for help on using the repository browser.