5754652 [rkeene@sledge /home/rkeene/devel/cygwin-stuff/cyg-root/usr/include]$ cat -n dlfcn.h
 1 /* dlfcn.h
 2 
 3    Copyright 1998 Cygnus Solutions
 4 
 5 This file is part of Cygwin.
 6 
 7 This software is a copyrighted work licensed under the terms of the
 8 Cygwin license.  Please consult the file "CYGWIN_LICENSE" for
 9 details. */
10 
11 #ifndef _DLFCN_H
12 #define _DLFCN_H
13 
14 #ifdef __cplusplus
15 extern "C" {
16 #endif
17 
18 /* declarations used for dynamic linking support routines */
19 extern void *dlopen (const char *, int);
20 extern void *dlsym (void *, const char *);
21 extern int dlclose (void *);
22 extern char *dlerror (void);
23 
24 /* specific to CYGWIN */
25 #define FORK_RELOAD 1
26 #define FORK_NO_RELOAD  0
27 
28 extern void dlfork (int);
29 
30 /* following doesn't exist in Win32 API .... */
31 
32 /* valid values for mode argument to dlopen */
33 #define RTLD_LAZY   1   /* lazy function call binding */
34 #define RTLD_NOW    2   /* immediate function call binding */
35 #define RTLD_GLOBAL 4   /* symbols in this dlopen'ed obj are visible to other dlopen'ed objs */
36 
37 #ifdef __cplusplus
38 }
39 #endif
40 
41 #endif /* _DLFCN_H */
5754653 [rkeene@sledge /home/rkeene/devel/cygwin-stuff/cyg-root/usr/include]$

Click here to go back to the directory listing.
Click here to download this file.
last modified: 2001-01-31 15:09:07