home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / pytho152.zip / emx / src / Python / PC / os2emx / dlfcn.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-09-12  |  1.7 KB  |  35 lines

  1. /* dlfcn.h -- header file for Unix-like dynamic-link functions */
  2.  
  3. /* Copyright (C) 1987,1991 Free Software Foundation, Inc.               */
  4. /*                                                                      */
  5. /* This file is part of GNU Bash, the Bourne Again SHell.               */
  6. /*                                                                      */
  7. /* Bash is free software; you can redistribute it and/or modify it      */
  8. /* under the terms of the GNU General Public License as published by    */
  9. /* the Free Software Foundation; either version 1, or (at your option)  */
  10. /* any later version.                                                   */
  11. /*                                                                      */
  12. /* Bash is distributed in the hope that it will be useful, but WITHOUT  */
  13. /* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY   */
  14. /* or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public     */
  15. /* License for more details.                                            */
  16. /*                                                                      */
  17. /* You should have received a copy of the GNU General Public License    */
  18. /* along with Bash; see the file COPYING.  If not, write to the Free    */
  19. /* Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.         */
  20.  
  21. /* load a dynamic-link library and return handle */
  22. void *dlopen (char *filename, int flags);
  23.  
  24. /* return a pointer to the `symbol' in DLL */
  25. void *dlsym(void *handle, char *symbol);
  26.  
  27. /* free dynamicaly-linked library */
  28. int dlclose(void *handle);
  29.  
  30. /* return a string describing last occured dl error */
  31. char *dlerror();
  32.  
  33. /* reload all loaded dynamic-link libraries -- used after fork() */
  34. void dlreload();
  35.