Ruby  1.9.3p547(2014-05-14revision45962)
dln.h
Go to the documentation of this file.
1 /**********************************************************************
2 
3  dln.h -
4 
5  $Author: nobu $
6  created at: Wed Jan 19 16:53:09 JST 1994
7 
8  Copyright (C) 1993-2007 Yukihiro Matsumoto
9 
10 **********************************************************************/
11 
12 #ifndef DLN_H
13 #define DLN_H
14 
15 #ifdef __cplusplus
16 # ifndef HAVE_PROTOTYPES
17 # define HAVE_PROTOTYPES 1
18 # endif
19 # ifndef HAVE_STDARG_PROTOTYPES
20 # define HAVE_STDARG_PROTOTYPES 1
21 # endif
22 #endif
23 
24 #undef _
25 #ifdef HAVE_PROTOTYPES
26 # define _(args) args
27 #else
28 # define _(args) ()
29 #endif
30 
31 #if defined __GNUC__ && __GNUC__ >= 4
32 #pragma GCC visibility push(default)
33 #endif
34 
35 DEPRECATED(char *dln_find_exe(const char*,const char*));
36 DEPRECATED(char *dln_find_file(const char*,const char*));
37 char *dln_find_exe_r(const char*,const char*,char*,size_t);
38 char *dln_find_file_r(const char*,const char*,char*,size_t);
39 
40 #ifdef USE_DLN_A_OUT
41 extern char *dln_argv0;
42 #endif
43 
44 void *dln_load(const char*);
45 
46 #if defined __GNUC__ && __GNUC__ >= 4
47 #pragma GCC visibility pop
48 #endif
49 
50 #endif
char * dln_find_file_r(const char *, const char *, char *, size_t)
Definition: dln_find.c:107
void * dln_load(const char *)
Definition: dln.c:1249
char * dln_find_exe(const char *fname, const char *path)
Definition: dln_find.c:116
char * dln_find_exe_r(const char *, const char *, char *, size_t)
Definition: dln_find.c:85
DEPRECATED(char *dln_find_exe(const char *, const char *))
char * dln_find_file(const char *fname, const char *path)
Definition: dln_find.c:122