summaryrefslogtreecommitdiffstats
path: root/PC/os2emx/dlfcn.h
diff options
context:
space:
mode:
authorAndrew MacIntyre <andymac@bullseye.apana.org.au>2003-04-22 03:21:42 (GMT)
committerAndrew MacIntyre <andymac@bullseye.apana.org.au>2003-04-22 03:21:42 (GMT)
commit0c83348d5c110a6ca706219019e97d5cefe2fddb (patch)
treebd4be5331c889044de6470147d476e90b2373171 /PC/os2emx/dlfcn.h
parent699cbb767628888901d1a3c1f0ce20dd3ce1e4f9 (diff)
downloadcpython-0c83348d5c110a6ca706219019e97d5cefe2fddb.zip
cpython-0c83348d5c110a6ca706219019e97d5cefe2fddb.tar.gz
cpython-0c83348d5c110a6ca706219019e97d5cefe2fddb.tar.bz2
minor cleanups and whitespace normalisation
Diffstat (limited to 'PC/os2emx/dlfcn.h')
-rw-r--r--PC/os2emx/dlfcn.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/PC/os2emx/dlfcn.h b/PC/os2emx/dlfcn.h
index 214ddac..c429834 100644
--- a/PC/os2emx/dlfcn.h
+++ b/PC/os2emx/dlfcn.h
@@ -29,21 +29,22 @@ PERFORMANCE OF THIS SOFTWARE.
******************************************************************/
-/*
- This library implements dlopen() - functions for OS/2 using
- DosLoadModule() and company.
-*/
+/* This library implements dlopen() - Unix-like dynamic linking
+ * emulation functions for OS/2 using DosLoadModule() and company.
+ */
#ifndef _DLFCN_H
#define _DLFCN_H
-/*-------------------------------------- Unix-like dynamic linking emulation -*/
/* load a dynamic-link library and return handle */
-void *dlopen (char *filename, int flags);
+void *dlopen(char *filename, int flags);
+
/* return a pointer to the `symbol' in DLL */
-void *dlsym (void *handle, char *symbol);
+void *dlsym(void *handle, char *symbol);
+
/* free dynamicaly-linked library */
-int dlclose (void *handle);
+int dlclose(void *handle);
+
/* return a string describing last occured dl error */
char *dlerror(void);