summaryrefslogtreecommitdiff
path: root/ghc/lib/misc/cbits/selectFrom.h
diff options
context:
space:
mode:
authorsof <unknown>1999-09-11 16:49:03 +0000
committersof <unknown>1999-09-11 16:49:03 +0000
commit064567b95b91462ca310d1f94ef7df8646632e48 (patch)
tree9c74120610cf65a06ae0b168b9428a5f15a87fde /ghc/lib/misc/cbits/selectFrom.h
parentc13c43a111e825bb87a465ccbb9533f302beaa09 (diff)
downloadhaskell-064567b95b91462ca310d1f94ef7df8646632e48.tar.gz
[project @ 1999-09-11 16:49:02 by sof]
Added hSelect
Diffstat (limited to 'ghc/lib/misc/cbits/selectFrom.h')
-rw-r--r--ghc/lib/misc/cbits/selectFrom.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/ghc/lib/misc/cbits/selectFrom.h b/ghc/lib/misc/cbits/selectFrom.h
new file mode 100644
index 0000000000..7504df0514
--- /dev/null
+++ b/ghc/lib/misc/cbits/selectFrom.h
@@ -0,0 +1,21 @@
+/*
+ * (c) sof, 1999
+ *
+ * Stubs to help implement Select module
+ */
+#ifndef __SELECTFROM_H__
+#define __SELECTFROM_H__
+
+extern StgInt sizeof_fd_set__();
+extern void fd_zero__(StgByteArray fds);
+extern void fd_set__(StgByteArray a, StgInt fd);
+extern StgInt is_fd_set__(StgByteArray a, StgInt fd);
+extern StgInt selectFrom__
+ ( StgByteArray rfd
+ , StgByteArray wfd
+ , StgByteArray efd
+ , StgInt mFd
+ , StgInt tout
+ );
+
+#endif /* __SELECTFROM_H__ */