summaryrefslogtreecommitdiff
path: root/otherlibs/labltk/support/fileevent.mli
diff options
context:
space:
mode:
Diffstat (limited to 'otherlibs/labltk/support/fileevent.mli')
-rw-r--r--otherlibs/labltk/support/fileevent.mli7
1 files changed, 7 insertions, 0 deletions
diff --git a/otherlibs/labltk/support/fileevent.mli b/otherlibs/labltk/support/fileevent.mli
new file mode 100644
index 0000000000..b72f6c78c1
--- /dev/null
+++ b/otherlibs/labltk/support/fileevent.mli
@@ -0,0 +1,7 @@
+open Unix
+
+val add_fileinput : fd:file_descr -> callback:(unit -> unit) -> unit
+val remove_fileinput: fd:file_descr -> unit
+val add_fileoutput : fd:file_descr -> callback:(unit -> unit) -> unit
+val remove_fileoutput: fd:file_descr -> unit
+ (* see [tk] module *)