<html> <head> <link rel="stylesheet" href="style.css" type="text/css"> <meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type"> <link rel="Start" href="index.html"> <link title="Index of types" rel=Appendix href="index_types.html"> <link title="Index of exceptions" rel=Appendix href="index_exceptions.html"> <link title="Index of values" rel=Appendix href="index_values.html"> <link title="Index of class attributes" rel=Appendix href="index_attributes.html"> <link title="Index of class methods" rel=Appendix href="index_methods.html"> <link title="Index of classes" rel=Appendix href="index_classes.html"> <link title="Index of class types" rel=Appendix href="index_class_types.html"> <link title="Index of modules" rel=Appendix href="index_modules.html"> <link title="Index of module types" rel=Appendix href="index_module_types.html"> <link title="Lwt_condition" rel="Chapter" href="Lwt_condition.html"> <link title="Lwt_list" rel="Chapter" href="Lwt_list.html"> <link title="Lwt" rel="Chapter" href="Lwt.html"> <link title="Lwt_mutex" rel="Chapter" href="Lwt_mutex.html"> <link title="Lwt_mvar" rel="Chapter" href="Lwt_mvar.html"> <link title="Lwt_pool" rel="Chapter" href="Lwt_pool.html"> <link title="Lwt_sequence" rel="Chapter" href="Lwt_sequence.html"> <link title="Lwt_stream" rel="Chapter" href="Lwt_stream.html"> <link title="Lwt_switch" rel="Chapter" href="Lwt_switch.html"> <link title="Lwt_util" rel="Chapter" href="Lwt_util.html"> <link title="Lwt_pqueue" rel="Chapter" href="Lwt_pqueue.html"> <link title="Lwt_lib" rel="Chapter" href="Lwt_lib.html"> <link title="Lwt_glib" rel="Chapter" href="Lwt_glib.html"> <link title="Lwt_preemptive" rel="Chapter" href="Lwt_preemptive.html"> <link title="Lwt_event" rel="Chapter" href="Lwt_event.html"> <link title="Lwt_signal" rel="Chapter" href="Lwt_signal.html"> <link title="Lwt_react" rel="Chapter" href="Lwt_react.html"> <link title="Lwt_ssl" rel="Chapter" href="Lwt_ssl.html"> <link title="Lwt_text" rel="Chapter" href="Lwt_text.html"> <link title="Lwt_term" rel="Chapter" href="Lwt_term.html"> <link title="Lwt_read_line" rel="Chapter" href="Lwt_read_line.html"> <link title="Lwt_top" rel="Chapter" href="Lwt_top.html"> <link title="Lwt_chan" rel="Chapter" href="Lwt_chan.html"> <link title="Lwt_daemon" rel="Chapter" href="Lwt_daemon.html"> <link title="Lwt_gc" rel="Chapter" href="Lwt_gc.html"> <link title="Lwt_io" rel="Chapter" href="Lwt_io.html"> <link title="Lwt_log" rel="Chapter" href="Lwt_log.html"> <link title="Lwt_main" rel="Chapter" href="Lwt_main.html"> <link title="Lwt_process" rel="Chapter" href="Lwt_process.html"> <link title="Lwt_throttle" rel="Chapter" href="Lwt_throttle.html"> <link title="Lwt_timeout" rel="Chapter" href="Lwt_timeout.html"> <link title="Lwt_unix" rel="Chapter" href="Lwt_unix.html"> <link title="Lwt_sys" rel="Chapter" href="Lwt_sys.html"> <link title="Lwt_engine" rel="Chapter" href="Lwt_engine.html"> <link title="Lwt_bytes" rel="Chapter" href="Lwt_bytes.html"> <link title="Pa_lwt" rel="Chapter" href="Pa_lwt.html"> <link title="Pa_lwt_log" rel="Chapter" href="Pa_lwt_log.html"><title>Index of values</title> </head> <body> <div class="navbar"> <a class="up" href="index.html" title="Index">Up</a> </div> <h1>Index of values</h1> <table> <tr><td align="left"><br></td></tr> <tr><td><a href="Lwt.html#VAL(<&>)">(<&>)</a> [<a href="Lwt.html">Lwt</a>]</td> <td><div class="info"> <code class="code">t <&> t'</code> is the same as <code class="code">join [t; t']</code> </div> </td></tr> <tr><td><a href="Lwt.html#VAL(<?>)">(<?>)</a> [<a href="Lwt.html">Lwt</a>]</td> <td><div class="info"> <code class="code">t <?> t'</code> is the same as <code class="code">choose [t; t']</code> </div> </td></tr> <tr><td><a href="Lwt.html#VAL(=<<)">(=<<)</a> [<a href="Lwt.html">Lwt</a>]</td> <td><div class="info"> <code class="code">f =<< t</code> is <code class="code">t >>= f</code> </div> </td></tr> <tr><td><a href="Lwt.html#VAL(=|<)">(=|<)</a> [<a href="Lwt.html">Lwt</a>]</td> <td><div class="info"> <code class="code">f =|< m</code> is <code class="code">map f m</code> </div> </td></tr> <tr><td><a href="Lwt.html#VAL(>>=)">(>>=)</a> [<a href="Lwt.html">Lwt</a>]</td> <td><div class="info"> <code class="code">t >>= f</code> is an alternative notation for <code class="code">bind t f</code>. </div> </td></tr> <tr><td><a href="Lwt.html#VAL(>|=)">(>|=)</a> [<a href="Lwt.html">Lwt</a>]</td> <td><div class="info"> <code class="code">m >|= f</code> is <code class="code">map f m</code> </div> </td></tr> <tr><td align="left"><br>A</td></tr> <tr><td><a href="Lwt_unix.html#VALabort">abort</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> <code class="code">abort fd exn</code> makes all current and further uses of the file descriptor fail with the given exception. </div> </td></tr> <tr><td><a href="Lwt_io.html#VALabort">abort</a> [<a href="Lwt_io.html">Lwt_io</a>]</td> <td><div class="info"> <code class="code">abort ch</code> abort current operations and close the channel immediatly. </div> </td></tr> <tr><td><a href="Lwt_ssl.html#VALabort">abort</a> [<a href="Lwt_ssl.html">Lwt_ssl</a>]</td> <td></td></tr> <tr><td><a href="Lwt_unix.html#VALabort_jobs">abort_jobs</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> <code class="code">abort_jobs exn</code> make all pending jobs to fail with exn. </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALaccept">accept</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Wrapper for <code class="code"><span class="constructor">Unix</span>.accept</code> </div> </td></tr> <tr><td><a href="Lwt_read_line.Control.html#VALaccept">accept</a> [<a href="Lwt_read_line.Control.html">Lwt_read_line.Control</a>]</td> <td><div class="info"> <code class="code">accept instance = send_command instance <span class="constructor">Command</span>.<span class="constructor">Accept_line</span></code> </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALaccept_n">accept_n</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> <code class="code">accept_n fd count</code> accepts up to <code class="code">count</code> connection in one time. </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALaccess">access</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Wrapper for <code class="code"><span class="constructor">Unix</span>.access</code> </div> </td></tr> <tr><td><a href="Lwt_react.S.html#VALaccum_s">accum_s</a> [<a href="Lwt_react.S.html">Lwt_react.S</a>]</td> <td></td></tr> <tr><td><a href="Lwt_react.E.html#VALaccum_s">accum_s</a> [<a href="Lwt_react.E.html">Lwt_react.E</a>]</td> <td></td></tr> <tr><td><a href="Lwt_signal.html#VALaccum_s">accum_s</a> [<a href="Lwt_signal.html">Lwt_signal</a>]</td> <td></td></tr> <tr><td><a href="Lwt_event.html#VALaccum_s">accum_s</a> [<a href="Lwt_event.html">Lwt_event</a>]</td> <td></td></tr> <tr><td><a href="Lwt_pqueue.S.html#VALadd">add</a> [<a href="Lwt_pqueue.S.html">Lwt_pqueue.S</a>]</td> <td></td></tr> <tr><td><a href="Lwt_read_line.html#VALadd_entry">add_entry</a> [<a href="Lwt_read_line.html">Lwt_read_line</a>]</td> <td><div class="info"> <code class="code">add_entry line history</code> returns the history <code class="code">history</code> plus <code class="code">line</code> at the beginning. </div> </td></tr> <tr><td><a href="Lwt_switch.html#VALadd_hook">add_hook</a> [<a href="Lwt_switch.html">Lwt_switch</a>]</td> <td><div class="info"> <code class="code">add_hook switch f</code> registers <code class="code">f</code> so it will be called when <a href="Lwt_switch.html#VALturn_off"><code class="code"><span class="constructor">Lwt_switch</span>.turn_off</code></a> is invoked. </div> </td></tr> <tr><td><a href="Lwt_switch.html#VALadd_hook_or_exec">add_hook_or_exec</a> [<a href="Lwt_switch.html">Lwt_switch</a>]</td> <td><div class="info"> <code class="code">add_hook_or_exec switch f</code> is the same as <a href="Lwt_switch.html#VALadd_hook"><code class="code"><span class="constructor">Lwt_switch</span>.add_hook</code></a> except that if the switch is already off, then <code class="code">f</code> is called immediatly. </div> </td></tr> <tr><td><a href="Lwt_sequence.html#VALadd_l">add_l</a> [<a href="Lwt_sequence.html">Lwt_sequence</a>]</td> <td><div class="info"> <code class="code">add_l x s</code> adds <code class="code">x</code> to the left of the sequence <code class="code">s</code> </div> </td></tr> <tr><td><a href="Lwt_sequence.html#VALadd_r">add_r</a> [<a href="Lwt_sequence.html">Lwt_sequence</a>]</td> <td><div class="info"> <code class="code">add_l x s</code> adds <code class="code">x</code> to the right of the sequence <code class="code">s</code> </div> </td></tr> <tr><td><a href="Lwt_log.html#VALadd_rule">add_rule</a> [<a href="Lwt_log.html">Lwt_log</a>]</td> <td><div class="info"> <code class="code">add_rule pattern level</code> adds a rule for sections logging levels. </div> </td></tr> <tr><td><a href="Lwt.html#VALadd_task_l">add_task_l</a> [<a href="Lwt.html">Lwt</a>]</td> <td><div class="info"> <code class="code">add_task_l seq</code> creates a sleeping thread, adds its wakener to the left of <code class="code">seq</code> and returns its waiter. </div> </td></tr> <tr><td><a href="Lwt.html#VALadd_task_r">add_task_r</a> [<a href="Lwt.html">Lwt</a>]</td> <td><div class="info"> <code class="code">add_task_r seq</code> creates a sleeping thread, adds its wakener to the right of <code class="code">seq</code> and returns its waiter. </div> </td></tr> <tr><td><a href="Lwt_read_line.Engine.html#VALall_input">all_input</a> [<a href="Lwt_read_line.Engine.html">Lwt_read_line.Engine</a>]</td> <td><div class="info"> Returns the current complete user input. </div> </td></tr> <tr><td><a href="Lwt_signal.html#VALalways_notify">always_notify</a> [<a href="Lwt_signal.html">Lwt_signal</a>]</td> <td></td></tr> <tr><td><a href="Lwt_event.html#VALalways_notify">always_notify</a> [<a href="Lwt_event.html">Lwt_event</a>]</td> <td></td></tr> <tr><td><a href="Lwt_signal.html#VALalways_notify_p">always_notify_p</a> [<a href="Lwt_signal.html">Lwt_signal</a>]</td> <td></td></tr> <tr><td><a href="Lwt_event.html#VALalways_notify_p">always_notify_p</a> [<a href="Lwt_event.html">Lwt_event</a>]</td> <td></td></tr> <tr><td><a href="Lwt_signal.html#VALalways_notify_s">always_notify_s</a> [<a href="Lwt_signal.html">Lwt_signal</a>]</td> <td></td></tr> <tr><td><a href="Lwt_event.html#VALalways_notify_s">always_notify_s</a> [<a href="Lwt_event.html">Lwt_event</a>]</td> <td></td></tr> <tr><td><a href="Lwt_react.E.html#VALapp_p">app_p</a> [<a href="Lwt_react.E.html">Lwt_react.E</a>]</td> <td></td></tr> <tr><td><a href="Lwt_event.html#VALapp_p">app_p</a> [<a href="Lwt_event.html">Lwt_event</a>]</td> <td></td></tr> <tr><td><a href="Lwt_react.S.html#VALapp_s">app_s</a> [<a href="Lwt_react.S.html">Lwt_react.S</a>]</td> <td></td></tr> <tr><td><a href="Lwt_react.E.html#VALapp_s">app_s</a> [<a href="Lwt_react.E.html">Lwt_react.E</a>]</td> <td></td></tr> <tr><td><a href="Lwt_signal.html#VALapp_s">app_s</a> [<a href="Lwt_signal.html">Lwt_signal</a>]</td> <td></td></tr> <tr><td><a href="Lwt_event.html#VALapp_s">app_s</a> [<a href="Lwt_event.html">Lwt_event</a>]</td> <td></td></tr> <tr><td><a href="Lwt_stream.html#VALappend">append</a> [<a href="Lwt_stream.html">Lwt_stream</a>]</td> <td><div class="info"> <code class="code">append s1 s2</code> returns a stream which returns all elements of <code class="code">s1</code>, then all elements of <code class="code">s2</code> </div> </td></tr> <tr><td><a href="Lwt_log.html#VALappend_rule">append_rule</a> [<a href="Lwt_log.html">Lwt_log</a>]</td> <td><div class="info"> <code class="code">append_rule pattern level</code> adds the given rule after all other rules. </div> </td></tr> <tr><td><a href="Lwt.html#VALasync">async</a> [<a href="Lwt.html">Lwt</a>]</td> <td><div class="info"> <code class="code">async f</code> starts a thread without waiting for the result. </div> </td></tr> <tr><td><a href="Lwt.html#VALasync_exception_hook">async_exception_hook</a> [<a href="Lwt.html">Lwt</a>]</td> <td><div class="info"> Function called when a asynchronous exception is thrown. </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALasync_method">async_method</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> <code class="code">async_method ()</code> returns the async method used in the current thread. </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALasync_method_key">async_method_key</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> The key for storing the local async method. </div> </td></tr> <tr><td><a href="Lwt_main.html#VALat_exit">at_exit</a> [<a href="Lwt_main.html">Lwt_main</a>]</td> <td><div class="info"> <code class="code">at_exit hook</code> adds hook at the left of <code class="code">exit_hooks</code> </div> </td></tr> <tr><td><a href="Lwt_io.html#VALatomic">atomic</a> [<a href="Lwt_io.html">Lwt_io</a>]</td> <td><div class="info"> <code class="code">atomic f</code> transforms a sequence of io operations into one single atomic io operation. </div> </td></tr> <tr><td><a href="Lwt_text.html#VALatomic">atomic</a> [<a href="Lwt_text.html">Lwt_text</a>]</td> <td></td></tr> <tr><td><a href="Lwt_unix.html#VALauto_yield">auto_yield</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> <code class="code">auto_yield timeout</code> returns a function <code class="code">f</code> which will yield every <code class="code">timeout</code> seconds. </div> </td></tr> <tr><td align="left"><br>B</td></tr> <tr><td><a href="Lwt_term.html#VALbg">bg</a> [<a href="Lwt_term.html">Lwt_term</a>]</td> <td><div class="info"> <code class="code">bg col = <span class="constructor">Background</span> col</code> </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALbind">bind</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Wrapper for <code class="code"><span class="constructor">Unix</span>.bind</code> </div> </td></tr> <tr><td><a href="Lwt_react.S.html#VALbind">bind</a> [<a href="Lwt_react.S.html">Lwt_react.S</a>]</td> <td><div class="info"> <code class="code">bind ?eq s f</code> is initially <code class="code">f x</code> where <code class="code">x</code> is the current value of <code class="code">s</code>. </div> </td></tr> <tr><td><a href="Lwt_signal.html#VALbind">bind</a> [<a href="Lwt_signal.html">Lwt_signal</a>]</td> <td></td></tr> <tr><td><a href="Lwt.html#VALbind">bind</a> [<a href="Lwt.html">Lwt</a>]</td> <td><div class="info"> <code class="code">bind t f</code> is a thread which first waits for the thread <code class="code">t</code> to terminate and then, if the thread succeeds, behaves as the application of function <code class="code">f</code> to the return value of <code class="code">t</code>. </div> </td></tr> <tr><td><a href="Lwt_react.S.html#VALbind_s">bind_s</a> [<a href="Lwt_react.S.html">Lwt_react.S</a>]</td> <td><div class="info"> Same as <a href="Lwt_react.S.html#VALbind"><code class="code"><span class="constructor">Lwt_react</span>.<span class="constructor">S</span>.bind</code></a> except that <code class="code">f</code> returns a thread. </div> </td></tr> <tr><td><a href="Lwt_term.html#VALblack">black</a> [<a href="Lwt_term.html">Lwt_term</a>]</td> <td></td></tr> <tr><td><a href="Lwt_term.html#VALblank">blank</a> [<a href="Lwt_term.html">Lwt_term</a>]</td> <td><div class="info"> A space with default color and styles </div> </td></tr> <tr><td><a href="Lwt_term.html#VALblink">blink</a> [<a href="Lwt_term.html">Lwt_term</a>]</td> <td></td></tr> <tr><td><a href="Lwt_bytes.html#VALblit">blit</a> [<a href="Lwt_bytes.html">Lwt_bytes</a>]</td> <td><div class="info"> <code class="code">blit buf1 ofs1 buf2 ofs2 len</code> copy <code class="code">len</code> bytes from <code class="code">buf1</code> starting at offset <code class="code">ofs1</code> to <code class="code">buf2</code> starting at offset <code class="code">ofs2</code>. </div> </td></tr> <tr><td><a href="Lwt_bytes.html#VALblit_bytes_string">blit_bytes_string</a> [<a href="Lwt_bytes.html">Lwt_bytes</a>]</td> <td><div class="info"> Same as blit but the second buffer is a string instead of a byte array. </div> </td></tr> <tr><td><a href="Lwt_bytes.html#VALblit_string_bytes">blit_string_bytes</a> [<a href="Lwt_bytes.html">Lwt_bytes</a>]</td> <td><div class="info"> Same as blit but the first buffer is a string instead of a byte array. </div> </td></tr> <tr><td><a href="Lwt_io.html#VALblock">block</a> [<a href="Lwt_io.html">Lwt_io</a>]</td> <td><div class="info"> <code class="code">block ch size f</code> pass to <code class="code">f</code> the internal buffer and an offset. </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALblocking">blocking</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> <code class="code">blocking fd</code> returns whether <code class="code">fd</code> is used in blocking or non-blocking mode. </div> </td></tr> <tr><td><a href="Lwt_term.html#VALblue">blue</a> [<a href="Lwt_term.html">Lwt_term</a>]</td> <td></td></tr> <tr><td><a href="Lwt_term.html#VALbold">bold</a> [<a href="Lwt_term.html">Lwt_term</a>]</td> <td></td></tr> <tr><td><a href="Lwt_log.html#VALbroadcast">broadcast</a> [<a href="Lwt_log.html">Lwt_log</a>]</td> <td><div class="info"> <code class="code">broadcast loggers</code> is a logger which send messages to all the given loggers. </div> </td></tr> <tr><td><a href="Lwt_condition.html#VALbroadcast">broadcast</a> [<a href="Lwt_condition.html">Lwt_condition</a>]</td> <td><div class="info"> <code class="code">broadcast condvar value</code> notifies all waiting threads. </div> </td></tr> <tr><td><a href="Lwt_io.html#VALbuffer_size">buffer_size</a> [<a href="Lwt_io.html">Lwt_io</a>]</td> <td><div class="info"> Returns the size of the internal buffer. </div> </td></tr> <tr><td><a href="Lwt_io.html#VALbuffered">buffered</a> [<a href="Lwt_io.html">Lwt_io</a>]</td> <td><div class="info"> <code class="code">buffered oc</code> returns the number of bytes in the buffer </div> </td></tr> <tr><td><a href="Lwt_text.html#VALbyte_channel">byte_channel</a> [<a href="Lwt_text.html">Lwt_text</a>]</td> <td><div class="info"> <code class="code">byte_channel ch</code> returns the underlying byte channel of a text channel </div> </td></tr> <tr><td><a href="Lwt_sys.html#VALbyte_order">byte_order</a> [<a href="Lwt_sys.html">Lwt_sys</a>]</td> <td><div class="info"> The byte order used by the computer running the program. </div> </td></tr> <tr><td align="left"><br>C</td></tr> <tr><td><a href="Lwt_unix.html#VALcall_notification">call_notification</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Call the handler associated to the given notification. </div> </td></tr> <tr><td><a href="Lwt.html#VALcancel">cancel</a> [<a href="Lwt.html">Lwt</a>]</td> <td><div class="info"> <code class="code">cancel t</code> cancels the threads <code class="code">t</code>. </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALcancel_jobs">cancel_jobs</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> <code class="code">cancel_jobs ()</code> is the same as <code class="code">abort_jobs <span class="constructor">Lwt</span>.<span class="constructor">Canceled</span></code>. </div> </td></tr> <tr><td><a href="Lwt.html#VALcatch">catch</a> [<a href="Lwt.html">Lwt</a>]</td> <td><div class="info"> <code class="code">catch t f</code> is a thread that behaves as the thread <code class="code">t ()</code> if this thread succeeds. </div> </td></tr> <tr><td><a href="Lwt_timeout.html#VALchange">change</a> [<a href="Lwt_timeout.html">Lwt_timeout</a>]</td> <td><div class="info"> changes the duration of a timeout. </div> </td></tr> <tr><td><a href="Lwt_log.html#VALchannel">channel</a> [<a href="Lwt_log.html">Lwt_log</a>]</td> <td><div class="info"> <code class="code">channel ?template ~close_mode ~channel ()</code> creates a logger from a channel. </div> </td></tr> <tr><td><a href="Lwt_io.html#VALchars_of_file">chars_of_file</a> [<a href="Lwt_io.html">Lwt_io</a>]</td> <td><div class="info"> <code class="code">chars_of_file name</code> returns a stream of all characters of the file with name <code class="code">name</code>. </div> </td></tr> <tr><td><a href="Lwt_text.html#VALchars_of_file">chars_of_file</a> [<a href="Lwt_text.html">Lwt_text</a>]</td> <td></td></tr> <tr><td><a href="Lwt_io.html#VALchars_to_file">chars_to_file</a> [<a href="Lwt_io.html">Lwt_io</a>]</td> <td><div class="info"> <code class="code">chars_to_file name chars</code> writes all characters of <code class="code">chars</code> to <code class="code">name</code> </div> </td></tr> <tr><td><a href="Lwt_text.html#VALchars_to_file">chars_to_file</a> [<a href="Lwt_text.html">Lwt_text</a>]</td> <td></td></tr> <tr><td><a href="Lwt_unix.html#VALchdir">chdir</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Wrapper for <code class="code"><span class="constructor">Unix</span>.chdir</code> </div> </td></tr> <tr><td><a href="Lwt_switch.html#VALcheck">check</a> [<a href="Lwt_switch.html">Lwt_switch</a>]</td> <td><div class="info"> <code class="code">check switch</code> does nothing if <code class="code">switch</code> is <code class="code"><span class="constructor">None</span></code> or contains an switch that is currently on, and raise <a href="Lwt_switch.html#EXCEPTIONOff"><code class="code"><span class="constructor">Lwt_switch</span>.<span class="constructor">Off</span></code></a> otherwise. </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALcheck_descriptor">check_descriptor</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> <code class="code">check_descriptor fd</code> raise an exception if <code class="code">fd</code> is not in the state <code class="code"><span class="constructor">Open</span></code> </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALchmod">chmod</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Wrapper for <code class="code"><span class="constructor">Unix</span>.chmod</code> </div> </td></tr> <tr><td><a href="Lwt_stream.html#VALchoose">choose</a> [<a href="Lwt_stream.html">Lwt_stream</a>]</td> <td><div class="info"> <code class="code">choose l</code> creates an stream from a list of streams. </div> </td></tr> <tr><td><a href="Lwt.html#VALchoose">choose</a> [<a href="Lwt.html">Lwt</a>]</td> <td><div class="info"> <code class="code">choose l</code> behaves as the first thread in <code class="code">l</code> to terminate. </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALchown">chown</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Wrapper for <code class="code"><span class="constructor">Unix</span>.chown</code> </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALchroot">chroot</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Wrapper for <code class="code"><span class="constructor">Unix</span>.chroot</code> </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALclear_close_on_exec">clear_close_on_exec</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Wrapper for <code class="code"><span class="constructor">Unix</span>.clear_close_on_exec</code> </div> </td></tr> <tr><td><a href="Lwt_term.html#VALclear_line">clear_line</a> [<a href="Lwt_term.html">Lwt_term</a>]</td> <td><div class="info"> <code class="code">clear_line ()</code> clears the current line </div> </td></tr> <tr><td><a href="Lwt_term.html#VALclear_screen">clear_screen</a> [<a href="Lwt_term.html">Lwt_term</a>]</td> <td><div class="info"> <code class="code">clear_screen ()</code> clears the entire screen </div> </td></tr> <tr><td><a href="Lwt_read_line.html#VALclipboard">clipboard</a> [<a href="Lwt_read_line.html">Lwt_read_line</a>]</td> <td><div class="info"> The global clipboard. </div> </td></tr> <tr><td><a href="Lwt_stream.html#VALclone">clone</a> [<a href="Lwt_stream.html">Lwt_stream</a>]</td> <td><div class="info"> <code class="code">clone st</code> clone the given stream. </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALclose">close</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Close a <b>file descriptor</b>. </div> </td></tr> <tr><td><a href="Lwt_log.html#VALclose">close</a> [<a href="Lwt_log.html">Lwt_log</a>]</td> <td><div class="info"> Close the given logger </div> </td></tr> <tr><td><a href="Lwt_io.html#VALclose">close</a> [<a href="Lwt_io.html">Lwt_io</a>]</td> <td><div class="info"> <code class="code">close ch</code> closes the given channel. </div> </td></tr> <tr><td><a href="Lwt_text.html#VALclose">close</a> [<a href="Lwt_text.html">Lwt_text</a>]</td> <td><div class="info"> Close the underlying byte channel </div> </td></tr> <tr><td><a href="Lwt_ssl.html#VALclose">close</a> [<a href="Lwt_ssl.html">Lwt_ssl</a>]</td> <td></td></tr> <tr><td><a href="Lwt_chan.html#VALclose_in">close_in</a> [<a href="Lwt_chan.html">Lwt_chan</a>]</td> <td></td></tr> <tr><td><a href="Lwt_chan.html#VALclose_out">close_out</a> [<a href="Lwt_chan.html">Lwt_chan</a>]</td> <td></td></tr> <tr><td><a href="Lwt_unix.html#VALclosedir">closedir</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Wrapper for <code class="code"><span class="constructor">Unix</span>.closedir</code> </div> </td></tr> <tr><td><a href="Lwt_term.html#VALcolumns">columns</a> [<a href="Lwt_term.html">Lwt_term</a>]</td> <td><div class="info"> Number of columns of the terminal </div> </td></tr> <tr><td><a href="Lwt_stream.html#VALcombine">combine</a> [<a href="Lwt_stream.html">Lwt_stream</a>]</td> <td><div class="info"> <code class="code">combine s1 s2</code> combine two streams. </div> </td></tr> <tr><td><a href="Lwt_pqueue.OrderedType.html#VALcompare">compare</a> [<a href="Lwt_pqueue.OrderedType.html">Lwt_pqueue.OrderedType</a>]</td> <td></td></tr> <tr><td><a href="Lwt_read_line.html#VALcomplete">complete</a> [<a href="Lwt_read_line.html">Lwt_read_line</a>]</td> <td><div class="info"> <code class="code">complete ?suffix before word after words</code> basic completion functions. </div> </td></tr> <tr><td><a href="Lwt_top.html#VALcompletion_mode">completion_mode</a> [<a href="Lwt_top.html">Lwt_top</a>]</td> <td><div class="info"> Return the current completion mode. </div> </td></tr> <tr><td><a href="Lwt_stream.html#VALconcat">concat</a> [<a href="Lwt_stream.html">Lwt_stream</a>]</td> <td><div class="info"> <code class="code">concat st</code> returns the concatenation of all streams of <code class="code">st</code>. </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALconnect">connect</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Wrapper for <code class="code"><span class="constructor">Unix</span>.connect</code> </div> </td></tr> <tr><td><a href="Lwt_term.html#VALcontrol_mapping">control_mapping</a> [<a href="Lwt_term.html">Lwt_term</a>]</td> <td><div class="info"> Mapping from control key codes to character codes. </div> </td></tr> <tr><td><a href="Lwt_bytes.html#VALcopy">copy</a> [<a href="Lwt_bytes.html">Lwt_bytes</a>]</td> <td><div class="info"> <code class="code">copy buffer</code> creates a copy of the given byte array. </div> </td></tr> <tr><td><a href="Lwt_bytes.html#VALcreate">create</a> [<a href="Lwt_bytes.html">Lwt_bytes</a>]</td> <td><div class="info"> Creates a new byte array of the given size. </div> </td></tr> <tr><td><a href="Lwt_timeout.html#VALcreate">create</a> [<a href="Lwt_timeout.html">Lwt_timeout</a>]</td> <td><div class="info"> <code class="code">create n f</code> defines a new timeout with <code class="code">n</code> seconds duration. </div> </td></tr> <tr><td><a href="Lwt_throttle.S.html#VALcreate">create</a> [<a href="Lwt_throttle.S.html">Lwt_throttle.S</a>]</td> <td><div class="info"> </div> </td></tr> <tr><td><a href="Lwt_switch.html#VALcreate">create</a> [<a href="Lwt_switch.html">Lwt_switch</a>]</td> <td><div class="info"> <code class="code">create ()</code> creates a new switch. </div> </td></tr> <tr><td><a href="Lwt_stream.html#VALcreate">create</a> [<a href="Lwt_stream.html">Lwt_stream</a>]</td> <td><div class="info"> <code class="code">create ()</code> returns a new stream and a push function. </div> </td></tr> <tr><td><a href="Lwt_sequence.html#VALcreate">create</a> [<a href="Lwt_sequence.html">Lwt_sequence</a>]</td> <td><div class="info"> <code class="code">create ()</code> creates a new empty sequence </div> </td></tr> <tr><td><a href="Lwt_pool.html#VALcreate">create</a> [<a href="Lwt_pool.html">Lwt_pool</a>]</td> <td><div class="info"> <code class="code">create n ?check ?validate f</code> creates a new pool with at most <code class="code">n</code> members. </div> </td></tr> <tr><td><a href="Lwt_mvar.html#VALcreate">create</a> [<a href="Lwt_mvar.html">Lwt_mvar</a>]</td> <td><div class="info"> <code class="code">create v</code> creates a new mailbox variable containing value <code class="code">v</code>. </div> </td></tr> <tr><td><a href="Lwt_mutex.html#VALcreate">create</a> [<a href="Lwt_mutex.html">Lwt_mutex</a>]</td> <td><div class="info"> <code class="code">create ()</code> creates a new mutex, which is initially unlocked </div> </td></tr> <tr><td><a href="Lwt_condition.html#VALcreate">create</a> [<a href="Lwt_condition.html">Lwt_condition</a>]</td> <td><div class="info"> <code class="code">create ()</code> creates a new condition variable. </div> </td></tr> <tr><td><a href="Lwt_stream.html#VALcreate_bounded">create_bounded</a> [<a href="Lwt_stream.html">Lwt_stream</a>]</td> <td><div class="info"> <code class="code">create_bounded size</code> returns a new stream and a bounded push source. </div> </td></tr> <tr><td><a href="Lwt_mvar.html#VALcreate_empty">create_empty</a> [<a href="Lwt_mvar.html">Lwt_mvar</a>]</td> <td><div class="info"> <code class="code">create ()</code> creates a new empty mailbox variable. </div> </td></tr> <tr><td><a href="Lwt_stream.html#VALcreate_with_reference">create_with_reference</a> [<a href="Lwt_stream.html">Lwt_stream</a>]</td> <td><div class="info"> <code class="code">create_with_reference ()</code> returns a new stream and a push function. </div> </td></tr> <tr><td><a href="Lwt_term.html#VALcyan">cyan</a> [<a href="Lwt_term.html">Lwt_term</a>]</td> <td></td></tr> <tr><td align="left"><br>D</td></tr> <tr><td><a href="Lwt_daemon.html#VALdaemonize">daemonize</a> [<a href="Lwt_daemon.html">Lwt_daemon</a>]</td> <td><div class="info"> Put the current running process into daemon mode. </div> </td></tr> <tr><td><a href="Lwt_log.html#VALdebug">debug</a> [<a href="Lwt_log.html">Lwt_log</a>]</td> <td></td></tr> <tr><td><a href="Lwt_log.html#VALdebug_f">debug_f</a> [<a href="Lwt_log.html">Lwt_log</a>]</td> <td></td></tr> <tr><td><a href="Lwt_term.html#VALdecode_key">decode_key</a> [<a href="Lwt_term.html">Lwt_term</a>]</td> <td><div class="info"> Decode a key. </div> </td></tr> <tr><td><a href="Lwt_log.html#VALdefault">default</a> [<a href="Lwt_log.html">Lwt_log</a>]</td> <td><div class="info"> The default logger. </div> </td></tr> <tr><td><a href="Lwt_term.html#VALdefault">default</a> [<a href="Lwt_term.html">Lwt_term</a>]</td> <td></td></tr> <tr><td><a href="Lwt_unix.html#VALdefault_async_method">default_async_method</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Returns the default async method. </div> </td></tr> <tr><td><a href="Lwt_io.html#VALdefault_buffer_size">default_buffer_size</a> [<a href="Lwt_io.html">Lwt_io</a>]</td> <td><div class="info"> Return the default size for buffers. </div> </td></tr> <tr><td><a href="Lwt_react.E.html#VALdelay">delay</a> [<a href="Lwt_react.E.html">Lwt_react.E</a>]</td> <td><div class="info"> <code class="code">delay thread</code> is an event which does not occurs until <code class="code">thread</code> returns. </div> </td></tr> <tr><td><a href="Lwt_signal.html#VALdelay">delay</a> [<a href="Lwt_signal.html">Lwt_signal</a>]</td> <td></td></tr> <tr><td><a href="Lwt_event.html#VALdelay">delay</a> [<a href="Lwt_event.html">Lwt_event</a>]</td> <td></td></tr> <tr><td><a href="Lwt_preemptive.html#VALdetach">detach</a> [<a href="Lwt_preemptive.html">Lwt_preemptive</a>]</td> <td><div class="info"> detaches a computation to a preemptive thread. </div> </td></tr> <tr><td><a href="Lwt_react.S.html#VALdiff_s">diff_s</a> [<a href="Lwt_react.S.html">Lwt_react.S</a>]</td> <td></td></tr> <tr><td><a href="Lwt_react.E.html#VALdiff_s">diff_s</a> [<a href="Lwt_react.E.html">Lwt_react.E</a>]</td> <td></td></tr> <tr><td><a href="Lwt_signal.html#VALdiff_s">diff_s</a> [<a href="Lwt_signal.html">Lwt_signal</a>]</td> <td></td></tr> <tr><td><a href="Lwt_event.html#VALdiff_s">diff_s</a> [<a href="Lwt_event.html">Lwt_event</a>]</td> <td></td></tr> <tr><td><a href="Lwt_io.html#VALdirect_access">direct_access</a> [<a href="Lwt_io.html">Lwt_io</a>]</td> <td><div class="info"> <code class="code">direct_access ch f</code> pass to <code class="code">f</code> a <a href="Lwt_io.html#VALdirect_access"><code class="code"><span class="constructor">Lwt_io</span>.direct_access</code></a> structure. </div> </td></tr> <tr><td><a href="Lwt_signal.html#VALdisable">disable</a> [<a href="Lwt_signal.html">Lwt_signal</a>]</td> <td></td></tr> <tr><td><a href="Lwt_event.html#VALdisable">disable</a> [<a href="Lwt_event.html">Lwt_event</a>]</td> <td></td></tr> <tr><td><a href="Lwt_unix.html#VALdisable_signal_handler">disable_signal_handler</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Stops receiving this signal </div> </td></tr> <tr><td><a href="Lwt_log.html#VALdispatch">dispatch</a> [<a href="Lwt_log.html">Lwt_log</a>]</td> <td><div class="info"> <code class="code">dispatch f</code> is a logger which dispatch logging instructions to different logger according to their level and/or section. </div> </td></tr> <tr><td><a href="Lwt_read_line.Terminal.html#VALdraw">draw</a> [<a href="Lwt_read_line.Terminal.html">Lwt_read_line.Terminal</a>]</td> <td><div class="info"> <code class="code">draw ~column ?map_text ?bar ~render_state ~engine_state prompt ()</code> returns <code class="code">(text, state)</code> where <code class="code">state</code> is the new rendering state, and <code class="code">text</code> is a text containing escape sequences. </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALdup">dup</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Wrapper for <code class="code"><span class="constructor">Unix</span>.dup</code> </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALdup2">dup2</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Wrapper for <code class="code"><span class="constructor">Unix</span>.dup2</code> </div> </td></tr> <tr><td align="left"><br>E</td></tr> <tr><td><a href="Lwt_read_line.Engine.html#VALedition_state">edition_state</a> [<a href="Lwt_read_line.Engine.html">Lwt_read_line.Engine</a>]</td> <td><div class="info"> Returns the edition state of a state, whatever its mode is. </div> </td></tr> <tr><td><a href="Lwt_ssl.html#VALembed_socket">embed_socket</a> [<a href="Lwt_ssl.html">Lwt_ssl</a>]</td> <td></td></tr> <tr><td><a href="Lwt_pqueue.S.html#VALempty">empty</a> [<a href="Lwt_pqueue.S.html">Lwt_pqueue.S</a>]</td> <td></td></tr> <tr><td><a href="Lwt_text.html#VALencoding">encoding</a> [<a href="Lwt_text.html">Lwt_text</a>]</td> <td><div class="info"> <code class="code">encoding ch</code> returns the character encoding of a channel. </div> </td></tr> <tr><td><a href="Lwt_read_line.Control.html#VALengine_state">engine_state</a> [<a href="Lwt_read_line.Control.html">Lwt_read_line.Control</a>]</td> <td><div class="info"> Return the engine state of the given state </div> </td></tr> <tr><td><a href="Lwt_term.html#VALenter_drawing_mode">enter_drawing_mode</a> [<a href="Lwt_term.html">Lwt_term</a>]</td> <td><div class="info"> Put the terminal into drawing mode </div> </td></tr> <tr><td><a href="Lwt_main.html#VALenter_iter_hooks">enter_iter_hooks</a> [<a href="Lwt_main.html">Lwt_main</a>]</td> <td><div class="info"> Functions that are called before the main iteration. </div> </td></tr> <tr><td><a href="Lwt_io.html#VALeprint">eprint</a> [<a href="Lwt_io.html">Lwt_io</a>]</td> <td></td></tr> <tr><td><a href="Lwt_text.html#VALeprint">eprint</a> [<a href="Lwt_text.html">Lwt_text</a>]</td> <td></td></tr> <tr><td><a href="Lwt_term.html#VALeprintc">eprintc</a> [<a href="Lwt_term.html">Lwt_term</a>]</td> <td><div class="info"> Same as <code class="code">printc</code> but prints on stderr. </div> </td></tr> <tr><td><a href="Lwt_io.html#VALeprintf">eprintf</a> [<a href="Lwt_io.html">Lwt_io</a>]</td> <td></td></tr> <tr><td><a href="Lwt_text.html#VALeprintf">eprintf</a> [<a href="Lwt_text.html">Lwt_text</a>]</td> <td></td></tr> <tr><td><a href="Lwt_io.html#VALeprintl">eprintl</a> [<a href="Lwt_io.html">Lwt_io</a>]</td> <td></td></tr> <tr><td><a href="Lwt_text.html#VALeprintl">eprintl</a> [<a href="Lwt_text.html">Lwt_text</a>]</td> <td></td></tr> <tr><td><a href="Lwt_term.html#VALeprintlc">eprintlc</a> [<a href="Lwt_term.html">Lwt_term</a>]</td> <td><div class="info"> Same as <code class="code">printlc</code> but prints on stderr </div> </td></tr> <tr><td><a href="Lwt_io.html#VALeprintlf">eprintlf</a> [<a href="Lwt_io.html">Lwt_io</a>]</td> <td></td></tr> <tr><td><a href="Lwt_text.html#VALeprintlf">eprintlf</a> [<a href="Lwt_text.html">Lwt_text</a>]</td> <td></td></tr> <tr><td><a href="Lwt_read_line.Terminal.html#VALerase">erase</a> [<a href="Lwt_read_line.Terminal.html">Lwt_read_line.Terminal</a>]</td> <td><div class="info"> <code class="code">erase ~columns ~render_state ()</code> returns a text which will erase everything (the prompt, user input, completion, ...). </div> </td></tr> <tr><td><a href="Lwt_log.html#VALerror">error</a> [<a href="Lwt_log.html">Lwt_log</a>]</td> <td></td></tr> <tr><td><a href="Lwt_log.html#VALerror_f">error_f</a> [<a href="Lwt_log.html">Lwt_log</a>]</td> <td></td></tr> <tr><td><a href="Lwt_io.html#VALestablish_server">establish_server</a> [<a href="Lwt_io.html">Lwt_io</a>]</td> <td><div class="info"> <code class="code">establich_server ?buffer_size ?backlog sockaddr f</code> creates a server which will listen for incomming connections. </div> </td></tr> <tr><td><a href="Lwt_process.html#VALexec">exec</a> [<a href="Lwt_process.html">Lwt_process</a>]</td> <td><div class="info"> Executes the given command and returns its exit status. </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALexecute_job">execute_job</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> This is the old and deprecated way of running a job. </div> </td></tr> <tr><td><a href="Lwt_list.html#VALexists_p">exists_p</a> [<a href="Lwt_list.html">Lwt_list</a>]</td> <td></td></tr> <tr><td><a href="Lwt_list.html#VALexists_s">exists_s</a> [<a href="Lwt_list.html">Lwt_list</a>]</td> <td></td></tr> <tr><td><a href="Lwt_main.html#VALexit_hooks">exit_hooks</a> [<a href="Lwt_main.html">Lwt_main</a>]</td> <td><div class="info"> Sets of functions executed just before the program exit. </div> </td></tr> <tr><td><a href="Lwt_bytes.html#VALextract">extract</a> [<a href="Lwt_bytes.html">Lwt_bytes</a>]</td> <td><div class="info"> <code class="code">extract buffer offset length</code> creates a new byte array of length <code class="code">length</code> and copy the <code class="code">length</code> bytes of <code class="code">buffer</code> at <code class="code">offset</code> into it. </div> </td></tr> <tr><td align="left"><br>F</td></tr> <tr><td><a href="Lwt.html#VALfail">fail</a> [<a href="Lwt.html">Lwt</a>]</td> <td><div class="info"> <code class="code">fail e</code> is a thread that fails with the exception <code class="code">e</code>. </div> </td></tr> <tr><td><a href="Lwt_engine.html#VALfake_event">fake_event</a> [<a href="Lwt_engine.html">Lwt_engine</a>]</td> <td><div class="info"> Event which does nothing when stopped. </div> </td></tr> <tr><td><a href="Lwt_engine.html#VALfake_io">fake_io</a> [<a href="Lwt_engine.html">Lwt_engine</a>]</td> <td><div class="info"> Simulates activity on the given file descriptor. </div> </td></tr> <tr><td><a href="Lwt_log.html#VALfatal">fatal</a> [<a href="Lwt_log.html">Lwt_log</a>]</td> <td></td></tr> <tr><td><a href="Lwt_log.html#VALfatal_f">fatal_f</a> [<a href="Lwt_log.html">Lwt_log</a>]</td> <td></td></tr> <tr><td><a href="Lwt_unix.html#VALfchmod">fchmod</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Wrapper for <code class="code"><span class="constructor">Unix</span>.fchmod</code> </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALfchown">fchown</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Wrapper for <code class="code"><span class="constructor">Unix</span>.fchown</code> </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALfdatasync">fdatasync</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Synchronise all data (but not metadata) of the file descriptor with the disk. </div> </td></tr> <tr><td><a href="Lwt_term.html#VALfg">fg</a> [<a href="Lwt_term.html">Lwt_term</a>]</td> <td><div class="info"> <code class="code">fg col = <span class="constructor">Foreground</span> col</code> </div> </td></tr> <tr><td><a href="Lwt_log.html#VALfile">file</a> [<a href="Lwt_log.html">Lwt_log</a>]</td> <td><div class="info"> <code class="code">desf_file ?template ?mode ?perm ~file_name ()</code> creates an logger which will write messages to <code class="code">file_name</code>. </div> </td></tr> <tr><td><a href="Lwt_io.html#VALfile_length">file_length</a> [<a href="Lwt_io.html">Lwt_io</a>]</td> <td><div class="info"> Returns the length of a file </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALfiles_of_directory">files_of_directory</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> <code class="code">files_of_directory dir</code> returns the stream of all files of <code class="code">dir</code>. </div> </td></tr> <tr><td><a href="Lwt_bytes.html#VALfill">fill</a> [<a href="Lwt_bytes.html">Lwt_bytes</a>]</td> <td><div class="info"> <code class="code">fill buffer offset length value</code> puts <code class="code">value</code> in all <code class="code">length</code> bytes of <code class="code">buffer</code> starting at offset <code class="code">offset</code>. </div> </td></tr> <tr><td><a href="Lwt_stream.html#VALfilter">filter</a> [<a href="Lwt_stream.html">Lwt_stream</a>]</td> <td></td></tr> <tr><td><a href="Lwt_stream.html#VALfilter_map">filter_map</a> [<a href="Lwt_stream.html">Lwt_stream</a>]</td> <td></td></tr> <tr><td><a href="Lwt_stream.html#VALfilter_map_s">filter_map_s</a> [<a href="Lwt_stream.html">Lwt_stream</a>]</td> <td><div class="info"> <code class="code">filter_map f st</code> filter and map <code class="code">st</code> at the same time </div> </td></tr> <tr><td><a href="Lwt_react.E.html#VALfilter_p">filter_p</a> [<a href="Lwt_react.E.html">Lwt_react.E</a>]</td> <td></td></tr> <tr><td><a href="Lwt_event.html#VALfilter_p">filter_p</a> [<a href="Lwt_event.html">Lwt_event</a>]</td> <td></td></tr> <tr><td><a href="Lwt_list.html#VALfilter_p">filter_p</a> [<a href="Lwt_list.html">Lwt_list</a>]</td> <td></td></tr> <tr><td><a href="Lwt_react.S.html#VALfilter_s">filter_s</a> [<a href="Lwt_react.S.html">Lwt_react.S</a>]</td> <td></td></tr> <tr><td><a href="Lwt_react.E.html#VALfilter_s">filter_s</a> [<a href="Lwt_react.E.html">Lwt_react.E</a>]</td> <td></td></tr> <tr><td><a href="Lwt_signal.html#VALfilter_s">filter_s</a> [<a href="Lwt_signal.html">Lwt_signal</a>]</td> <td></td></tr> <tr><td><a href="Lwt_event.html#VALfilter_s">filter_s</a> [<a href="Lwt_event.html">Lwt_event</a>]</td> <td></td></tr> <tr><td><a href="Lwt_stream.html#VALfilter_s">filter_s</a> [<a href="Lwt_stream.html">Lwt_stream</a>]</td> <td><div class="info"> <code class="code">filter f st</code> keeps only value <code class="code">x</code> such that <code class="code">f x</code> is <code class="code"><span class="keyword">true</span></code> </div> </td></tr> <tr><td><a href="Lwt_list.html#VALfilter_s">filter_s</a> [<a href="Lwt_list.html">Lwt_list</a>]</td> <td></td></tr> <tr><td><a href="Lwt_gc.html#VALfinalise">finalise</a> [<a href="Lwt_gc.html">Lwt_gc</a>]</td> <td><div class="info"> <code class="code">finalise f x</code> ensures <code class="code">f x</code> is evaluated after <code class="code">x</code> has been garbage collected. </div> </td></tr> <tr><td><a href="Lwt_gc.html#VALfinalise_or_exit">finalise_or_exit</a> [<a href="Lwt_gc.html">Lwt_gc</a>]</td> <td><div class="info"> <code class="code">finalise_or_exit f x</code> call <code class="code">f x</code> when <code class="code">x</code> is garbage collected or (exclusively) when the program exit. </div> </td></tr> <tr><td><a href="Lwt.html#VALfinalize">finalize</a> [<a href="Lwt.html">Lwt</a>]</td> <td><div class="info"> <code class="code">finalize f g</code> returns the same result as <code class="code">f ()</code> whether it fails or not. </div> </td></tr> <tr><td><a href="Lwt_stream.html#VALfind">find</a> [<a href="Lwt_stream.html">Lwt_stream</a>]</td> <td></td></tr> <tr><td><a href="Lwt_stream.html#VALfind_map">find_map</a> [<a href="Lwt_stream.html">Lwt_stream</a>]</td> <td></td></tr> <tr><td><a href="Lwt_stream.html#VALfind_map_s">find_map_s</a> [<a href="Lwt_stream.html">Lwt_stream</a>]</td> <td><div class="info"> <code class="code">find f s</code> find and map at the same time. </div> </td></tr> <tr><td><a href="Lwt_pqueue.S.html#VALfind_min">find_min</a> [<a href="Lwt_pqueue.S.html">Lwt_pqueue.S</a>]</td> <td></td></tr> <tr><td><a href="Lwt_stream.html#VALfind_s">find_s</a> [<a href="Lwt_stream.html">Lwt_stream</a>]</td> <td><div class="info"> <code class="code">find f s</code> find an element in a stream. </div> </td></tr> <tr><td><a href="Lwt_list.html#VALfind_s">find_s</a> [<a href="Lwt_list.html">Lwt_list</a>]</td> <td></td></tr> <tr><td><a href="Lwt_stream.html#VALflatten">flatten</a> [<a href="Lwt_stream.html">Lwt_stream</a>]</td> <td><div class="info"> <code class="code">flatten st = map_list (<span class="keyword">fun</span> l <span class="keywordsign">-></span> l) st</code> </div> </td></tr> <tr><td><a href="Lwt_io.html#VALflush">flush</a> [<a href="Lwt_io.html">Lwt_io</a>]</td> <td><div class="info"> <code class="code">flush oc</code> performs all pending writes on <code class="code">oc</code> </div> </td></tr> <tr><td><a href="Lwt_chan.html#VALflush">flush</a> [<a href="Lwt_chan.html">Lwt_chan</a>]</td> <td></td></tr> <tr><td><a href="Lwt_text.html#VALflush">flush</a> [<a href="Lwt_text.html">Lwt_text</a>]</td> <td><div class="info"> Flush the underlying byte channel </div> </td></tr> <tr><td><a href="Lwt_io.html#VALflush_all">flush_all</a> [<a href="Lwt_io.html">Lwt_io</a>]</td> <td><div class="info"> <code class="code">flush_all ()</code> flushes all open output channels </div> </td></tr> <tr><td><a href="Lwt_react.E.html#VALfmap_p">fmap_p</a> [<a href="Lwt_react.E.html">Lwt_react.E</a>]</td> <td></td></tr> <tr><td><a href="Lwt_event.html#VALfmap_p">fmap_p</a> [<a href="Lwt_event.html">Lwt_event</a>]</td> <td></td></tr> <tr><td><a href="Lwt_react.S.html#VALfmap_s">fmap_s</a> [<a href="Lwt_react.S.html">Lwt_react.S</a>]</td> <td></td></tr> <tr><td><a href="Lwt_react.E.html#VALfmap_s">fmap_s</a> [<a href="Lwt_react.E.html">Lwt_react.E</a>]</td> <td></td></tr> <tr><td><a href="Lwt_signal.html#VALfmap_s">fmap_s</a> [<a href="Lwt_signal.html">Lwt_signal</a>]</td> <td></td></tr> <tr><td><a href="Lwt_event.html#VALfmap_s">fmap_s</a> [<a href="Lwt_event.html">Lwt_event</a>]</td> <td></td></tr> <tr><td><a href="Lwt_stream.html#VALfold">fold</a> [<a href="Lwt_stream.html">Lwt_stream</a>]</td> <td></td></tr> <tr><td><a href="Lwt_sequence.html#VALfold_l">fold_l</a> [<a href="Lwt_sequence.html">Lwt_sequence</a>]</td> <td><div class="info"> <code class="code">fold_l f s</code> is: <pre class="codepre"><code class="code"> fold_l f s x = f en (... (f e2 (f e1 x)))<br> </code></pre> where <code class="code">e1</code>, <code class="code">e2</code>, ..., <code class="code">en</code> are the elements of <code class="code">s</code> </div> </td></tr> <tr><td><a href="Lwt_util.html#VALfold_left">fold_left</a> [<a href="Lwt_util.html">Lwt_util</a>]</td> <td><div class="info"> Similar to <code class="code"><span class="constructor">List</span>.fold_left</code>. </div> </td></tr> <tr><td><a href="Lwt_list.html#VALfold_left_s">fold_left_s</a> [<a href="Lwt_list.html">Lwt_list</a>]</td> <td></td></tr> <tr><td><a href="Lwt_sequence.html#VALfold_r">fold_r</a> [<a href="Lwt_sequence.html">Lwt_sequence</a>]</td> <td><div class="info"> <code class="code">fold_r f s</code> is: <pre class="codepre"><code class="code"> fold_r f s x = f e1 (f e2 (... (f en x)))<br> </code></pre> where <code class="code">e1</code>, <code class="code">e2</code>, ..., <code class="code">en</code> are the elements of <code class="code">s</code> </div> </td></tr> <tr><td><a href="Lwt_list.html#VALfold_right_s">fold_right_s</a> [<a href="Lwt_list.html">Lwt_list</a>]</td> <td></td></tr> <tr><td><a href="Lwt_react.S.html#VALfold_s">fold_s</a> [<a href="Lwt_react.S.html">Lwt_react.S</a>]</td> <td></td></tr> <tr><td><a href="Lwt_react.E.html#VALfold_s">fold_s</a> [<a href="Lwt_react.E.html">Lwt_react.E</a>]</td> <td></td></tr> <tr><td><a href="Lwt_signal.html#VALfold_s">fold_s</a> [<a href="Lwt_signal.html">Lwt_signal</a>]</td> <td></td></tr> <tr><td><a href="Lwt_event.html#VALfold_s">fold_s</a> [<a href="Lwt_event.html">Lwt_event</a>]</td> <td></td></tr> <tr><td><a href="Lwt_stream.html#VALfold_s">fold_s</a> [<a href="Lwt_stream.html">Lwt_stream</a>]</td> <td><div class="info"> <code class="code">fold f s x</code> fold_like function for streams. </div> </td></tr> <tr><td><a href="Lwt_list.html#VALfor_all_p">for_all_p</a> [<a href="Lwt_list.html">Lwt_list</a>]</td> <td></td></tr> <tr><td><a href="Lwt_list.html#VALfor_all_s">for_all_s</a> [<a href="Lwt_list.html">Lwt_list</a>]</td> <td></td></tr> <tr><td><a href="Lwt_unix.html#VALfork">fork</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> <code class="code">fork ()</code> does the same as <code class="code"><span class="constructor">Unix</span>.fork</code>. </div> </td></tr> <tr><td><a href="Lwt_io.html#VALfprint">fprint</a> [<a href="Lwt_io.html">Lwt_io</a>]</td> <td></td></tr> <tr><td><a href="Lwt_text.html#VALfprint">fprint</a> [<a href="Lwt_text.html">Lwt_text</a>]</td> <td></td></tr> <tr><td><a href="Lwt_io.html#VALfprintf">fprintf</a> [<a href="Lwt_io.html">Lwt_io</a>]</td> <td></td></tr> <tr><td><a href="Lwt_text.html#VALfprintf">fprintf</a> [<a href="Lwt_text.html">Lwt_text</a>]</td> <td></td></tr> <tr><td><a href="Lwt_io.html#VALfprintl">fprintl</a> [<a href="Lwt_io.html">Lwt_io</a>]</td> <td></td></tr> <tr><td><a href="Lwt_text.html#VALfprintl">fprintl</a> [<a href="Lwt_text.html">Lwt_text</a>]</td> <td></td></tr> <tr><td><a href="Lwt_io.html#VALfprintlf">fprintlf</a> [<a href="Lwt_io.html">Lwt_io</a>]</td> <td></td></tr> <tr><td><a href="Lwt_text.html#VALfprintlf">fprintlf</a> [<a href="Lwt_text.html">Lwt_text</a>]</td> <td></td></tr> <tr><td><a href="Lwt_react.E.html#VALfrom">from</a> [<a href="Lwt_react.E.html">Lwt_react.E</a>]</td> <td><div class="info"> <code class="code">from f</code> creates an event which occurs each time <code class="code">f ()</code> returns a value. </div> </td></tr> <tr><td><a href="Lwt_event.html#VALfrom">from</a> [<a href="Lwt_event.html">Lwt_event</a>]</td> <td></td></tr> <tr><td><a href="Lwt_stream.html#VALfrom">from</a> [<a href="Lwt_stream.html">Lwt_stream</a>]</td> <td><div class="info"> <code class="code">from f</code> creates an stream from the given input function. </div> </td></tr> <tr><td><a href="Lwt_stream.html#VALfrom_direct">from_direct</a> [<a href="Lwt_stream.html">Lwt_stream</a>]</td> <td><div class="info"> <code class="code">from_direct f</code> does the same as <a href="Lwt_stream.html#VALfrom"><code class="code"><span class="constructor">Lwt_stream</span>.from</code></a> but with a function that does not return a thread. </div> </td></tr> <tr><td><a href="Lwt_unix.LargeFile.html#VALfstat">fstat</a> [<a href="Lwt_unix.LargeFile.html">Lwt_unix.LargeFile</a>]</td> <td><div class="info"> Wrapper for <code class="code"><span class="constructor">Unix</span>.<span class="constructor">LargeFile</span>.fstat</code> </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALfstat">fstat</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Wrapper for <code class="code"><span class="constructor">Unix</span>.fstat</code> </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALfsync">fsync</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Synchronise all data and metadata of the file descriptor with the disk. </div> </td></tr> <tr><td><a href="Lwt_unix.LargeFile.html#VALftruncate">ftruncate</a> [<a href="Lwt_unix.LargeFile.html">Lwt_unix.LargeFile</a>]</td> <td><div class="info"> Wrapper for <code class="code"><span class="constructor">Unix</span>.<span class="constructor">LargeFile</span>.ftruncate</code> </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALftruncate">ftruncate</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Wrapper for <code class="code"><span class="constructor">Unix</span>.ftruncate</code> </div> </td></tr> <tr><td align="left"><br>G</td></tr> <tr><td><a href="Lwt_bytes.html#VALget">get</a> [<a href="Lwt_bytes.html">Lwt_bytes</a>]</td> <td><div class="info"> <code class="code">get buffer offset</code> returns the byte at offset <code class="code">offset</code> in <code class="code">buffer</code>. </div> </td></tr> <tr><td><a href="Lwt_engine.html#VALget">get</a> [<a href="Lwt_engine.html">Lwt_engine</a>]</td> <td><div class="info"> <code class="code">get ()</code> returns the engine currently in use. </div> </td></tr> <tr><td><a href="Lwt_term.Draw.html#VALget">get</a> [<a href="Lwt_term.Draw.html">Lwt_term.Draw</a>]</td> <td><div class="info"> <code class="code">get ~zone ~x ~y</code> returns the point at relative position <code class="code">x</code> and <code class="code">y</code>. </div> </td></tr> <tr><td><a href="Lwt_stream.html#VALget">get</a> [<a href="Lwt_stream.html">Lwt_stream</a>]</td> <td><div class="info"> <code class="code">get st</code> remove and returns the first element of the stream, if any. </div> </td></tr> <tr><td><a href="Lwt_sequence.html#VALget">get</a> [<a href="Lwt_sequence.html">Lwt_sequence</a>]</td> <td><div class="info"> Returns the contents of a node </div> </td></tr> <tr><td><a href="Lwt.html#VALget">get</a> [<a href="Lwt.html">Lwt</a>]</td> <td><div class="info"> <code class="code">get key</code> returns the value associated with <code class="code">key</code> in the current thread. </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALget_affinity">get_affinity</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> <code class="code">get_affinity ?pid ()</code> returns the list of CPUs the process with pid <code class="code">pid</code> is allowed to run on. </div> </td></tr> <tr><td><a href="Lwt_stream.html#VALget_available">get_available</a> [<a href="Lwt_stream.html">Lwt_stream</a>]</td> <td><div class="info"> <code class="code">get_available st</code> returns all available elements of <code class="code">l</code> without blocking </div> </td></tr> <tr><td><a href="Lwt_stream.html#VALget_available_up_to">get_available_up_to</a> [<a href="Lwt_stream.html">Lwt_stream</a>]</td> <td><div class="info"> <code class="code">get_available_up_to n st</code> returns up to <code class="code">n</code> elements of <code class="code">l</code> without blocking </div> </td></tr> <tr><td><a href="Lwt_preemptive.html#VALget_bounds">get_bounds</a> [<a href="Lwt_preemptive.html">Lwt_preemptive</a>]</td> <td><div class="info"> <code class="code">get_bounds ()</code> returns the minimum and the maximum number of preemptive threads. </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALget_cpu">get_cpu</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> <code class="code">get_cpu ()</code> returns the number of the CPU the current thread is running on. </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALget_credentials">get_credentials</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> <code class="code">get_credentials fd</code> returns credential informations from the given socket. </div> </td></tr> <tr><td><a href="Lwt_preemptive.html#VALget_max_number_of_threads_queued">get_max_number_of_threads_queued</a> [<a href="Lwt_preemptive.html">Lwt_preemptive</a>]</td> <td><div class="info"> Returns the size of the waiting queue, if no more threads are available </div> </td></tr> <tr><td><a href="Lwt_stream.html#VALget_while">get_while</a> [<a href="Lwt_stream.html">Lwt_stream</a>]</td> <td></td></tr> <tr><td><a href="Lwt_stream.html#VALget_while_s">get_while_s</a> [<a href="Lwt_stream.html">Lwt_stream</a>]</td> <td><div class="info"> <code class="code">get_while f st</code> returns the longest prefix of <code class="code">st</code> where all elements satisfy <code class="code">f</code>. </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALgetaddrinfo">getaddrinfo</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Wrapper for <code class="code"><span class="constructor">Unix</span>.getaddrinfo</code> </div> </td></tr> <tr><td><a href="Lwt_lib.html#VALgetaddrinfo">getaddrinfo</a> [<a href="Lwt_lib.html">Lwt_lib</a>]</td> <td><div class="info"> Cooperative getaddrinfo with cache (using Lwt_preemptive.detach) </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALgetgrgid">getgrgid</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Wrapper for <code class="code"><span class="constructor">Unix</span>.getgrgid</code> </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALgetgrnam">getgrnam</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Wrapper for <code class="code"><span class="constructor">Unix</span>.getgrnam</code> </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALgethostbyaddr">gethostbyaddr</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Wrapper for <code class="code"><span class="constructor">Unix</span>.gethostbyaddr</code> </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALgethostbyname">gethostbyname</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Wrapper for <code class="code"><span class="constructor">Unix</span>.gethostbyname</code> </div> </td></tr> <tr><td><a href="Lwt_lib.html#VALgethostbyname">gethostbyname</a> [<a href="Lwt_lib.html">Lwt_lib</a>]</td> <td><div class="info"> Cooperative gethostbyname with cache (using Lwt_preemptive.detach) </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALgethostname">gethostname</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Wrapper for <code class="code"><span class="constructor">Unix</span>.gethostname</code> </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALgetlogin">getlogin</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Wrapper for <code class="code"><span class="constructor">Unix</span>.getlogin</code> </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALgetnameinfo">getnameinfo</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Wrapper for <code class="code"><span class="constructor">Unix</span>.getnameinfo</code> </div> </td></tr> <tr><td><a href="Lwt_lib.html#VALgetnameinfo">getnameinfo</a> [<a href="Lwt_lib.html">Lwt_lib</a>]</td> <td><div class="info"> Cooperative getnameinfo with cache (using Lwt_preemptive.detach) </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALgetpeername">getpeername</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Wrapper for <code class="code"><span class="constructor">Unix</span>.getpeername</code> </div> </td></tr> <tr><td><a href="Lwt_ssl.html#VALgetpeername">getpeername</a> [<a href="Lwt_ssl.html">Lwt_ssl</a>]</td> <td></td></tr> <tr><td><a href="Lwt_unix.html#VALgetprotobyname">getprotobyname</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Wrapper for <code class="code"><span class="constructor">Unix</span>.getprotobyname</code> </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALgetprotobynumber">getprotobynumber</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Wrapper for <code class="code"><span class="constructor">Unix</span>.getprotobynumber</code> </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALgetpwnam">getpwnam</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Wrapper for <code class="code"><span class="constructor">Unix</span>.getpwnam</code> </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALgetpwuid">getpwuid</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Wrapper for <code class="code"><span class="constructor">Unix</span>.getpwuid</code> </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALgetservbyname">getservbyname</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Wrapper for <code class="code"><span class="constructor">Unix</span>.getservbyname</code> </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALgetservbyport">getservbyport</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Wrapper for <code class="code"><span class="constructor">Unix</span>.getservbyport</code> </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALgetsockname">getsockname</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Wrapper for <code class="code"><span class="constructor">Unix</span>.getsockname</code> </div> </td></tr> <tr><td><a href="Lwt_ssl.html#VALgetsockname">getsockname</a> [<a href="Lwt_ssl.html">Lwt_ssl</a>]</td> <td></td></tr> <tr><td><a href="Lwt_unix.html#VALgetsockopt">getsockopt</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Wrapper for <code class="code"><span class="constructor">Unix</span>.getsockopt</code> </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALgetsockopt_error">getsockopt_error</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Wrapper for <code class="code"><span class="constructor">Unix</span>.getsockopt_error</code> </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALgetsockopt_float">getsockopt_float</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Wrapper for <code class="code"><span class="constructor">Unix</span>.getsockopt_float</code> </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALgetsockopt_int">getsockopt_int</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Wrapper for <code class="code"><span class="constructor">Unix</span>.getsockopt_int</code> </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALgetsockopt_optint">getsockopt_optint</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Wrapper for <code class="code"><span class="constructor">Unix</span>.getsockopt_optint</code> </div> </td></tr> <tr><td><a href="Lwt_term.html#VALgoto_beginning_of_line">goto_beginning_of_line</a> [<a href="Lwt_term.html">Lwt_term</a>]</td> <td><div class="info"> <code class="code">goto_beginning_of_line n</code> put the cursor at the beginning of the <code class="code">n</code>th previous line. </div> </td></tr> <tr><td><a href="Lwt_term.html#VALgreen">green</a> [<a href="Lwt_term.html">Lwt_term</a>]</td> <td></td></tr> <tr><td align="left"><br>H</td></tr> <tr><td><a href="Lwt_unix.html#VALhandle_unix_error">handle_unix_error</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Same as <code class="code"><span class="constructor">Unix</span>.handle_unix_error</code> but catches lwt-level exceptions </div> </td></tr> <tr><td><a href="Lwt_sys.html#VALhave">have</a> [<a href="Lwt_sys.html">Lwt_sys</a>]</td> <td><div class="info"> Test whether the given feature is available on the current system. </div> </td></tr> <tr><td><a href="Lwt_term.Zone.html#VALheight">height</a> [<a href="Lwt_term.Zone.html">Lwt_term.Zone</a>]</td> <td></td></tr> <tr><td><a href="Lwt_io.html#VALhexdump">hexdump</a> [<a href="Lwt_io.html">Lwt_io</a>]</td> <td><div class="info"> <code class="code">hexdump oc str = hexdump_stream oc (<span class="constructor">Lwt_stream</span>.of_string str)</code> </div> </td></tr> <tr><td><a href="Lwt_text.html#VALhexdump">hexdump</a> [<a href="Lwt_text.html">Lwt_text</a>]</td> <td></td></tr> <tr><td><a href="Lwt_stream.html#VALhexdump">hexdump</a> [<a href="Lwt_stream.html">Lwt_stream</a>]</td> <td><div class="info"> <code class="code">hexdump byte_stream</code> returns a stream which is the same as the output of <code class="code">hexdump -<span class="constructor">C</span></code>. </div> </td></tr> <tr><td><a href="Lwt_io.html#VALhexdump_stream">hexdump_stream</a> [<a href="Lwt_io.html">Lwt_io</a>]</td> <td><div class="info"> <code class="code">hexdump_stream oc byte_stream</code> produces the same output as the command <code class="code">hexdump -<span class="constructor">C</span></code>. </div> </td></tr> <tr><td><a href="Lwt_text.html#VALhexdump_stream">hexdump_stream</a> [<a href="Lwt_text.html">Lwt_text</a>]</td> <td></td></tr> <tr><td><a href="Lwt_term.html#VALhidden">hidden</a> [<a href="Lwt_term.html">Lwt_term</a>]</td> <td></td></tr> <tr><td><a href="Lwt_read_line.Control.html#VALhide">hide</a> [<a href="Lwt_read_line.Control.html">Lwt_read_line.Control</a>]</td> <td><div class="info"> Hides everything (prompt, user input, completion box) until <a href="Lwt_read_line.Control.html#VALshow"><code class="code"><span class="constructor">Lwt_read_line</span>.<span class="constructor">Control</span>.show</code></a> is called. </div> </td></tr> <tr><td><a href="Lwt_term.html#VALhide_cursor">hide_cursor</a> [<a href="Lwt_term.html">Lwt_term</a>]</td> <td><div class="info"> <code class="code">hide_cursor ()</code> makes the cursor invisible </div> </td></tr> <tr><td align="left"><br>I</td></tr> <tr><td><a href="Lwt_log.html#VALign_debug">ign_debug</a> [<a href="Lwt_log.html">Lwt_log</a>]</td> <td></td></tr> <tr><td><a href="Lwt_log.html#VALign_debug_f">ign_debug_f</a> [<a href="Lwt_log.html">Lwt_log</a>]</td> <td></td></tr> <tr><td><a href="Lwt_log.html#VALign_error">ign_error</a> [<a href="Lwt_log.html">Lwt_log</a>]</td> <td></td></tr> <tr><td><a href="Lwt_log.html#VALign_error_f">ign_error_f</a> [<a href="Lwt_log.html">Lwt_log</a>]</td> <td></td></tr> <tr><td><a href="Lwt_log.html#VALign_fatal">ign_fatal</a> [<a href="Lwt_log.html">Lwt_log</a>]</td> <td></td></tr> <tr><td><a href="Lwt_log.html#VALign_fatal_f">ign_fatal_f</a> [<a href="Lwt_log.html">Lwt_log</a>]</td> <td></td></tr> <tr><td><a href="Lwt_log.html#VALign_info">ign_info</a> [<a href="Lwt_log.html">Lwt_log</a>]</td> <td></td></tr> <tr><td><a href="Lwt_log.html#VALign_info_f">ign_info_f</a> [<a href="Lwt_log.html">Lwt_log</a>]</td> <td></td></tr> <tr><td><a href="Lwt_log.html#VALign_log">ign_log</a> [<a href="Lwt_log.html">Lwt_log</a>]</td> <td><div class="info"> Same as <a href="Lwt_log.html#VALlog"><code class="code"><span class="constructor">Lwt_log</span>.log</code></a> but ignore the resulting thread. </div> </td></tr> <tr><td><a href="Lwt_log.html#VALign_log_f">ign_log_f</a> [<a href="Lwt_log.html">Lwt_log</a>]</td> <td><div class="info"> Same as <a href="Lwt_log.html#VALlog_f"><code class="code"><span class="constructor">Lwt_log</span>.log_f</code></a> but ignore the resulting thread. </div> </td></tr> <tr><td><a href="Lwt_log.html#VALign_notice">ign_notice</a> [<a href="Lwt_log.html">Lwt_log</a>]</td> <td></td></tr> <tr><td><a href="Lwt_log.html#VALign_notice_f">ign_notice_f</a> [<a href="Lwt_log.html">Lwt_log</a>]</td> <td></td></tr> <tr><td><a href="Lwt_log.html#VALign_warning">ign_warning</a> [<a href="Lwt_log.html">Lwt_log</a>]</td> <td></td></tr> <tr><td><a href="Lwt_log.html#VALign_warning_f">ign_warning_f</a> [<a href="Lwt_log.html">Lwt_log</a>]</td> <td></td></tr> <tr><td><a href="Lwt.html#VALignore_result">ignore_result</a> [<a href="Lwt.html">Lwt</a>]</td> <td><div class="info"> <code class="code">ignore_result t</code> is like <code class="code"><span class="constructor">Pervasives</span>.ignore t</code> except that: </div> </td></tr> <tr><td><a href="Lwt_chan.html#VALin_channel_of_descr">in_channel_of_descr</a> [<a href="Lwt_chan.html">Lwt_chan</a>]</td> <td></td></tr> <tr><td><a href="Lwt_ssl.html#VALin_channel_of_descr">in_channel_of_descr</a> [<a href="Lwt_ssl.html">Lwt_ssl</a>]</td> <td></td></tr> <tr><td><a href="Lwt_log.html#VALinfo">info</a> [<a href="Lwt_log.html">Lwt_log</a>]</td> <td></td></tr> <tr><td><a href="Lwt_log.html#VALinfo_f">info_f</a> [<a href="Lwt_log.html">Lwt_log</a>]</td> <td></td></tr> <tr><td><a href="Lwt_read_line.Terminal.html#VALinit">init</a> [<a href="Lwt_read_line.Terminal.html">Lwt_read_line.Terminal</a>]</td> <td><div class="info"> Initial state </div> </td></tr> <tr><td><a href="Lwt_read_line.Engine.html#VALinit">init</a> [<a href="Lwt_read_line.Engine.html">Lwt_read_line.Engine</a>]</td> <td><div class="info"> <code class="code">init history</code> return a initial state using the given history </div> </td></tr> <tr><td><a href="Lwt_preemptive.html#VALinit">init</a> [<a href="Lwt_preemptive.html">Lwt_preemptive</a>]</td> <td><div class="info"> <code class="code">init min max log</code> initialises this module. </div> </td></tr> <tr><td><a href="Lwt_term.Zone.html#VALinner">inner</a> [<a href="Lwt_term.Zone.html">Lwt_term.Zone</a>]</td> <td><div class="info"> <code class="code">inner zone</code> returns the inner part of <code class="code">zone</code> </div> </td></tr> <tr><td><a href="Lwt_io.html#VALinput">input</a> [<a href="Lwt_io.html">Lwt_io</a>]</td> <td><div class="info"> <code class="code">input</code> input mode representation </div> </td></tr> <tr><td><a href="Lwt_chan.html#VALinput">input</a> [<a href="Lwt_chan.html">Lwt_chan</a>]</td> <td></td></tr> <tr><td><a href="Lwt_chan.html#VALinput_binary_int">input_binary_int</a> [<a href="Lwt_chan.html">Lwt_chan</a>]</td> <td></td></tr> <tr><td><a href="Lwt_chan.html#VALinput_char">input_char</a> [<a href="Lwt_chan.html">Lwt_chan</a>]</td> <td></td></tr> <tr><td><a href="Lwt_chan.html#VALinput_line">input_line</a> [<a href="Lwt_chan.html">Lwt_chan</a>]</td> <td></td></tr> <tr><td><a href="Lwt_chan.html#VALinput_value">input_value</a> [<a href="Lwt_chan.html">Lwt_chan</a>]</td> <td></td></tr> <tr><td><a href="Lwt_glib.html#VALinstall">install</a> [<a href="Lwt_glib.html">Lwt_glib</a>]</td> <td><div class="info"> Install the Glib<->Lwt integration. </div> </td></tr> <tr><td><a href="Lwt_read_line.Control.html#VALinterrupt">interrupt</a> [<a href="Lwt_read_line.Control.html">Lwt_read_line.Control</a>]</td> <td><div class="info"> <code class="code">accept instance = send_command instance <span class="constructor">Command</span>.<span class="constructor">Break</span></code> </div> </td></tr> <tr><td><a href="Lwt_term.html#VALinverse">inverse</a> [<a href="Lwt_term.html">Lwt_term</a>]</td> <td></td></tr> <tr><td><a href="Lwt_bytes.html#VALio_vector">io_vector</a> [<a href="Lwt_bytes.html">Lwt_bytes</a>]</td> <td></td></tr> <tr><td><a href="Lwt_unix.html#VALio_vector">io_vector</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Creates an io-vector </div> </td></tr> <tr><td><a href="Lwt_io.html#VALis_busy">is_busy</a> [<a href="Lwt_io.html">Lwt_io</a>]</td> <td><div class="info"> <code class="code">is_busy channel</code> returns whether the given channel is currently busy. </div> </td></tr> <tr><td><a href="Lwt_pqueue.S.html#VALis_empty">is_empty</a> [<a href="Lwt_pqueue.S.html">Lwt_pqueue.S</a>]</td> <td></td></tr> <tr><td><a href="Lwt_stream.html#VALis_empty">is_empty</a> [<a href="Lwt_stream.html">Lwt_stream</a>]</td> <td><div class="info"> <code class="code">is_empty st</code> returns wether the given stream is empty </div> </td></tr> <tr><td><a href="Lwt_sequence.html#VALis_empty">is_empty</a> [<a href="Lwt_sequence.html">Lwt_sequence</a>]</td> <td><div class="info"> Returns <code class="code"><span class="keyword">true</span></code> iff the given sequence is empty </div> </td></tr> <tr><td><a href="Lwt_mutex.html#VALis_empty">is_empty</a> [<a href="Lwt_mutex.html">Lwt_mutex</a>]</td> <td><div class="info"> <code class="code">is_empty mutex</code> returns <code class="code"><span class="keyword">true</span></code> if they are no thread waiting on the mutex, and <code class="code"><span class="keyword">false</span></code> otherwise </div> </td></tr> <tr><td><a href="Lwt_mutex.html#VALis_locked">is_locked</a> [<a href="Lwt_mutex.html">Lwt_mutex</a>]</td> <td><div class="info"> <code class="code">locked mutex</code> returns whether <code class="code">mutex</code> is currently locked </div> </td></tr> <tr><td><a href="Lwt_switch.html#VALis_on">is_on</a> [<a href="Lwt_switch.html">Lwt_switch</a>]</td> <td><div class="info"> <code class="code">is_on switch</code> returns <code class="code"><span class="keyword">true</span></code> if the switch is currently on, and <code class="code"><span class="keyword">false</span></code> otherwise. </div> </td></tr> <tr><td><a href="Lwt.html#VALis_sleeping">is_sleeping</a> [<a href="Lwt.html">Lwt</a>]</td> <td><div class="info"> <code class="code">is_sleeping t</code> returns <code class="code"><span class="keyword">true</span></code> iff <code class="code">t</code> is sleeping. </div> </td></tr> <tr><td><a href="Lwt_ssl.html#VALis_ssl">is_ssl</a> [<a href="Lwt_ssl.html">Lwt_ssl</a>]</td> <td><div class="info"> Are we using an SSL socket? </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALisatty">isatty</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Wrapper for <code class="code"><span class="constructor">Unix</span>.isatty</code> </div> </td></tr> <tr><td><a href="Lwt_engine.html#VALiter">iter</a> [<a href="Lwt_engine.html">Lwt_engine</a>]</td> <td><div class="info"> <code class="code">iter block</code> performs one iteration of the main loop. </div> </td></tr> <tr><td><a href="Lwt_glib.html#VALiter">iter</a> [<a href="Lwt_glib.html">Lwt_glib</a>]</td> <td><div class="info"> This function is not related to Lwt. </div> </td></tr> <tr><td><a href="Lwt_util.html#VALiter">iter</a> [<a href="Lwt_util.html">Lwt_util</a>]</td> <td><div class="info"> <code class="code">iter f l</code> start a thread for each element in <code class="code">l</code>. </div> </td></tr> <tr><td><a href="Lwt_stream.html#VALiter">iter</a> [<a href="Lwt_stream.html">Lwt_stream</a>]</td> <td></td></tr> <tr><td><a href="Lwt_sequence.html#VALiter_l">iter_l</a> [<a href="Lwt_sequence.html">Lwt_sequence</a>]</td> <td><div class="info"> <code class="code">iter_l f s</code> applies <code class="code">f</code> on all elements of <code class="code">s</code> starting from the left </div> </td></tr> <tr><td><a href="Lwt_sequence.html#VALiter_node_l">iter_node_l</a> [<a href="Lwt_sequence.html">Lwt_sequence</a>]</td> <td><div class="info"> <code class="code">iter_l f s</code> applies <code class="code">f</code> on all nodes of <code class="code">s</code> starting from the left </div> </td></tr> <tr><td><a href="Lwt_sequence.html#VALiter_node_r">iter_node_r</a> [<a href="Lwt_sequence.html">Lwt_sequence</a>]</td> <td><div class="info"> <code class="code">iter_l f s</code> applies <code class="code">f</code> on all nodes of <code class="code">s</code> starting from the right </div> </td></tr> <tr><td><a href="Lwt_stream.html#VALiter_p">iter_p</a> [<a href="Lwt_stream.html">Lwt_stream</a>]</td> <td></td></tr> <tr><td><a href="Lwt_list.html#VALiter_p">iter_p</a> [<a href="Lwt_list.html">Lwt_list</a>]</td> <td></td></tr> <tr><td><a href="Lwt_sequence.html#VALiter_r">iter_r</a> [<a href="Lwt_sequence.html">Lwt_sequence</a>]</td> <td><div class="info"> <code class="code">iter_l f s</code> applies <code class="code">f</code> on all elements of <code class="code">s</code> starting from the right </div> </td></tr> <tr><td><a href="Lwt_stream.html#VALiter_s">iter_s</a> [<a href="Lwt_stream.html">Lwt_stream</a>]</td> <td><div class="info"> <code class="code">iter f s</code> iterates over all elements of the stream </div> </td></tr> <tr><td><a href="Lwt_list.html#VALiter_s">iter_s</a> [<a href="Lwt_list.html">Lwt_list</a>]</td> <td></td></tr> <tr><td><a href="Lwt_util.html#VALiter_serial">iter_serial</a> [<a href="Lwt_util.html">Lwt_util</a>]</td> <td><div class="info"> Similar to <code class="code">iter</code> but wait for one thread to terminate before starting the next one. </div> </td></tr> <tr><td align="left"><br>J</td></tr> <tr><td><a href="Lwt.html#VALjoin">join</a> [<a href="Lwt.html">Lwt</a>]</td> <td><div class="info"> <code class="code">join l</code> waits for all threads in <code class="code">l</code> to terminate. </div> </td></tr> <tr><td><a href="Lwt_stream.html#VALjunk">junk</a> [<a href="Lwt_stream.html">Lwt_stream</a>]</td> <td><div class="info"> <code class="code">junk st</code> remove the first element of <code class="code">st</code>. </div> </td></tr> <tr><td><a href="Lwt_stream.html#VALjunk_old">junk_old</a> [<a href="Lwt_stream.html">Lwt_stream</a>]</td> <td><div class="info"> <code class="code">junk_old st</code> removes all elements that are ready to be read without yeilding from <code class="code">st</code>. </div> </td></tr> <tr><td><a href="Lwt_stream.html#VALjunk_while">junk_while</a> [<a href="Lwt_stream.html">Lwt_stream</a>]</td> <td></td></tr> <tr><td><a href="Lwt_stream.html#VALjunk_while_s">junk_while_s</a> [<a href="Lwt_stream.html">Lwt_stream</a>]</td> <td><div class="info"> <code class="code">junk_while f st</code> removes all elements at the beginning of the streams which satisfy <code class="code">f</code>. </div> </td></tr> <tr><td align="left"><br>K</td></tr> <tr><td><a href="Lwt_react.S.html#VALkeep">keep</a> [<a href="Lwt_react.S.html">Lwt_react.S</a>]</td> <td><div class="info"> <code class="code">keep s</code> keeps a reference to <code class="code">s</code> so it will never be garbage collected. </div> </td></tr> <tr><td><a href="Lwt_react.E.html#VALkeep">keep</a> [<a href="Lwt_react.E.html">Lwt_react.E</a>]</td> <td><div class="info"> <code class="code">keep e</code> keeps a reference to <code class="code">e</code> so it will never be garbage collected. </div> </td></tr> <tr><td><a href="Lwt_term.html#VALkey_backspace">key_backspace</a> [<a href="Lwt_term.html">Lwt_term</a>]</td> <td><div class="info"> <code class="code">key_backspace = <span class="constructor">Key_control</span> <span class="string">'?'</span></code> </div> </td></tr> <tr><td><a href="Lwt_term.html#VALkey_enter">key_enter</a> [<a href="Lwt_term.html">Lwt_term</a>]</td> <td><div class="info"> <code class="code">key_enter = <span class="constructor">Key_control</span> <span class="string">'j'</span></code> </div> </td></tr> <tr><td><a href="Lwt_term.html#VALkey_escape">key_escape</a> [<a href="Lwt_term.html">Lwt_term</a>]</td> <td><div class="info"> <code class="code">key_escape = <span class="constructor">Key_control</span> <span class="string">'['</span></code> </div> </td></tr> <tr><td><a href="Lwt_term.html#VALkey_tab">key_tab</a> [<a href="Lwt_term.html">Lwt_term</a>]</td> <td><div class="info"> <code class="code">key_escape = <span class="constructor">Key_control</span> <span class="string">'i'</span></code> </div> </td></tr> <tr><td align="left"><br>L</td></tr> <tr><td><a href="Lwt_react.S.html#VALl1_s">l1_s</a> [<a href="Lwt_react.S.html">Lwt_react.S</a>]</td> <td></td></tr> <tr><td><a href="Lwt_signal.html#VALl1_s">l1_s</a> [<a href="Lwt_signal.html">Lwt_signal</a>]</td> <td></td></tr> <tr><td><a href="Lwt_react.S.html#VALl2_s">l2_s</a> [<a href="Lwt_react.S.html">Lwt_react.S</a>]</td> <td></td></tr> <tr><td><a href="Lwt_signal.html#VALl2_s">l2_s</a> [<a href="Lwt_signal.html">Lwt_signal</a>]</td> <td></td></tr> <tr><td><a href="Lwt_react.S.html#VALl3_s">l3_s</a> [<a href="Lwt_react.S.html">Lwt_react.S</a>]</td> <td></td></tr> <tr><td><a href="Lwt_signal.html#VALl3_s">l3_s</a> [<a href="Lwt_signal.html">Lwt_signal</a>]</td> <td></td></tr> <tr><td><a href="Lwt_react.S.html#VALl4_s">l4_s</a> [<a href="Lwt_react.S.html">Lwt_react.S</a>]</td> <td></td></tr> <tr><td><a href="Lwt_signal.html#VALl4_s">l4_s</a> [<a href="Lwt_signal.html">Lwt_signal</a>]</td> <td></td></tr> <tr><td><a href="Lwt_react.S.html#VALl5_s">l5_s</a> [<a href="Lwt_react.S.html">Lwt_react.S</a>]</td> <td></td></tr> <tr><td><a href="Lwt_signal.html#VALl5_s">l5_s</a> [<a href="Lwt_signal.html">Lwt_signal</a>]</td> <td></td></tr> <tr><td><a href="Lwt_react.S.html#VALl6_s">l6_s</a> [<a href="Lwt_react.S.html">Lwt_react.S</a>]</td> <td></td></tr> <tr><td><a href="Lwt_signal.html#VALl6_s">l6_s</a> [<a href="Lwt_signal.html">Lwt_signal</a>]</td> <td></td></tr> <tr><td><a href="Lwt_read_line.Terminal.html#VALlast_draw">last_draw</a> [<a href="Lwt_read_line.Terminal.html">Lwt_read_line.Terminal</a>]</td> <td><div class="info"> Draw for the last time, i.e. </div> </td></tr> <tr><td><a href="Lwt_stream.html#VALlast_new">last_new</a> [<a href="Lwt_stream.html">Lwt_stream</a>]</td> <td><div class="info"> <code class="code">last_new st</code> returns the last element that can be obtained without sleepping, or wait for one if no one is already available. </div> </td></tr> <tr><td><a href="Lwt_term.html#VALlblack">lblack</a> [<a href="Lwt_term.html">Lwt_term</a>]</td> <td></td></tr> <tr><td><a href="Lwt_term.html#VALlblue">lblue</a> [<a href="Lwt_term.html">Lwt_term</a>]</td> <td></td></tr> <tr><td><a href="Lwt_term.html#VALlcyan">lcyan</a> [<a href="Lwt_term.html">Lwt_term</a>]</td> <td></td></tr> <tr><td><a href="Lwt_term.html#VALleave_drawing_mode">leave_drawing_mode</a> [<a href="Lwt_term.html">Lwt_term</a>]</td> <td><div class="info"> Restore the state of the terminal </div> </td></tr> <tr><td><a href="Lwt_main.html#VALleave_iter_hooks">leave_iter_hooks</a> [<a href="Lwt_main.html">Lwt_main</a>]</td> <td><div class="info"> Functions that are called after the main iteration. </div> </td></tr> <tr><td><a href="Lwt_bytes.html#VALlength">length</a> [<a href="Lwt_bytes.html">Lwt_bytes</a>]</td> <td><div class="info"> Returns the length of the given byte array. </div> </td></tr> <tr><td><a href="Lwt_io.html#VALlength">length</a> [<a href="Lwt_io.html">Lwt_io</a>]</td> <td><div class="info"> Returns the length of the channel in bytes </div> </td></tr> <tr><td><a href="Lwt_sequence.html#VALlength">length</a> [<a href="Lwt_sequence.html">Lwt_sequence</a>]</td> <td><div class="info"> Returns the number of elemenets in the given sequence. </div> </td></tr> <tr><td><a href="Lwt_log.Section.html#VALlevel">level</a> [<a href="Lwt_log.Section.html">Lwt_log.Section</a>]</td> <td><div class="info"> <code class="code">level section</code> returns the logging level of <code class="code">section</code>. </div> </td></tr> <tr><td><a href="Lwt_term.html#VALlgreen">lgreen</a> [<a href="Lwt_term.html">Lwt_term</a>]</td> <td></td></tr> <tr><td><a href="Lwt_react.S.html#VALlimit">limit</a> [<a href="Lwt_react.S.html">Lwt_react.S</a>]</td> <td><div class="info"> <code class="code">limit f s</code> limits the rate of <code class="code">s</code> update with <code class="code">f</code>. </div> </td></tr> <tr><td><a href="Lwt_react.E.html#VALlimit">limit</a> [<a href="Lwt_react.E.html">Lwt_react.E</a>]</td> <td><div class="info"> <code class="code">limit f e</code> limits the rate of <code class="code">e</code> with <code class="code">f</code>. </div> </td></tr> <tr><td><a href="Lwt_signal.html#VALlimit">limit</a> [<a href="Lwt_signal.html">Lwt_signal</a>]</td> <td></td></tr> <tr><td><a href="Lwt_event.html#VALlimit">limit</a> [<a href="Lwt_event.html">Lwt_event</a>]</td> <td></td></tr> <tr><td><a href="Lwt_term.html#VALlines">lines</a> [<a href="Lwt_term.html">Lwt_term</a>]</td> <td><div class="info"> Number of lines of the terminal </div> </td></tr> <tr><td><a href="Lwt_io.html#VALlines_of_file">lines_of_file</a> [<a href="Lwt_io.html">Lwt_io</a>]</td> <td><div class="info"> <code class="code">lines_of_file name</code> returns a stream of all lines of the file with name <code class="code">name</code>. </div> </td></tr> <tr><td><a href="Lwt_text.html#VALlines_of_file">lines_of_file</a> [<a href="Lwt_text.html">Lwt_text</a>]</td> <td></td></tr> <tr><td><a href="Lwt_io.html#VALlines_to_file">lines_to_file</a> [<a href="Lwt_io.html">Lwt_io</a>]</td> <td><div class="info"> <code class="code">lines_to_file name lines</code> writes all lines of <code class="code">lines</code> to <code class="code">files</code> </div> </td></tr> <tr><td><a href="Lwt_text.html#VALlines_to_file">lines_to_file</a> [<a href="Lwt_text.html">Lwt_text</a>]</td> <td></td></tr> <tr><td><a href="Lwt_unix.html#VALlink">link</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Wrapper for <code class="code"><span class="constructor">Unix</span>.link</code> </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALlisten">listen</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Wrapper for <code class="code"><span class="constructor">Unix</span>.listen</code> </div> </td></tr> <tr><td><a href="Lwt_term.html#VALlmagenta">lmagenta</a> [<a href="Lwt_term.html">Lwt_term</a>]</td> <td></td></tr> <tr><td><a href="Lwt_read_line.html#VALload_history">load_history</a> [<a href="Lwt_read_line.html">Lwt_read_line</a>]</td> <td><div class="info"> <code class="code">load_history filename</code> loads history from <code class="code">filename</code>. </div> </td></tr> <tr><td><a href="Lwt_log.html#VALlocation_key">location_key</a> [<a href="Lwt_log.html">Lwt_log</a>]</td> <td><div class="info"> The key for storing current location. </div> </td></tr> <tr><td><a href="Lwt_mutex.html#VALlock">lock</a> [<a href="Lwt_mutex.html">Lwt_mutex</a>]</td> <td><div class="info"> <code class="code">lock mutex</code> lockcs the mutex, that is: </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALlockf">lockf</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Wrapper for <code class="code"><span class="constructor">Unix</span>.lockf</code> </div> </td></tr> <tr><td><a href="Lwt_log.html#VALlog">log</a> [<a href="Lwt_log.html">Lwt_log</a>]</td> <td><div class="info"> <code class="code">log ?section ?logger ~level message</code> logs a message. </div> </td></tr> <tr><td><a href="Lwt_log.html#VALlog_f">log_f</a> [<a href="Lwt_log.html">Lwt_log</a>]</td> <td><div class="info"> <code class="code">log_f</code> is the same as <code class="code">log</code> except that it takes a format string </div> </td></tr> <tr><td><a href="Lwt_read_line.html#VALlookup">lookup</a> [<a href="Lwt_read_line.html">Lwt_read_line</a>]</td> <td><div class="info"> <code class="code">lookup word words</code> lookup for completion of <code class="code">word</code> into <code class="code">words</code>. </div> </td></tr> <tr><td><a href="Lwt_pqueue.S.html#VALlookup_min">lookup_min</a> [<a href="Lwt_pqueue.S.html">Lwt_pqueue.S</a>]</td> <td></td></tr> <tr><td><a href="Lwt_term.html#VALlred">lred</a> [<a href="Lwt_term.html">Lwt_term</a>]</td> <td></td></tr> <tr><td><a href="Lwt_unix.LargeFile.html#VALlseek">lseek</a> [<a href="Lwt_unix.LargeFile.html">Lwt_unix.LargeFile</a>]</td> <td><div class="info"> Wrapper for <code class="code"><span class="constructor">Unix</span>.<span class="constructor">LargeFile</span>.lseek</code> </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALlseek">lseek</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Wrapper for <code class="code"><span class="constructor">Unix</span>.lseek</code> </div> </td></tr> <tr><td><a href="Lwt_unix.LargeFile.html#VALlstat">lstat</a> [<a href="Lwt_unix.LargeFile.html">Lwt_unix.LargeFile</a>]</td> <td><div class="info"> Wrapper for <code class="code"><span class="constructor">Unix</span>.<span class="constructor">LargeFile</span>.lstat</code> </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALlstat">lstat</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Wrapper for <code class="code"><span class="constructor">Unix</span>.lstat</code> </div> </td></tr> <tr><td><a href="Lwt_term.html#VALlwhite">lwhite</a> [<a href="Lwt_term.html">Lwt_term</a>]</td> <td></td></tr> <tr><td><a href="Lwt_term.html#VALlyellow">lyellow</a> [<a href="Lwt_term.html">Lwt_term</a>]</td> <td></td></tr> <tr><td align="left"><br>M</td></tr> <tr><td><a href="Lwt_bytes.html#VALmadvise">madvise</a> [<a href="Lwt_bytes.html">Lwt_bytes</a>]</td> <td><div class="info"> <code class="code">madvise buffer pos len advice</code> advise the kernel about how the program is going to use the part of the memory mapped file between <code class="code">pos</code> and <code class="code">pos + len</code>. </div> </td></tr> <tr><td><a href="Lwt_term.html#VALmagenta">magenta</a> [<a href="Lwt_term.html">Lwt_term</a>]</td> <td></td></tr> <tr><td><a href="Lwt_log.Section.html#VALmain">main</a> [<a href="Lwt_log.Section.html">Lwt_log.Section</a>]</td> <td><div class="info"> The main section. </div> </td></tr> <tr><td><a href="Lwt_log.Section.html#VALmake">make</a> [<a href="Lwt_log.Section.html">Lwt_log.Section</a>]</td> <td><div class="info"> <code class="code">make name</code> creates a section with the given name. </div> </td></tr> <tr><td><a href="Lwt_log.html#VALmake">make</a> [<a href="Lwt_log.html">Lwt_log</a>]</td> <td><div class="info"> <code class="code">make ~output ~close</code> creates a new logger. </div> </td></tr> <tr><td><a href="Lwt_io.html#VALmake">make</a> [<a href="Lwt_io.html">Lwt_io</a>]</td> <td><div class="info"> <code class="code">make ?buffer_size ?close ~mode perform_io</code> is the main function for creating new channels. </div> </td></tr> <tr><td><a href="Lwt_read_line.Control.html#VALmake">make</a> [<a href="Lwt_read_line.Control.html">Lwt_read_line.Control</a>]</td> <td><div class="info"> Creates a new read-line instance with the given parameters. </div> </td></tr> <tr><td><a href="Lwt_term.Zone.html#VALmake">make</a> [<a href="Lwt_term.Zone.html">Lwt_term.Zone</a>]</td> <td><div class="info"> Make a new zone where all points are initialized to <a href="Lwt_term.html#VALblank"><code class="code"><span class="constructor">Lwt_term</span>.blank</code></a> </div> </td></tr> <tr><td><a href="Lwt_text.html#VALmake">make</a> [<a href="Lwt_text.html">Lwt_text</a>]</td> <td><div class="info"> <code class="code">make ?strict ?encoding ch</code> creates a text channel from a byte channel. </div> </td></tr> <tr><td><a href="Lwt.html#VALmake_error">make_error</a> [<a href="Lwt.html">Lwt</a>]</td> <td><div class="info"> <code class="code">error e</code> creates a result containing the exception <code class="code">e</code>. </div> </td></tr> <tr><td><a href="Lwt_chan.html#VALmake_in_channel">make_in_channel</a> [<a href="Lwt_chan.html">Lwt_chan</a>]</td> <td><div class="info"> <code class="code">make_in_channel read</code> creates an input channel from the <code class="code">read</code> function. </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALmake_notification">make_notification</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> <code class="code">new_notifier ?once f</code> registers a new notifier. </div> </td></tr> <tr><td><a href="Lwt_chan.html#VALmake_out_channel">make_out_channel</a> [<a href="Lwt_chan.html">Lwt_chan</a>]</td> <td><div class="info"> <code class="code">make_out_channel write</code> creates an output channel from the <code class="code">write</code> function. </div> </td></tr> <tr><td><a href="Lwt_util.html#VALmake_region">make_region</a> [<a href="Lwt_util.html">Lwt_util</a>]</td> <td><div class="info"> <code class="code">make_region sz</code> create a region of size <code class="code">sz</code>. </div> </td></tr> <tr><td><a href="Lwt.html#VALmake_value">make_value</a> [<a href="Lwt.html">Lwt</a>]</td> <td><div class="info"> <code class="code">value x</code> creates a result containing the value <code class="code">x</code>. </div> </td></tr> <tr><td><a href="Lwt_term.Draw.html#VALmap">map</a> [<a href="Lwt_term.Draw.html">Lwt_term.Draw</a>]</td> <td><div class="info"> <code class="code">map ~zone ~x ~y f</code> replace the point at coordinates <code class="code">(x, y)</code> by the result of <code class="code">f</code> applied on it. </div> </td></tr> <tr><td><a href="Lwt_util.html#VALmap">map</a> [<a href="Lwt_util.html">Lwt_util</a>]</td> <td><div class="info"> <code class="code">map f l</code> apply <code class="code">f</code> to each element in <code class="code">l</code> and collect the results of the threads thus created. </div> </td></tr> <tr><td><a href="Lwt_stream.html#VALmap">map</a> [<a href="Lwt_stream.html">Lwt_stream</a>]</td> <td></td></tr> <tr><td><a href="Lwt.html#VALmap">map</a> [<a href="Lwt.html">Lwt</a>]</td> <td><div class="info"> <code class="code">map f m</code> map the result of a thread. </div> </td></tr> <tr><td><a href="Lwt_stream.html#VALmap_exn">map_exn</a> [<a href="Lwt_stream.html">Lwt_stream</a>]</td> <td><div class="info"> <code class="code">map_exn s</code> returns a stream that captures all exceptions raised by the source of the stream (the function passed to <a href="Lwt_stream.html#VALfrom"><code class="code"><span class="constructor">Lwt_stream</span>.from</code></a>). </div> </td></tr> <tr><td><a href="Lwt_bytes.html#VALmap_file">map_file</a> [<a href="Lwt_bytes.html">Lwt_bytes</a>]</td> <td><div class="info"> <code class="code">map_file ~fd ?pos ~shared ?size ()</code> maps the file descriptor <code class="code">fd</code> to an array of bytes. </div> </td></tr> <tr><td><a href="Lwt_stream.html#VALmap_list">map_list</a> [<a href="Lwt_stream.html">Lwt_stream</a>]</td> <td></td></tr> <tr><td><a href="Lwt_stream.html#VALmap_list_s">map_list_s</a> [<a href="Lwt_stream.html">Lwt_stream</a>]</td> <td><div class="info"> <code class="code">map_list f st</code> applies <code class="code">f</code> on each element of <code class="code">st</code> and flattens the lists returned </div> </td></tr> <tr><td><a href="Lwt_react.E.html#VALmap_p">map_p</a> [<a href="Lwt_react.E.html">Lwt_react.E</a>]</td> <td></td></tr> <tr><td><a href="Lwt_event.html#VALmap_p">map_p</a> [<a href="Lwt_event.html">Lwt_event</a>]</td> <td></td></tr> <tr><td><a href="Lwt_list.html#VALmap_p">map_p</a> [<a href="Lwt_list.html">Lwt_list</a>]</td> <td></td></tr> <tr><td><a href="Lwt_react.S.html#VALmap_s">map_s</a> [<a href="Lwt_react.S.html">Lwt_react.S</a>]</td> <td></td></tr> <tr><td><a href="Lwt_react.E.html#VALmap_s">map_s</a> [<a href="Lwt_react.E.html">Lwt_react.E</a>]</td> <td></td></tr> <tr><td><a href="Lwt_signal.html#VALmap_s">map_s</a> [<a href="Lwt_signal.html">Lwt_signal</a>]</td> <td></td></tr> <tr><td><a href="Lwt_event.html#VALmap_s">map_s</a> [<a href="Lwt_event.html">Lwt_event</a>]</td> <td></td></tr> <tr><td><a href="Lwt_stream.html#VALmap_s">map_s</a> [<a href="Lwt_stream.html">Lwt_stream</a>]</td> <td><div class="info"> <code class="code">map f st</code> maps the value returned by <code class="code">st</code> with <code class="code">f</code> </div> </td></tr> <tr><td><a href="Lwt_list.html#VALmap_s">map_s</a> [<a href="Lwt_list.html">Lwt_list</a>]</td> <td></td></tr> <tr><td><a href="Lwt_util.html#VALmap_serial">map_serial</a> [<a href="Lwt_util.html">Lwt_util</a>]</td> <td><div class="info"> Similar to <code class="code">map</code> but wait for one thread to terminate before starting the next one. </div> </td></tr> <tr><td><a href="Lwt_util.html#VALmap_with_waiting_action">map_with_waiting_action</a> [<a href="Lwt_util.html">Lwt_util</a>]</td> <td><div class="info"> <code class="code">map_with_waiting_action f wa l</code> apply <code class="code">f</code> to each element in <code class="code">l</code> and collect the results of the threads thus created. </div> </td></tr> <tr><td><a href="Lwt_bytes.html#VALmapped">mapped</a> [<a href="Lwt_bytes.html">Lwt_bytes</a>]</td> <td><div class="info"> <code class="code">mapped buffer</code> returns <code class="code"><span class="keyword">true</span></code> iff <code class="code">buffer</code> is a memory mapped file. </div> </td></tr> <tr><td><a href="Lwt_react.S.html#VALmerge_s">merge_s</a> [<a href="Lwt_react.S.html">Lwt_react.S</a>]</td> <td></td></tr> <tr><td><a href="Lwt_react.E.html#VALmerge_s">merge_s</a> [<a href="Lwt_react.E.html">Lwt_react.E</a>]</td> <td></td></tr> <tr><td><a href="Lwt_signal.html#VALmerge_s">merge_s</a> [<a href="Lwt_signal.html">Lwt_signal</a>]</td> <td></td></tr> <tr><td><a href="Lwt_event.html#VALmerge_s">merge_s</a> [<a href="Lwt_event.html">Lwt_event</a>]</td> <td></td></tr> <tr><td><a href="Lwt_bytes.html#VALmincore">mincore</a> [<a href="Lwt_bytes.html">Lwt_bytes</a>]</td> <td><div class="info"> <code class="code">mincore buffer offset states</code> tests whether the given pages are in the system memory (the RAM). </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALmkdir">mkdir</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Wrapper for <code class="code"><span class="constructor">Unix</span>.mkdir</code> </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALmkfifo">mkfifo</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Wrapper for <code class="code"><span class="constructor">Unix</span>.mkfifo</code> </div> </td></tr> <tr><td><a href="Lwt_io.html#VALmode">mode</a> [<a href="Lwt_io.html">Lwt_io</a>]</td> <td><div class="info"> <code class="code">mode ch</code> returns the mode of a channel </div> </td></tr> <tr><td align="left"><br>N</td></tr> <tr><td><a href="Lwt_log.Section.html#VALname">name</a> [<a href="Lwt_log.Section.html">Lwt_log.Section</a>]</td> <td><div class="info"> <code class="code">name section</code> returns the name of <code class="code">section</code>. </div> </td></tr> <tr><td><a href="Lwt_read_line.Command.html#VALnames">names</a> [<a href="Lwt_read_line.Command.html">Lwt_read_line.Command</a>]</td> <td><div class="info"> <code class="code">names</code> is the list of all commands (except <code class="code"><span class="constructor">Char</span> ch</code>) with their name. </div> </td></tr> <tr><td><a href="Lwt.html#VALnchoose">nchoose</a> [<a href="Lwt.html">Lwt</a>]</td> <td><div class="info"> <code class="code">nchoose l</code> returns the value of all that have succcessfully terminated. </div> </td></tr> <tr><td><a href="Lwt.html#VALnchoose_split">nchoose_split</a> [<a href="Lwt.html">Lwt</a>]</td> <td><div class="info"> <code class="code">nchoose_split l</code> does the same as <a href="Lwt.html#VALnchoose"><code class="code"><span class="constructor">Lwt</span>.nchoose</code></a> but also retrurns the list of threads that have not yet terminated. </div> </td></tr> <tr><td><a href="Lwt.html#VALnew_key">new_key</a> [<a href="Lwt.html">Lwt</a>]</td> <td><div class="info"> <code class="code">new_key ()</code> creates a new key. </div> </td></tr> <tr><td><a href="Lwt_react.E.html#VALnext">next</a> [<a href="Lwt_react.E.html">Lwt_react.E</a>]</td> <td><div class="info"> <code class="code">next e</code> returns the next occurrence of <code class="code">e</code> </div> </td></tr> <tr><td><a href="Lwt_event.html#VALnext">next</a> [<a href="Lwt_event.html">Lwt_event</a>]</td> <td></td></tr> <tr><td><a href="Lwt_stream.html#VALnext">next</a> [<a href="Lwt_stream.html">Lwt_stream</a>]</td> <td><div class="info"> <code class="code">next st</code> remove and returns the next element of the stream, of fail with <a href="Lwt_stream.html#EXCEPTIONEmpty"><code class="code"><span class="constructor">Lwt_stream</span>.<span class="constructor">Empty</span></code></a> if the stream is empty. </div> </td></tr> <tr><td><a href="Lwt_stream.html#VALnget">nget</a> [<a href="Lwt_stream.html">Lwt_stream</a>]</td> <td><div class="info"> <code class="code">nget n st</code> remove and returns at most the first <code class="code">n</code> elements of <code class="code">st</code>. </div> </td></tr> <tr><td><a href="Lwt_stream.html#VALnjunk">njunk</a> [<a href="Lwt_stream.html">Lwt_stream</a>]</td> <td><div class="info"> <code class="code">njunk n st</code> removes at most the first <code class="code">n</code> elements of the stream. </div> </td></tr> <tr><td><a href="Lwt.html#VALno_cancel">no_cancel</a> [<a href="Lwt.html">Lwt</a>]</td> <td><div class="info"> <code class="code">no_cancel thread</code> creates a thread which behave as <code class="code">thread</code> except that it cannot be canceled. </div> </td></tr> <tr><td><a href="Lwt_log.html#VALnotice">notice</a> [<a href="Lwt_log.html">Lwt_log</a>]</td> <td></td></tr> <tr><td><a href="Lwt_log.html#VALnotice_f">notice_f</a> [<a href="Lwt_log.html">Lwt_log</a>]</td> <td></td></tr> <tr><td><a href="Lwt_signal.html#VALnotify">notify</a> [<a href="Lwt_signal.html">Lwt_signal</a>]</td> <td></td></tr> <tr><td><a href="Lwt_event.html#VALnotify">notify</a> [<a href="Lwt_event.html">Lwt_event</a>]</td> <td></td></tr> <tr><td><a href="Lwt_signal.html#VALnotify_p">notify_p</a> [<a href="Lwt_signal.html">Lwt_signal</a>]</td> <td></td></tr> <tr><td><a href="Lwt_event.html#VALnotify_p">notify_p</a> [<a href="Lwt_event.html">Lwt_event</a>]</td> <td></td></tr> <tr><td><a href="Lwt_signal.html#VALnotify_s">notify_s</a> [<a href="Lwt_signal.html">Lwt_signal</a>]</td> <td></td></tr> <tr><td><a href="Lwt_event.html#VALnotify_s">notify_s</a> [<a href="Lwt_event.html">Lwt_event</a>]</td> <td></td></tr> <tr><td><a href="Lwt_stream.html#VALnpeek">npeek</a> [<a href="Lwt_stream.html">Lwt_stream</a>]</td> <td><div class="info"> <code class="code">npeek n st</code> returns at most the first <code class="code">n</code> elements of <code class="code">st</code>, without removing them. </div> </td></tr> <tr><td><a href="Lwt.html#VALnpick">npick</a> [<a href="Lwt.html">Lwt</a>]</td> <td><div class="info"> <code class="code">npick l</code> is the same as <a href="Lwt.html#VALnchoose"><code class="code"><span class="constructor">Lwt</span>.nchoose</code></a>, except that it cancels all sleeping threads when one terminates. </div> </td></tr> <tr><td><a href="Lwt_log.html#VALnull">null</a> [<a href="Lwt_log.html">Lwt_log</a>]</td> <td><div class="info"> Logger which drops everything </div> </td></tr> <tr><td><a href="Lwt_io.html#VALnull">null</a> [<a href="Lwt_io.html">Lwt_io</a>]</td> <td><div class="info"> Output which drops everything </div> </td></tr> <tr><td><a href="Lwt_text.html#VALnull">null</a> [<a href="Lwt_text.html">Lwt_text</a>]</td> <td></td></tr> <tr><td align="left"><br>O</td></tr> <tr><td><a href="Lwt_stream.html#VALof_array">of_array</a> [<a href="Lwt_stream.html">Lwt_stream</a>]</td> <td><div class="info"> <code class="code">of_array a</code> creates a stream returning all elements of <code class="code">a</code> </div> </td></tr> <tr><td><a href="Lwt_io.html#VALof_bytes">of_bytes</a> [<a href="Lwt_io.html">Lwt_io</a>]</td> <td><div class="info"> Create a channel from a byte array. </div> </td></tr> <tr><td><a href="Lwt_io.html#VALof_fd">of_fd</a> [<a href="Lwt_io.html">Lwt_io</a>]</td> <td><div class="info"> <code class="code">of_fd ?buffer_size ?close ~mode fd</code> creates a channel from a file descriptor. </div> </td></tr> <tr><td><a href="Lwt_read_line.Command.html#VALof_key">of_key</a> [<a href="Lwt_read_line.Command.html">Lwt_read_line.Command</a>]</td> <td><div class="info"> <code class="code">of_key key</code> returns the command to which a key is mapped. </div> </td></tr> <tr><td><a href="Lwt_stream.html#VALof_list">of_list</a> [<a href="Lwt_stream.html">Lwt_stream</a>]</td> <td><div class="info"> <code class="code">of_list l</code> creates a stream returning all elements of <code class="code">l</code> </div> </td></tr> <tr><td><a href="Lwt.html#VALof_result">of_result</a> [<a href="Lwt.html">Lwt</a>]</td> <td><div class="info"> Returns a thread from a result. </div> </td></tr> <tr><td><a href="Lwt_react.E.html#VALof_stream">of_stream</a> [<a href="Lwt_react.E.html">Lwt_react.E</a>]</td> <td><div class="info"> <code class="code">of_stream stream</code> creates an event which occurs each time a value is available on the stream. </div> </td></tr> <tr><td><a href="Lwt_event.html#VALof_stream">of_stream</a> [<a href="Lwt_event.html">Lwt_event</a>]</td> <td></td></tr> <tr><td><a href="Lwt_bytes.html#VALof_string">of_string</a> [<a href="Lwt_bytes.html">Lwt_bytes</a>]</td> <td><div class="info"> <code class="code">of_string str</code> returns a newly allocated byte array with the same contents as <code class="code">str</code>. </div> </td></tr> <tr><td><a href="Lwt_read_line.Command.html#VALof_string">of_string</a> [<a href="Lwt_read_line.Command.html">Lwt_read_line.Command</a>]</td> <td><div class="info"> <code class="code">of_string cld</code> tries to convert a command name to a command. </div> </td></tr> <tr><td><a href="Lwt_stream.html#VALof_string">of_string</a> [<a href="Lwt_stream.html">Lwt_stream</a>]</td> <td><div class="info"> <code class="code">of_string str</code> creates a stream returning all characters of <code class="code">str</code> </div> </td></tr> <tr><td><a href="Lwt_io.html#VALof_unix_fd">of_unix_fd</a> [<a href="Lwt_io.html">Lwt_io</a>]</td> <td><div class="info"> <code class="code">of_unix_fd ?buffer_size ?close ~mode fd</code> is a short-hand for: </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALof_unix_file_descr">of_unix_file_descr</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Creates a lwt <b>file descriptor</b> from a unix one. </div> </td></tr> <tr><td><a href="Lwt.html#VALon_any">on_any</a> [<a href="Lwt.html">Lwt</a>]</td> <td><div class="info"> <code class="code">on_any t f g</code> executes <code class="code">f</code> or <code class="code">g</code> when <code class="code">t</code> terminates. </div> </td></tr> <tr><td><a href="Lwt.html#VALon_cancel">on_cancel</a> [<a href="Lwt.html">Lwt</a>]</td> <td><div class="info"> <code class="code">on_cancel t f</code> executes <code class="code">f</code> when <code class="code">t</code> is canceled. </div> </td></tr> <tr><td><a href="Lwt.html#VALon_failure">on_failure</a> [<a href="Lwt.html">Lwt</a>]</td> <td><div class="info"> <code class="code">on_failure t f</code> executes <code class="code">f</code> when <code class="code">t</code> terminates and fails. </div> </td></tr> <tr><td><a href="Lwt_engine.html#VALon_readable">on_readable</a> [<a href="Lwt_engine.html">Lwt_engine</a>]</td> <td><div class="info"> <code class="code">on_readable fd f</code> calls <code class="code">f</code> each time <code class="code">fd</code> becomes readable. </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALon_signal">on_signal</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> <code class="code">on_signal signum f</code> calls <code class="code">f</code> each time the signal with numnber <code class="code">signum</code> is received by the process. </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALon_signal_full">on_signal_full</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> <code class="code">on_signal_full f</code> is the same as <code class="code">on_signal f</code> except that <code class="code">f</code> also receive the signal handler identifier as argument so it can disable it. </div> </td></tr> <tr><td><a href="Lwt.html#VALon_success">on_success</a> [<a href="Lwt.html">Lwt</a>]</td> <td><div class="info"> <code class="code">on_success t f</code> executes <code class="code">f</code> when <code class="code">t</code> terminates without failing. </div> </td></tr> <tr><td><a href="Lwt_stream.html#VALon_terminate">on_terminate</a> [<a href="Lwt_stream.html">Lwt_stream</a>]</td> <td><div class="info"> <code class="code">on_terminate st f</code> executes <code class="code">f</code> when the end of the stream <code class="code">st</code> is reached. </div> </td></tr> <tr><td><a href="Lwt.html#VALon_termination">on_termination</a> [<a href="Lwt.html">Lwt</a>]</td> <td><div class="info"> <code class="code">on_termination t f</code> executes <code class="code">f</code> when <code class="code">t</code> terminates. </div> </td></tr> <tr><td><a href="Lwt_engine.html#VALon_timer">on_timer</a> [<a href="Lwt_engine.html">Lwt_engine</a>]</td> <td><div class="info"> <code class="code">on_timer delay repeat f</code> calls <code class="code">f</code> one time after <code class="code">delay</code> seconds. </div> </td></tr> <tr><td><a href="Lwt_engine.html#VALon_writable">on_writable</a> [<a href="Lwt_engine.html">Lwt_engine</a>]</td> <td><div class="info"> <code class="code">on_readable fd f</code> calls <code class="code">f</code> each time <code class="code">fd</code> becomes writable. </div> </td></tr> <tr><td><a href="Lwt_io.html#VALopen_connection">open_connection</a> [<a href="Lwt_io.html">Lwt_io</a>]</td> <td><div class="info"> <code class="code">open_connection ?buffer_size ~mode addr</code> open a connection to the given address and returns two channels for using it. </div> </td></tr> <tr><td><a href="Lwt_chan.html#VALopen_connection">open_connection</a> [<a href="Lwt_chan.html">Lwt_chan</a>]</td> <td></td></tr> <tr><td><a href="Lwt_io.html#VALopen_file">open_file</a> [<a href="Lwt_io.html">Lwt_io</a>]</td> <td><div class="info"> <code class="code">open_file ?buffer_size ?flags ?perm ~mode filename</code> open the file with name <code class="code">filename</code> and returns a channel for reading/writing it. </div> </td></tr> <tr><td><a href="Lwt_text.html#VALopen_file">open_file</a> [<a href="Lwt_text.html">Lwt_text</a>]</td> <td></td></tr> <tr><td><a href="Lwt_chan.html#VALopen_in">open_in</a> [<a href="Lwt_chan.html">Lwt_chan</a>]</td> <td></td></tr> <tr><td><a href="Lwt_chan.html#VALopen_in_gen">open_in_gen</a> [<a href="Lwt_chan.html">Lwt_chan</a>]</td> <td></td></tr> <tr><td><a href="Lwt_chan.html#VALopen_out">open_out</a> [<a href="Lwt_chan.html">Lwt_chan</a>]</td> <td></td></tr> <tr><td><a href="Lwt_chan.html#VALopen_out_gen">open_out_gen</a> [<a href="Lwt_chan.html">Lwt_chan</a>]</td> <td></td></tr> <tr><td><a href="Lwt_process.html#VALopen_process">open_process</a> [<a href="Lwt_process.html">Lwt_process</a>]</td> <td></td></tr> <tr><td><a href="Lwt_process.html#VALopen_process_full">open_process_full</a> [<a href="Lwt_process.html">Lwt_process</a>]</td> <td></td></tr> <tr><td><a href="Lwt_process.html#VALopen_process_in">open_process_in</a> [<a href="Lwt_process.html">Lwt_process</a>]</td> <td></td></tr> <tr><td><a href="Lwt_process.html#VALopen_process_none">open_process_none</a> [<a href="Lwt_process.html">Lwt_process</a>]</td> <td></td></tr> <tr><td><a href="Lwt_process.html#VALopen_process_out">open_process_out</a> [<a href="Lwt_process.html">Lwt_process</a>]</td> <td></td></tr> <tr><td><a href="Lwt_unix.html#VALopendir">opendir</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Wrapper for <code class="code"><span class="constructor">Unix</span>.opendir</code> </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALopenfile">openfile</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Wrapper for <code class="code"><span class="constructor">Unix</span>.openfile</code>. </div> </td></tr> <tr><td><a href="Lwt_chan.html#VALout_channel_of_descr">out_channel_of_descr</a> [<a href="Lwt_chan.html">Lwt_chan</a>]</td> <td></td></tr> <tr><td><a href="Lwt_ssl.html#VALout_channel_of_descr">out_channel_of_descr</a> [<a href="Lwt_ssl.html">Lwt_ssl</a>]</td> <td></td></tr> <tr><td><a href="Lwt_io.html#VALoutput">output</a> [<a href="Lwt_io.html">Lwt_io</a>]</td> <td><div class="info"> <code class="code">output</code> output mode representation </div> </td></tr> <tr><td><a href="Lwt_chan.html#VALoutput">output</a> [<a href="Lwt_chan.html">Lwt_chan</a>]</td> <td></td></tr> <tr><td><a href="Lwt_chan.html#VALoutput_binary_int">output_binary_int</a> [<a href="Lwt_chan.html">Lwt_chan</a>]</td> <td></td></tr> <tr><td><a href="Lwt_chan.html#VALoutput_char">output_char</a> [<a href="Lwt_chan.html">Lwt_chan</a>]</td> <td></td></tr> <tr><td><a href="Lwt_chan.html#VALoutput_string">output_string</a> [<a href="Lwt_chan.html">Lwt_chan</a>]</td> <td></td></tr> <tr><td><a href="Lwt_chan.html#VALoutput_value">output_value</a> [<a href="Lwt_chan.html">Lwt_chan</a>]</td> <td></td></tr> <tr><td align="left"><br>P</td></tr> <tr><td><a href="Lwt_bytes.html#VALpage_size">page_size</a> [<a href="Lwt_bytes.html">Lwt_bytes</a>]</td> <td><div class="info"> Size of pages. </div> </td></tr> <tr><td><a href="Lwt_stream.html#VALparse">parse</a> [<a href="Lwt_stream.html">Lwt_stream</a>]</td> <td><div class="info"> <code class="code">parse st f</code> parses <code class="code">st</code> with <code class="code">f</code>. </div> </td></tr> <tr><td><a href="Lwt_term.html#VALparse_key_raw">parse_key_raw</a> [<a href="Lwt_term.html">Lwt_term</a>]</td> <td><div class="info"> <code class="code">parse_key_raw st</code> recognize escape sequence in a stream of unicode character. </div> </td></tr> <tr><td><a href="Lwt_list.html#VALpartition_p">partition_p</a> [<a href="Lwt_list.html">Lwt_list</a>]</td> <td></td></tr> <tr><td><a href="Lwt_list.html#VALpartition_s">partition_s</a> [<a href="Lwt_list.html">Lwt_list</a>]</td> <td></td></tr> <tr><td><a href="Lwt.html#VALpause">pause</a> [<a href="Lwt.html">Lwt</a>]</td> <td><div class="info"> <code class="code">pause ()</code> is a sleeping thread which is wake up on the next call to <a href="Lwt.html#VALwakeup_paused"><code class="code"><span class="constructor">Lwt</span>.wakeup_paused</code></a>. </div> </td></tr> <tr><td><a href="Lwt.html#VALpaused_count">paused_count</a> [<a href="Lwt.html">Lwt</a>]</td> <td><div class="info"> <code class="code">paused_count ()</code> returns the number of currently paused threads. </div> </td></tr> <tr><td><a href="Lwt_stream.html#VALpeek">peek</a> [<a href="Lwt_stream.html">Lwt_stream</a>]</td> <td><div class="info"> <code class="code">peek st</code> returns the first element of the stream, if any, without removing it. </div> </td></tr> <tr><td><a href="Lwt.html#VALpick">pick</a> [<a href="Lwt.html">Lwt</a>]</td> <td><div class="info"> <code class="code">pick l</code> is the same as <a href="Lwt.html#VALchoose"><code class="code"><span class="constructor">Lwt</span>.choose</code></a>, except that it cancels all sleeping threads when one terminates. </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALpipe">pipe</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> <code class="code">pipe ()</code> creates pipe using <code class="code"><span class="constructor">Unix</span>.pipe</code> and returns two lwt <b> file descriptor</b>s created from unix <b>file_descriptor</b> </div> </td></tr> <tr><td><a href="Lwt_io.html#VALpipe">pipe</a> [<a href="Lwt_io.html">Lwt_io</a>]</td> <td><div class="info"> <code class="code">pipe ?buffer_size ()</code> creates a pipe using <a href="Lwt_unix.html#VALpipe"><code class="code"><span class="constructor">Lwt_unix</span>.pipe</code></a> and makes two channels from the two returned file descriptors </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALpipe_in">pipe_in</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> <code class="code">pipe_in ()</code> is the same as <a href="Lwt_unix.html#VALpipe"><code class="code"><span class="constructor">Lwt_unix</span>.pipe</code></a> but maps only the unix <b> file descriptor</b> for reading into a lwt one. </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALpipe_out">pipe_out</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> <code class="code">pipe_out ()</code> is the inverse of <a href="Lwt_unix.html#VALpipe_in"><code class="code"><span class="constructor">Lwt_unix</span>.pipe_in</code></a>. </div> </td></tr> <tr><td><a href="Lwt_ssl.html#VALplain">plain</a> [<a href="Lwt_ssl.html">Lwt_ssl</a>]</td> <td></td></tr> <tr><td><a href="Lwt_process.html#VALpmap">pmap</a> [<a href="Lwt_process.html">Lwt_process</a>]</td> <td></td></tr> <tr><td><a href="Lwt_process.html#VALpmap_chars">pmap_chars</a> [<a href="Lwt_process.html">Lwt_process</a>]</td> <td></td></tr> <tr><td><a href="Lwt_process.html#VALpmap_line">pmap_line</a> [<a href="Lwt_process.html">Lwt_process</a>]</td> <td></td></tr> <tr><td><a href="Lwt_process.html#VALpmap_lines">pmap_lines</a> [<a href="Lwt_process.html">Lwt_process</a>]</td> <td></td></tr> <tr><td><a href="Lwt_term.Zone.html#VALpoints">points</a> [<a href="Lwt_term.Zone.html">Lwt_term.Zone</a>]</td> <td></td></tr> <tr><td><a href="Lwt_unix.html#VALpool_size">pool_size</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Maximum number of system threads that can be started. </div> </td></tr> <tr><td><a href="Lwt_io.html#VALposition">position</a> [<a href="Lwt_io.html">Lwt_io</a>]</td> <td><div class="info"> <code class="code">position ch</code> Returns the current position in the channel. </div> </td></tr> <tr><td><a href="Lwt_process.html#VALpread">pread</a> [<a href="Lwt_process.html">Lwt_process</a>]</td> <td></td></tr> <tr><td><a href="Lwt_process.html#VALpread_chars">pread_chars</a> [<a href="Lwt_process.html">Lwt_process</a>]</td> <td></td></tr> <tr><td><a href="Lwt_process.html#VALpread_line">pread_line</a> [<a href="Lwt_process.html">Lwt_process</a>]</td> <td></td></tr> <tr><td><a href="Lwt_process.html#VALpread_lines">pread_lines</a> [<a href="Lwt_process.html">Lwt_process</a>]</td> <td></td></tr> <tr><td><a href="Lwt_io.html#VALprint">print</a> [<a href="Lwt_io.html">Lwt_io</a>]</td> <td></td></tr> <tr><td><a href="Lwt_text.html#VALprint">print</a> [<a href="Lwt_text.html">Lwt_text</a>]</td> <td></td></tr> <tr><td><a href="Lwt_read_line.html#VALprint_words">print_words</a> [<a href="Lwt_read_line.html">Lwt_read_line</a>]</td> <td><div class="info"> <code class="code">print_words oc columns strs</code> pretty-prints a list of words. </div> </td></tr> <tr><td><a href="Lwt_term.html#VALprintc">printc</a> [<a href="Lwt_term.html">Lwt_term</a>]</td> <td><div class="info"> <code class="code">printc st</code> prints the given styled text on standard output. </div> </td></tr> <tr><td><a href="Lwt_io.html#VALprintf">printf</a> [<a href="Lwt_io.html">Lwt_io</a>]</td> <td></td></tr> <tr><td><a href="Lwt_text.html#VALprintf">printf</a> [<a href="Lwt_text.html">Lwt_text</a>]</td> <td></td></tr> <tr><td><a href="Lwt_io.html#VALprintl">printl</a> [<a href="Lwt_io.html">Lwt_io</a>]</td> <td></td></tr> <tr><td><a href="Lwt_text.html#VALprintl">printl</a> [<a href="Lwt_text.html">Lwt_text</a>]</td> <td></td></tr> <tr><td><a href="Lwt_term.html#VALprintlc">printlc</a> [<a href="Lwt_term.html">Lwt_term</a>]</td> <td><div class="info"> <code class="code">printlc st</code> prints <code class="code">st</code>, then reset styles and prints a newline </div> </td></tr> <tr><td><a href="Lwt_io.html#VALprintlf">printlf</a> [<a href="Lwt_io.html">Lwt_io</a>]</td> <td></td></tr> <tr><td><a href="Lwt_text.html#VALprintlf">printlf</a> [<a href="Lwt_text.html">Lwt_text</a>]</td> <td></td></tr> <tr><td><a href="Lwt.html#VALprotected">protected</a> [<a href="Lwt.html">Lwt</a>]</td> <td><div class="info"> <code class="code">protected thread</code> creates a new cancelable thread which behave as <code class="code">thread</code> except that cancelling it does not cancel <code class="code">thread</code>. </div> </td></tr> <tr><td><a href="Lwt_bytes.html#VALproxy">proxy</a> [<a href="Lwt_bytes.html">Lwt_bytes</a>]</td> <td><div class="info"> <code class="code">proxy buffer offset length</code> creates a ``proxy''. </div> </td></tr> <tr><td><a href="Lwt_mvar.html#VALput">put</a> [<a href="Lwt_mvar.html">Lwt_mvar</a>]</td> <td><div class="info"> <code class="code">put mvar value</code> puts a value into a mailbox variable. </div> </td></tr> <tr><td><a href="Lwt_process.html#VALpwrite">pwrite</a> [<a href="Lwt_process.html">Lwt_process</a>]</td> <td></td></tr> <tr><td><a href="Lwt_process.html#VALpwrite_chars">pwrite_chars</a> [<a href="Lwt_process.html">Lwt_process</a>]</td> <td></td></tr> <tr><td><a href="Lwt_process.html#VALpwrite_line">pwrite_line</a> [<a href="Lwt_process.html">Lwt_process</a>]</td> <td></td></tr> <tr><td><a href="Lwt_process.html#VALpwrite_lines">pwrite_lines</a> [<a href="Lwt_process.html">Lwt_process</a>]</td> <td></td></tr> <tr><td align="left"><br>R</td></tr> <tr><td><a href="Lwt_term.html#VALraw_mode">raw_mode</a> [<a href="Lwt_term.html">Lwt_term</a>]</td> <td><div class="info"> Returns wether the terminal is currently in raw mode </div> </td></tr> <tr><td><a href="Lwt_bytes.html#VALread">read</a> [<a href="Lwt_bytes.html">Lwt_bytes</a>]</td> <td></td></tr> <tr><td><a href="Lwt_unix.html#VALread">read</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> <code class="code">read fd buf ofs len</code> has the same semantic as <code class="code"><span class="constructor">Unix</span>.read</code>, but is cooperative </div> </td></tr> <tr><td><a href="Lwt_io.html#VALread">read</a> [<a href="Lwt_io.html">Lwt_io</a>]</td> <td><div class="info"> <code class="code">read ?count ic</code> reads at most <code class="code">len</code> characters from <code class="code">ic</code>. </div> </td></tr> <tr><td><a href="Lwt_text.html#VALread">read</a> [<a href="Lwt_text.html">Lwt_text</a>]</td> <td></td></tr> <tr><td><a href="Lwt_ssl.html#VALread">read</a> [<a href="Lwt_ssl.html">Lwt_ssl</a>]</td> <td></td></tr> <tr><td><a href="Lwt_ssl.html#VALread_bytes">read_bytes</a> [<a href="Lwt_ssl.html">Lwt_ssl</a>]</td> <td></td></tr> <tr><td><a href="Lwt_io.html#VALread_char">read_char</a> [<a href="Lwt_io.html">Lwt_io</a>]</td> <td><div class="info"> <code class="code">read_char ic</code> reads the next character of <code class="code">ic</code>. </div> </td></tr> <tr><td><a href="Lwt_text.html#VALread_char">read_char</a> [<a href="Lwt_text.html">Lwt_text</a>]</td> <td></td></tr> <tr><td><a href="Lwt_io.html#VALread_char_opt">read_char_opt</a> [<a href="Lwt_io.html">Lwt_io</a>]</td> <td><div class="info"> Same as <code class="code">read_byte</code> but does not raises <code class="code"><span class="constructor">End_of_file</span></code> on end of input </div> </td></tr> <tr><td><a href="Lwt_text.html#VALread_char_opt">read_char_opt</a> [<a href="Lwt_text.html">Lwt_text</a>]</td> <td></td></tr> <tr><td><a href="Lwt_io.html#VALread_chars">read_chars</a> [<a href="Lwt_io.html">Lwt_io</a>]</td> <td><div class="info"> <code class="code">read_chars ic</code> returns a stream holding all characters of <code class="code">ic</code> </div> </td></tr> <tr><td><a href="Lwt_text.html#VALread_chars">read_chars</a> [<a href="Lwt_text.html">Lwt_text</a>]</td> <td></td></tr> <tr><td><a href="Lwt_io.NumberIO.html#VALread_float32">read_float32</a> [<a href="Lwt_io.NumberIO.html">Lwt_io.NumberIO</a>]</td> <td><div class="info"> Reads an IEEE single precision floating point value </div> </td></tr> <tr><td><a href="Lwt_io.NumberIO.html#VALread_float64">read_float64</a> [<a href="Lwt_io.NumberIO.html">Lwt_io.NumberIO</a>]</td> <td><div class="info"> Reads an IEEE double precision floating point value </div> </td></tr> <tr><td><a href="Lwt_io.NumberIO.html#VALread_int">read_int</a> [<a href="Lwt_io.NumberIO.html">Lwt_io.NumberIO</a>]</td> <td><div class="info"> Reads a 32-bits integer as an ocaml int </div> </td></tr> <tr><td><a href="Lwt_io.NumberIO.html#VALread_int16">read_int16</a> [<a href="Lwt_io.NumberIO.html">Lwt_io.NumberIO</a>]</td> <td></td></tr> <tr><td><a href="Lwt_io.NumberIO.html#VALread_int32">read_int32</a> [<a href="Lwt_io.NumberIO.html">Lwt_io.NumberIO</a>]</td> <td></td></tr> <tr><td><a href="Lwt_io.NumberIO.html#VALread_int64">read_int64</a> [<a href="Lwt_io.NumberIO.html">Lwt_io.NumberIO</a>]</td> <td></td></tr> <tr><td><a href="Lwt_io.html#VALread_into">read_into</a> [<a href="Lwt_io.html">Lwt_io</a>]</td> <td><div class="info"> <code class="code">read_into ic buffer offset length</code> reads up to <code class="code">length</code> bytes, stores them in <code class="code">buffer</code> at offset <code class="code">offset</code>, and returns the number of bytes read. </div> </td></tr> <tr><td><a href="Lwt_io.html#VALread_into_exactly">read_into_exactly</a> [<a href="Lwt_io.html">Lwt_io</a>]</td> <td><div class="info"> <code class="code">read_into_exactly ic buffer offset length</code> reads exactly <code class="code">length</code> bytes and stores them in <code class="code">buffer</code> at offset <code class="code">offset</code>. </div> </td></tr> <tr><td><a href="Lwt_term.html#VALread_key">read_key</a> [<a href="Lwt_term.html">Lwt_term</a>]</td> <td><div class="info"> Get and decode a key from <a href="Lwt_term.html#VALstandard_input"><code class="code"><span class="constructor">Lwt_term</span>.standard_input</code></a> </div> </td></tr> <tr><td><a href="Lwt_read_line.Control.html#VALread_keyword">read_keyword</a> [<a href="Lwt_read_line.Control.html">Lwt_read_line.Control</a>]</td> <td></td></tr> <tr><td><a href="Lwt_read_line.html#VALread_keyword">read_keyword</a> [<a href="Lwt_read_line.html">Lwt_read_line</a>]</td> <td><div class="info"> <code class="code">read_keyword ?history ?case_sensitive ?mode ~prompt ~keywords ()</code> reads one word which is a member of <code class="code">words</code>. </div> </td></tr> <tr><td><a href="Lwt_io.html#VALread_line">read_line</a> [<a href="Lwt_io.html">Lwt_io</a>]</td> <td><div class="info"> <code class="code">read_line ic</code> reads one complete line from <code class="code">ic</code> and returns it without the end of line. </div> </td></tr> <tr><td><a href="Lwt_read_line.Control.html#VALread_line">read_line</a> [<a href="Lwt_read_line.Control.html">Lwt_read_line.Control</a>]</td> <td></td></tr> <tr><td><a href="Lwt_read_line.html#VALread_line">read_line</a> [<a href="Lwt_read_line.html">Lwt_read_line</a>]</td> <td><div class="info"> <code class="code">readline ?history ?complete ?mode ?prompt ()</code> inputs some text from the user. </div> </td></tr> <tr><td><a href="Lwt_text.html#VALread_line">read_line</a> [<a href="Lwt_text.html">Lwt_text</a>]</td> <td></td></tr> <tr><td><a href="Lwt_io.html#VALread_line_opt">read_line_opt</a> [<a href="Lwt_io.html">Lwt_io</a>]</td> <td><div class="info"> Same as <a href="Lwt_io.html#VALread_line"><code class="code"><span class="constructor">Lwt_io</span>.read_line</code></a> but do not raise <code class="code"><span class="constructor">End_of_file</span></code> on end of input. </div> </td></tr> <tr><td><a href="Lwt_text.html#VALread_line_opt">read_line_opt</a> [<a href="Lwt_text.html">Lwt_text</a>]</td> <td></td></tr> <tr><td><a href="Lwt_io.html#VALread_lines">read_lines</a> [<a href="Lwt_io.html">Lwt_io</a>]</td> <td><div class="info"> <code class="code">read_lines ic</code> returns a stream holding all lines of <code class="code">ic</code> </div> </td></tr> <tr><td><a href="Lwt_text.html#VALread_lines">read_lines</a> [<a href="Lwt_text.html">Lwt_text</a>]</td> <td></td></tr> <tr><td><a href="Lwt_read_line.Control.html#VALread_password">read_password</a> [<a href="Lwt_read_line.Control.html">Lwt_read_line.Control</a>]</td> <td></td></tr> <tr><td><a href="Lwt_read_line.html#VALread_password">read_password</a> [<a href="Lwt_read_line.html">Lwt_read_line</a>]</td> <td><div class="info"> <code class="code">read_password ?clipboard ?clear ~prompt ()</code> inputs a password from the user. </div> </td></tr> <tr><td><a href="Lwt_io.html#VALread_value">read_value</a> [<a href="Lwt_io.html">Lwt_io</a>]</td> <td><div class="info"> <code class="code">read_value ic</code> reads a marshaled value from <code class="code">ic</code> </div> </td></tr> <tr><td><a href="Lwt_read_line.Control.html#VALread_yes_no">read_yes_no</a> [<a href="Lwt_read_line.Control.html">Lwt_read_line.Control</a>]</td> <td></td></tr> <tr><td><a href="Lwt_read_line.html#VALread_yes_no">read_yes_no</a> [<a href="Lwt_read_line.html">Lwt_read_line</a>]</td> <td><div class="info"> <code class="code">read_yes_no ?history ?dynamic prompt ()</code> is the same as: </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALreadable">readable</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Returns whether the given file descriptor is currently readable. </div> </td></tr> <tr><td><a href="Lwt_engine.html#VALreadable_count">readable_count</a> [<a href="Lwt_engine.html">Lwt_engine</a>]</td> <td><div class="info"> Returns the number of events waiting for a file descriptor to become readable. </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALreaddir">readdir</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Wrapper for <code class="code"><span class="constructor">Unix</span>.dir</code> </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALreaddir_n">readdir_n</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> <code class="code">readdir_n handle count</code> reads at most <code class="code">count</code> entry from the given directory. </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALreadlink">readlink</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Wrapper for <code class="code"><span class="constructor">Unix</span>.readlink</code> </div> </td></tr> <tr><td><a href="Lwt_chan.html#VALreally_input">really_input</a> [<a href="Lwt_chan.html">Lwt_chan</a>]</td> <td></td></tr> <tr><td><a href="Lwt_bytes.html#VALrecv">recv</a> [<a href="Lwt_bytes.html">Lwt_bytes</a>]</td> <td></td></tr> <tr><td><a href="Lwt_unix.html#VALrecv">recv</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Wrapper for <code class="code"><span class="constructor">Unix</span>.recv</code> </div> </td></tr> <tr><td><a href="Lwt_bytes.html#VALrecv_msg">recv_msg</a> [<a href="Lwt_bytes.html">Lwt_bytes</a>]</td> <td><div class="info"> This call is not available on windows. </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALrecv_msg">recv_msg</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> <code class="code">recv_msg ~socket ~io_vectors</code> receives data into a list of io-vectors, plus any file-descriptors that may accompany the message. </div> </td></tr> <tr><td><a href="Lwt_bytes.html#VALrecvfrom">recvfrom</a> [<a href="Lwt_bytes.html">Lwt_bytes</a>]</td> <td></td></tr> <tr><td><a href="Lwt_unix.html#VALrecvfrom">recvfrom</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Wrapper for <code class="code"><span class="constructor">Unix</span>.recvfrom</code> </div> </td></tr> <tr><td><a href="Lwt_term.html#VALred">red</a> [<a href="Lwt_term.html">Lwt_term</a>]</td> <td></td></tr> <tr><td><a href="Lwt_unix.html#VALregister_action">register_action</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> <code class="code">register_action set fd action</code> registers <code class="code">action</code> on <code class="code">fd</code>. </div> </td></tr> <tr><td><a href="Lwt.html#VALregister_pause_notifier">register_pause_notifier</a> [<a href="Lwt.html">Lwt</a>]</td> <td><div class="info"> <code class="code">register_pause_notifier f</code> register a function <code class="code">f</code> that will be called each time pause is called. </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALreinstall_signal_handler">reinstall_signal_handler</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> <code class="code">reinstall_signal_handler signum</code> if any signal handler is registered for this signal with <a href="Lwt_unix.html#VALon_signal"><code class="code"><span class="constructor">Lwt_unix</span>.on_signal</code></a>, it reinstall the signal handler (with <code class="code"><span class="constructor">Sys</span>.set_signal</code>). </div> </td></tr> <tr><td><a href="Lwt_glib.html#VALremove">remove</a> [<a href="Lwt_glib.html">Lwt_glib</a>]</td> <td><div class="info"> Remove the Glib<->Lwt integration. </div> </td></tr> <tr><td><a href="Lwt_sequence.html#VALremove">remove</a> [<a href="Lwt_sequence.html">Lwt_sequence</a>]</td> <td><div class="info"> Removes a node from the sequence it is part of. </div> </td></tr> <tr><td><a href="Lwt_pqueue.S.html#VALremove_min">remove_min</a> [<a href="Lwt_pqueue.S.html">Lwt_pqueue.S</a>]</td> <td></td></tr> <tr><td><a href="Lwt_unix.html#VALrename">rename</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Wrapper for <code class="code"><span class="constructor">Unix</span>.rename</code> </div> </td></tr> <tr><td><a href="Lwt_log.html#VALrender">render</a> [<a href="Lwt_log.html">Lwt_log</a>]</td> <td><div class="info"> <code class="code">render ~buffer ~template ~section ~level ~message</code> instantiate all variables of <code class="code">template</code>, and store the result in <code class="code">buffer</code>. </div> </td></tr> <tr><td><a href="Lwt_term.html#VALrender">render</a> [<a href="Lwt_term.html">Lwt_term</a>]</td> <td><div class="info"> Render an offscreen array to the terminal. </div> </td></tr> <tr><td><a href="Lwt_read_line.Control.html#VALrender_state">render_state</a> [<a href="Lwt_read_line.Control.html">Lwt_read_line.Control</a>]</td> <td><div class="info"> Return the rendering state of the given state </div> </td></tr> <tr><td><a href="Lwt_term.html#VALrender_update">render_update</a> [<a href="Lwt_term.html">Lwt_term</a>]</td> <td><div class="info"> <code class="code">render_update displayed to_display</code> does the same as <code class="code">render to_display</code> but assumes that <code class="code">displayed</code> contains the current displayed text. </div> </td></tr> <tr><td><a href="Lwt_read_line.Engine.html#VALreset">reset</a> [<a href="Lwt_read_line.Engine.html">Lwt_read_line.Engine</a>]</td> <td><div class="info"> <code class="code">reset state</code> reset the given state, if the user was doing a selection, it is canceled </div> </td></tr> <tr><td><a href="Lwt_term.html#VALreset">reset</a> [<a href="Lwt_term.html">Lwt_term</a>]</td> <td></td></tr> <tr><td><a href="Lwt_log.Section.html#VALreset_level">reset_level</a> [<a href="Lwt_log.Section.html">Lwt_log.Section</a>]</td> <td><div class="info"> <code class="code">reset_level section</code> resets the level of <code class="code">section</code> to its default value, i.e. </div> </td></tr> <tr><td><a href="Lwt_io.html#VALresize_buffer">resize_buffer</a> [<a href="Lwt_io.html">Lwt_io</a>]</td> <td><div class="info"> Resize the internal buffer to the given size </div> </td></tr> <tr><td><a href="Lwt_util.html#VALresize_region">resize_region</a> [<a href="Lwt_util.html">Lwt_util</a>]</td> <td><div class="info"> <code class="code">resize_region reg sz</code> resize the region <code class="code">reg</code> to size <code class="code">sz</code>. </div> </td></tr> <tr><td><a href="Lwt_read_line.Control.html#VALresult">result</a> [<a href="Lwt_read_line.Control.html">Lwt_read_line.Control</a>]</td> <td><div class="info"> Threads waiting for the read-line instance to terminates </div> </td></tr> <tr><td><a href="Lwt_react.S.html#VALreturn">return</a> [<a href="Lwt_react.S.html">Lwt_react.S</a>]</td> <td><div class="info"> Same as <code class="code">const</code>. </div> </td></tr> <tr><td><a href="Lwt_signal.html#VALreturn">return</a> [<a href="Lwt_signal.html">Lwt_signal</a>]</td> <td></td></tr> <tr><td><a href="Lwt.html#VALreturn">return</a> [<a href="Lwt.html">Lwt</a>]</td> <td><div class="info"> <code class="code">return e</code> is a thread whose return value is the value of the expression <code class="code">e</code>. </div> </td></tr> <tr><td><a href="Lwt.html#VALreturn_false">return_false</a> [<a href="Lwt.html">Lwt</a>]</td> <td><div class="info"> <code class="code">return_false = return <span class="keyword">false</span></code> </div> </td></tr> <tr><td><a href="Lwt.html#VALreturn_nil">return_nil</a> [<a href="Lwt.html">Lwt</a>]</td> <td><div class="info"> <code class="code">return_nil = return []</code> </div> </td></tr> <tr><td><a href="Lwt.html#VALreturn_none">return_none</a> [<a href="Lwt.html">Lwt</a>]</td> <td><div class="info"> <code class="code">return_none = return <span class="constructor">None</span></code> </div> </td></tr> <tr><td><a href="Lwt.html#VALreturn_true">return_true</a> [<a href="Lwt.html">Lwt</a>]</td> <td><div class="info"> <code class="code">return_true = return <span class="keyword">true</span></code> </div> </td></tr> <tr><td><a href="Lwt.html#VALreturn_unit">return_unit</a> [<a href="Lwt.html">Lwt</a>]</td> <td><div class="info"> <code class="code">return_unit = return ()</code> </div> </td></tr> <tr><td><a href="Lwt_list.html#VALrev_map_p">rev_map_p</a> [<a href="Lwt_list.html">Lwt_list</a>]</td> <td></td></tr> <tr><td><a href="Lwt_list.html#VALrev_map_s">rev_map_s</a> [<a href="Lwt_list.html">Lwt_list</a>]</td> <td></td></tr> <tr><td><a href="Lwt_unix.html#VALrewinddir">rewinddir</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Wrapper for <code class="code"><span class="constructor">Unix</span>.rewinddir</code> </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALrmdir">rmdir</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Wrapper for <code class="code"><span class="constructor">Unix</span>.rmdir</code> </div> </td></tr> <tr><td><a href="Lwt_main.html#VALrun">run</a> [<a href="Lwt_main.html">Lwt_main</a>]</td> <td><div class="info"> <code class="code">run t</code> calls the Lwt scheduler repeatedly until <code class="code">t</code> terminates, then returns the value returned by the thread. </div> </td></tr> <tr><td><a href="Lwt_preemptive.html#VALrun_in_main">run_in_main</a> [<a href="Lwt_preemptive.html">Lwt_preemptive</a>]</td> <td><div class="info"> <code class="code">run_in_main f</code> executes <code class="code">f</code> in the main thread, i.e. </div> </td></tr> <tr><td><a href="Lwt_util.html#VALrun_in_region">run_in_region</a> [<a href="Lwt_util.html">Lwt_util</a>]</td> <td><div class="info"> <code class="code">run_in_region reg size f</code> execute the thread produced by the function <code class="code">f</code> in the region <code class="code">reg</code>. </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALrun_job">run_job</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> <code class="code">run_job ?async_method job</code> starts <code class="code">job</code> and wait for its termination. </div> </td></tr> <tr><td><a href="Lwt_react.E.html#VALrun_p">run_p</a> [<a href="Lwt_react.E.html">Lwt_react.E</a>]</td> <td></td></tr> <tr><td><a href="Lwt_event.html#VALrun_p">run_p</a> [<a href="Lwt_event.html">Lwt_event</a>]</td> <td></td></tr> <tr><td><a href="Lwt_react.S.html#VALrun_s">run_s</a> [<a href="Lwt_react.S.html">Lwt_react.S</a>]</td> <td></td></tr> <tr><td><a href="Lwt_react.E.html#VALrun_s">run_s</a> [<a href="Lwt_react.E.html">Lwt_react.E</a>]</td> <td></td></tr> <tr><td><a href="Lwt_signal.html#VALrun_s">run_s</a> [<a href="Lwt_signal.html">Lwt_signal</a>]</td> <td></td></tr> <tr><td><a href="Lwt_event.html#VALrun_s">run_s</a> [<a href="Lwt_event.html">Lwt_event</a>]</td> <td></td></tr> <tr><td align="left"><br>S</td></tr> <tr><td><a href="Lwt_react.S.html#VALsample_s">sample_s</a> [<a href="Lwt_react.S.html">Lwt_react.S</a>]</td> <td></td></tr> <tr><td><a href="Lwt_signal.html#VALsample_s">sample_s</a> [<a href="Lwt_signal.html">Lwt_signal</a>]</td> <td></td></tr> <tr><td><a href="Lwt_read_line.html#VALsave_history">save_history</a> [<a href="Lwt_read_line.html">Lwt_read_line</a>]</td> <td><div class="info"> <code class="code">save_history filename history</code> saves <code class="code">history</code> to <code class="code">filename</code>. </div> </td></tr> <tr><td><a href="Lwt_bytes.html#VALsend">send</a> [<a href="Lwt_bytes.html">Lwt_bytes</a>]</td> <td></td></tr> <tr><td><a href="Lwt_unix.html#VALsend">send</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Wrapper for <code class="code"><span class="constructor">Unix</span>.send</code> </div> </td></tr> <tr><td><a href="Lwt_read_line.Control.html#VALsend_command">send_command</a> [<a href="Lwt_read_line.Control.html">Lwt_read_line.Control</a>]</td> <td><div class="info"> <code class="code">send_command instance command</code> sends the given command to the read-line instance </div> </td></tr> <tr><td><a href="Lwt_bytes.html#VALsend_msg">send_msg</a> [<a href="Lwt_bytes.html">Lwt_bytes</a>]</td> <td><div class="info"> This call is not available on windows. </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALsend_msg">send_msg</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> <code class="code">send_msg ~socket ~io_vectors ~fds</code> sends data from a list of io-vectors, accompanied with a list of file-descriptor. </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALsend_notification">send_notification</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> <code class="code">send_notification id</code> sends a notification. </div> </td></tr> <tr><td><a href="Lwt_bytes.html#VALsendto">sendto</a> [<a href="Lwt_bytes.html">Lwt_bytes</a>]</td> <td></td></tr> <tr><td><a href="Lwt_unix.html#VALsendto">sendto</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Wrapper for <code class="code"><span class="constructor">Unix</span>.sendto</code> </div> </td></tr> <tr><td><a href="Lwt_term.html#VALsequence_mapping">sequence_mapping</a> [<a href="Lwt_term.html">Lwt_term</a>]</td> <td><div class="info"> Mapping from sequence to keys </div> </td></tr> <tr><td><a href="Lwt_bytes.html#VALset">set</a> [<a href="Lwt_bytes.html">Lwt_bytes</a>]</td> <td><div class="info"> <code class="code">get buffer offset value</code> changes the value of the byte at offset <code class="code">offset</code> in <code class="code">buffer</code> to <code class="code">value</code>. </div> </td></tr> <tr><td><a href="Lwt_engine.html#VALset">set</a> [<a href="Lwt_engine.html">Lwt_engine</a>]</td> <td><div class="info"> <code class="code">set ?transfer ?destroy engine</code> replaces the current engine by the given one. </div> </td></tr> <tr><td><a href="Lwt_term.Draw.html#VALset">set</a> [<a href="Lwt_term.Draw.html">Lwt_term.Draw</a>]</td> <td><div class="info"> <code class="code">set ~zone ~x ~y ~popint</code> sets point at relative position <code class="code">x</code> and <code class="code">y</code>. </div> </td></tr> <tr><td><a href="Lwt_sequence.html#VALset">set</a> [<a href="Lwt_sequence.html">Lwt_sequence</a>]</td> <td><div class="info"> Change the contents of a node </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALset_affinity">set_affinity</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> <code class="code">set_affinity ?pid cpus</code> sets the list of CPUs the given process is allowed to run on. </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALset_blocking">set_blocking</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> <code class="code">set_blocking fd b</code> puts <code class="code">fd</code> in blocking or non-blocking mode. </div> </td></tr> <tr><td><a href="Lwt_preemptive.html#VALset_bounds">set_bounds</a> [<a href="Lwt_preemptive.html">Lwt_preemptive</a>]</td> <td><div class="info"> <code class="code">set_bounds (min, max)</code> set the minimum and the maximum number of preemptive threads. </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALset_close_on_exec">set_close_on_exec</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Wrapper for <code class="code"><span class="constructor">Unix</span>.set_close_on_exec</code> </div> </td></tr> <tr><td><a href="Lwt_term.html#VALset_color">set_color</a> [<a href="Lwt_term.html">Lwt_term</a>]</td> <td><div class="info"> <code class="code">set_color num (red, green, blue)</code> sets the three components of the color number <code class="code">num</code> </div> </td></tr> <tr><td><a href="Lwt_top.html#VALset_completion_mode">set_completion_mode</a> [<a href="Lwt_top.html">Lwt_top</a>]</td> <td><div class="info"> Change the completion mode </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALset_default_async_method">set_default_async_method</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Sets the default async method. </div> </td></tr> <tr><td><a href="Lwt_io.html#VALset_default_buffer_size">set_default_buffer_size</a> [<a href="Lwt_io.html">Lwt_io</a>]</td> <td><div class="info"> Change the default buffer size. </div> </td></tr> <tr><td><a href="Lwt_timeout.html#VALset_exn_handler">set_exn_handler</a> [<a href="Lwt_timeout.html">Lwt_timeout</a>]</td> <td><div class="info"> set the default handler for exception occurring after a timeout. </div> </td></tr> <tr><td><a href="Lwt_log.Section.html#VALset_level">set_level</a> [<a href="Lwt_log.Section.html">Lwt_log.Section</a>]</td> <td><div class="info"> <code class="code">set_level section</code> sets the logging level of the given section. </div> </td></tr> <tr><td><a href="Lwt_preemptive.html#VALset_max_number_of_threads_queued">set_max_number_of_threads_queued</a> [<a href="Lwt_preemptive.html">Lwt_preemptive</a>]</td> <td><div class="info"> Sets the size of the waiting queue, if no more preemptive threads are available. </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALset_notification">set_notification</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> <code class="code">set_notification id f</code> replace the function associated to the notification by <code class="code">f</code>. </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALset_pool_size">set_pool_size</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Change the size of the pool. </div> </td></tr> <tr><td><a href="Lwt_io.html#VALset_position">set_position</a> [<a href="Lwt_io.html">Lwt_io</a>]</td> <td><div class="info"> <code class="code">set_position ch pos</code> Sets the position in the output channel. </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALsetsockopt">setsockopt</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Wrapper for <code class="code"><span class="constructor">Unix</span>.setsockopt</code> </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALsetsockopt_float">setsockopt_float</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Wrapper for <code class="code"><span class="constructor">Unix</span>.setsockopt_float</code> </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALsetsockopt_int">setsockopt_int</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Wrapper for <code class="code"><span class="constructor">Unix</span>.setsockopt_int</code> </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALsetsockopt_optint">setsockopt_optint</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Wrapper for <code class="code"><span class="constructor">Unix</span>.setsockopt_optint</code> </div> </td></tr> <tr><td><a href="Lwt_process.html#VALshell">shell</a> [<a href="Lwt_process.html">Lwt_process</a>]</td> <td><div class="info"> A command executed with the shell. </div> </td></tr> <tr><td><a href="Lwt_read_line.Control.html#VALshow">show</a> [<a href="Lwt_read_line.Control.html">Lwt_read_line.Control</a>]</td> <td><div class="info"> Un-hide everything </div> </td></tr> <tr><td><a href="Lwt_term.html#VALshow_cursor">show_cursor</a> [<a href="Lwt_term.html">Lwt_term</a>]</td> <td><div class="info"> <code class="code">show_cursor ()</code> makes the cursor visible </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALshutdown">shutdown</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Wrapper for <code class="code"><span class="constructor">Unix</span>.shutdown</code> </div> </td></tr> <tr><td><a href="Lwt_ssl.html#VALshutdown">shutdown</a> [<a href="Lwt_ssl.html">Lwt_ssl</a>]</td> <td></td></tr> <tr><td><a href="Lwt_io.html#VALshutdown_server">shutdown_server</a> [<a href="Lwt_io.html">Lwt_io</a>]</td> <td><div class="info"> Shutdown the given server </div> </td></tr> <tr><td><a href="Lwt_condition.html#VALsignal">signal</a> [<a href="Lwt_condition.html">Lwt_condition</a>]</td> <td><div class="info"> <code class="code">signal condvar value</code> notifies that a condition is ready. </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALsignal_count">signal_count</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Returns the number of registered signal handler. </div> </td></tr> <tr><td><a href="Lwt_preemptive.html#VALsimple_init">simple_init</a> [<a href="Lwt_preemptive.html">Lwt_preemptive</a>]</td> <td><div class="info"> <code class="code">simple_init ()</code> does a <i>simple initialization</i>. </div> </td></tr> <tr><td><a href="Lwt_term.html#VALsize">size</a> [<a href="Lwt_term.html">Lwt_term</a>]</td> <td><div class="info"> Size of the terminal. </div> </td></tr> <tr><td><a href="Lwt_pqueue.S.html#VALsize">size</a> [<a href="Lwt_pqueue.S.html">Lwt_pqueue.S</a>]</td> <td></td></tr> <tr><td><a href="Lwt_unix.html#VALsleep">sleep</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> <code class="code">sleep d</code> is a threads which remain suspended for <code class="code">d</code> seconds and then terminates. </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALsocket">socket</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> <code class="code">socket domain <span class="keyword">type</span> proto</code> is the same as <code class="code"><span class="constructor">Unix</span>.socket</code> but maps the result into a lwt <b>file descriptor</b> </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALsocketpair">socketpair</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Wrapper for <code class="code"><span class="constructor">Unix</span>.socketpair</code> </div> </td></tr> <tr><td><a href="Lwt_ssl.html#VALssl_accept">ssl_accept</a> [<a href="Lwt_ssl.html">Lwt_ssl</a>]</td> <td></td></tr> <tr><td><a href="Lwt_ssl.html#VALssl_connect">ssl_connect</a> [<a href="Lwt_ssl.html">Lwt_ssl</a>]</td> <td></td></tr> <tr><td><a href="Lwt_ssl.html#VALssl_shutdown">ssl_shutdown</a> [<a href="Lwt_ssl.html">Lwt_ssl</a>]</td> <td></td></tr> <tr><td><a href="Lwt_ssl.html#VALssl_socket">ssl_socket</a> [<a href="Lwt_ssl.html">Lwt_ssl</a>]</td> <td><div class="info"> Returns the underlying SSL socket used for this wrapper. </div> </td></tr> <tr><td><a href="Lwt_term.html#VALstandard_input">standard_input</a> [<a href="Lwt_term.html">Lwt_term</a>]</td> <td><div class="info"> The input stream used by <a href="Lwt_term.html#VALread_key"><code class="code"><span class="constructor">Lwt_term</span>.read_key</code></a> </div> </td></tr> <tr><td><a href="Lwt_timeout.html#VALstart">start</a> [<a href="Lwt_timeout.html">Lwt_timeout</a>]</td> <td><div class="info"> starts a timeout. </div> </td></tr> <tr><td><a href="Lwt_unix.LargeFile.html#VALstat">stat</a> [<a href="Lwt_unix.LargeFile.html">Lwt_unix.LargeFile</a>]</td> <td><div class="info"> Wrapper for <code class="code"><span class="constructor">Unix</span>.<span class="constructor">LargeFile</span>.stat</code> </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALstat">stat</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Wrapper for <code class="code"><span class="constructor">Unix</span>.stat</code> </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALstate">state</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> <code class="code">state fd</code> returns the state of <code class="code">fd</code> </div> </td></tr> <tr><td><a href="Lwt.html#VALstate">state</a> [<a href="Lwt.html">Lwt</a>]</td> <td><div class="info"> <code class="code">state t</code> returns the state of a thread </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALstderr">stderr</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> The standard <b>file descriptor</b> for printing error messages </div> </td></tr> <tr><td><a href="Lwt_io.html#VALstderr">stderr</a> [<a href="Lwt_io.html">Lwt_io</a>]</td> <td><div class="info"> The standard output for error messages, it writes data to <a href="Lwt_unix.html#VALstderr"><code class="code"><span class="constructor">Lwt_unix</span>.stderr</code></a> </div> </td></tr> <tr><td><a href="Lwt_text.html#VALstderr">stderr</a> [<a href="Lwt_text.html">Lwt_text</a>]</td> <td></td></tr> <tr><td><a href="Lwt_unix.html#VALstdin">stdin</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> The standard <b>file descriptor</b> for input. </div> </td></tr> <tr><td><a href="Lwt_io.html#VALstdin">stdin</a> [<a href="Lwt_io.html">Lwt_io</a>]</td> <td><div class="info"> The standard input, it reads data from <a href="Lwt_unix.html#VALstdin"><code class="code"><span class="constructor">Lwt_unix</span>.stdin</code></a> </div> </td></tr> <tr><td><a href="Lwt_text.html#VALstdin">stdin</a> [<a href="Lwt_text.html">Lwt_text</a>]</td> <td></td></tr> <tr><td><a href="Lwt_unix.html#VALstdout">stdout</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> The standard <b>file descriptor</b> for output </div> </td></tr> <tr><td><a href="Lwt_io.html#VALstdout">stdout</a> [<a href="Lwt_io.html">Lwt_io</a>]</td> <td><div class="info"> The standard output, it writes data to <a href="Lwt_unix.html#VALstdout"><code class="code"><span class="constructor">Lwt_unix</span>.stdout</code></a> </div> </td></tr> <tr><td><a href="Lwt_text.html#VALstdout">stdout</a> [<a href="Lwt_text.html">Lwt_text</a>]</td> <td></td></tr> <tr><td><a href="Lwt_timeout.html#VALstop">stop</a> [<a href="Lwt_timeout.html">Lwt_timeout</a>]</td> <td><div class="info"> stops a timeout. </div> </td></tr> <tr><td><a href="Lwt_engine.html#VALstop_event">stop_event</a> [<a href="Lwt_engine.html">Lwt_engine</a>]</td> <td><div class="info"> <code class="code">stop_event event</code> stops the given event. </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALstop_notification">stop_notification</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Stop the given notification. </div> </td></tr> <tr><td><a href="Lwt_term.html#VALstring_of_key">string_of_key</a> [<a href="Lwt_term.html">Lwt_term</a>]</td> <td><div class="info"> <code class="code">string_of_key key</code> string representation of a key </div> </td></tr> <tr><td><a href="Lwt_term.html#VALstrip_styles">strip_styles</a> [<a href="Lwt_term.html">Lwt_term</a>]</td> <td><div class="info"> Drop all styles </div> </td></tr> <tr><td><a href="Lwt_term.html#VALstyled_length">styled_length</a> [<a href="Lwt_term.html">Lwt_term</a>]</td> <td><div class="info"> Returns the length (in unicode character) of the given styled text. </div> </td></tr> <tr><td><a href="Lwt_term.Zone.html#VALsub">sub</a> [<a href="Lwt_term.Zone.html">Lwt_term.Zone</a>]</td> <td><div class="info"> <code class="code">sub ~zone ~x ~y ~width ~height</code> creates a sub-zone of <code class="code">zone</code>. </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALsymlink">symlink</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Wrapper for <code class="code"><span class="constructor">Unix</span>.symlink</code> </div> </td></tr> <tr><td><a href="Lwt_log.html#VALsyslog">syslog</a> [<a href="Lwt_log.html">Lwt_log</a>]</td> <td><div class="info"> <code class="code">syslog ?template ?paths ~facility ()</code> creates an logger which send message to the system logger. </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALsystem">system</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Executes the given command, waits until it terminates, and return its termination status. </div> </td></tr> <tr><td><a href="Lwt_io.html#VALsystem_byte_order">system_byte_order</a> [<a href="Lwt_io.html">Lwt_io</a>]</td> <td><div class="info"> Same as <a href="Lwt_sys.html#VALbyte_order"><code class="code"><span class="constructor">Lwt_sys</span>.byte_order</code></a>. </div> </td></tr> <tr><td align="left"><br>T</td></tr> <tr><td><a href="Lwt_mvar.html#VALtake">take</a> [<a href="Lwt_mvar.html">Lwt_mvar</a>]</td> <td><div class="info"> <code class="code">take mvar</code> will take any currently available value from the mailbox variable. </div> </td></tr> <tr><td><a href="Lwt_sequence.html#VALtake_l">take_l</a> [<a href="Lwt_sequence.html">Lwt_sequence</a>]</td> <td><div class="info"> <code class="code">take_l x s</code> remove and returns the leftmost element of <code class="code">s</code> </div> </td></tr> <tr><td><a href="Lwt_sequence.html#VALtake_opt_l">take_opt_l</a> [<a href="Lwt_sequence.html">Lwt_sequence</a>]</td> <td><div class="info"> <code class="code">take_opt_l x s</code> remove and returns <code class="code"><span class="constructor">Some</span> x</code> where <code class="code">x</code> is the leftmost element of <code class="code">s</code> or <code class="code"><span class="constructor">None</span></code> if <code class="code">s</code> is empty </div> </td></tr> <tr><td><a href="Lwt_sequence.html#VALtake_opt_r">take_opt_r</a> [<a href="Lwt_sequence.html">Lwt_sequence</a>]</td> <td><div class="info"> <code class="code">take_opt_l x s</code> remove and returns <code class="code"><span class="constructor">Some</span> x</code> where <code class="code">x</code> is the rightmost element of <code class="code">s</code> or <code class="code"><span class="constructor">None</span></code> if <code class="code">s</code> is empty </div> </td></tr> <tr><td><a href="Lwt_sequence.html#VALtake_r">take_r</a> [<a href="Lwt_sequence.html">Lwt_sequence</a>]</td> <td><div class="info"> <code class="code">take_l x s</code> remove and returns the rightmost element of <code class="code">s</code> </div> </td></tr> <tr><td><a href="Lwt.html#VALtask">task</a> [<a href="Lwt.html">Lwt</a>]</td> <td><div class="info"> <code class="code">task ()</code> is the same as <code class="code">wait ()</code> except that threads created with <code class="code">task</code> can be canceled. </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALtcdrain">tcdrain</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Wrapper for <code class="code"><span class="constructor">Unix</span>.tcdrain</code> </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALtcflow">tcflow</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Wrapper for <code class="code"><span class="constructor">Unix</span>.tcflow</code> </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALtcflush">tcflush</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Wrapper for <code class="code"><span class="constructor">Unix</span>.tcflush</code> </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALtcgetattr">tcgetattr</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Wrapper for <code class="code"><span class="constructor">Unix</span>.tcgetattr</code> </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALtcsendbreak">tcsendbreak</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Wrapper for <code class="code"><span class="constructor">Unix</span>.tcsendbreak</code> </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALtcsetattr">tcsetattr</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Wrapper for <code class="code"><span class="constructor">Unix</span>.tcsetattr</code> </div> </td></tr> <tr><td><a href="Lwt_term.Draw.html#VALtext">text</a> [<a href="Lwt_term.Draw.html">Lwt_term.Draw</a>]</td> <td><div class="info"> Draw the given text at the given positon </div> </td></tr> <tr><td><a href="Lwt_term.html#VALtext">text</a> [<a href="Lwt_term.html">Lwt_term</a>]</td> <td></td></tr> <tr><td><a href="Lwt_term.Draw.html#VALtextc">textc</a> [<a href="Lwt_term.Draw.html">Lwt_term.Draw</a>]</td> <td><div class="info"> Same as <a href="Lwt_term.Draw.html#VALtext"><code class="code"><span class="constructor">Lwt_term</span>.<span class="constructor">Draw</span>.text</code></a> but takes a text with styles </div> </td></tr> <tr><td><a href="Lwt_term.Draw.html#VALtextf">textf</a> [<a href="Lwt_term.Draw.html">Lwt_term.Draw</a>]</td> <td><div class="info"> Same as <a href="Lwt_term.Draw.html#VALtext"><code class="code"><span class="constructor">Lwt_term</span>.<span class="constructor">Draw</span>.text</code></a> but uses a format string </div> </td></tr> <tr><td><a href="Lwt_term.html#VALtextf">textf</a> [<a href="Lwt_term.html">Lwt_term</a>]</td> <td><div class="info"> <code class="code">textf fmt</code> formats a texts with <code class="code">fmt</code> and returns <code class="code"><span class="constructor">Text</span> txt</code> </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALthread_count">thread_count</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> The number of system threads running (excluding this one). </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALthread_waiting_count">thread_waiting_count</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> The number threads waiting for a job. </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALtimeout">timeout</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> <code class="code">timeout d</code> is a thread which remains suspended for <code class="code">d</code> seconds then fails with <a href="Lwt_unix.html#EXCEPTIONTimeout"><code class="code"><span class="constructor">Lwt_unix</span>.<span class="constructor">Timeout</span></code></a> </div> </td></tr> <tr><td><a href="Lwt_engine.html#VALtimer_count">timer_count</a> [<a href="Lwt_engine.html">Lwt_engine</a>]</td> <td><div class="info"> Returns the number of registered timers. </div> </td></tr> <tr><td><a href="Lwt_stream.html#VALto_list">to_list</a> [<a href="Lwt_stream.html">Lwt_stream</a>]</td> <td><div class="info"> Returns the list of elements of the given stream </div> </td></tr> <tr><td><a href="Lwt_react.E.html#VALto_stream">to_stream</a> [<a href="Lwt_react.E.html">Lwt_react.E</a>]</td> <td><div class="info"> Creates a stream holding all values occurring on the given event </div> </td></tr> <tr><td><a href="Lwt_event.html#VALto_stream">to_stream</a> [<a href="Lwt_event.html">Lwt_event</a>]</td> <td></td></tr> <tr><td><a href="Lwt_bytes.html#VALto_string">to_string</a> [<a href="Lwt_bytes.html">Lwt_bytes</a>]</td> <td><div class="info"> <code class="code">to_string buf</code> returns a newly allocated string with the same contents as <code class="code">buf</code>. </div> </td></tr> <tr><td><a href="Lwt_read_line.Command.html#VALto_string">to_string</a> [<a href="Lwt_read_line.Command.html">Lwt_read_line.Command</a>]</td> <td><div class="info"> <code class="code">to_string cmd</code> returns a string representation of a command </div> </td></tr> <tr><td><a href="Lwt_stream.html#VALto_string">to_string</a> [<a href="Lwt_stream.html">Lwt_stream</a>]</td> <td><div class="info"> Returns the word composed of all characters of the given stream </div> </td></tr> <tr><td><a href="Lwt_sequence.html#VALtransfer_l">transfer_l</a> [<a href="Lwt_sequence.html">Lwt_sequence</a>]</td> <td><div class="info"> <code class="code">transfer_l s1 s2</code> removes all elements of <code class="code">s1</code> and add them at the left of <code class="code">s2</code>. </div> </td></tr> <tr><td><a href="Lwt_sequence.html#VALtransfer_r">transfer_r</a> [<a href="Lwt_sequence.html">Lwt_sequence</a>]</td> <td><div class="info"> <code class="code">transfer_r s1 s2</code> removes all elements of <code class="code">s1</code> and add them at the right of <code class="code">s2</code>. </div> </td></tr> <tr><td><a href="Lwt_unix.LargeFile.html#VALtruncate">truncate</a> [<a href="Lwt_unix.LargeFile.html">Lwt_unix.LargeFile</a>]</td> <td><div class="info"> Wrapper for <code class="code"><span class="constructor">Unix</span>.<span class="constructor">LargeFile</span>.truncate</code> </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALtruncate">truncate</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Wrapper for <code class="code"><span class="constructor">Unix</span>.truncate</code> </div> </td></tr> <tr><td><a href="Lwt.html#VALtry_bind">try_bind</a> [<a href="Lwt.html">Lwt</a>]</td> <td><div class="info"> <code class="code">try_bind t f g</code> behaves as <code class="code">bind (t ()) f</code> if <code class="code">t</code> does not fail. </div> </td></tr> <tr><td><a href="Lwt_switch.html#VALturn_off">turn_off</a> [<a href="Lwt_switch.html">Lwt_switch</a>]</td> <td><div class="info"> <code class="code">turn_off switch</code> turns off the switch. </div> </td></tr> <tr><td align="left"><br>U</td></tr> <tr><td><a href="Lwt_term.html#VALunderlined">underlined</a> [<a href="Lwt_term.html">Lwt_term</a>]</td> <td></td></tr> <tr><td><a href="Lwt_pqueue.S.html#VALunion">union</a> [<a href="Lwt_pqueue.S.html">Lwt_pqueue.S</a>]</td> <td></td></tr> <tr><td><a href="Lwt_unix.html#VALunix_file_descr">unix_file_descr</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Returns the underlying unix <b>file descriptor</b>. </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALunlink">unlink</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Wrapper for <code class="code"><span class="constructor">Unix</span>.unlink</code> </div> </td></tr> <tr><td><a href="Lwt_mutex.html#VALunlock">unlock</a> [<a href="Lwt_mutex.html">Lwt_mutex</a>]</td> <td><div class="info"> <code class="code">unlock mutex</code> unlock the mutex if no threads is waiting on it. </div> </td></tr> <tr><td><a href="Lwt_bytes.html#VALunsafe_blit">unsafe_blit</a> [<a href="Lwt_bytes.html">Lwt_bytes</a>]</td> <td><div class="info"> Same as <a href="Lwt_bytes.html#VALblit"><code class="code"><span class="constructor">Lwt_bytes</span>.blit</code></a> but without bound checking. </div> </td></tr> <tr><td><a href="Lwt_bytes.html#VALunsafe_blit_bytes_string">unsafe_blit_bytes_string</a> [<a href="Lwt_bytes.html">Lwt_bytes</a>]</td> <td><div class="info"> Same as <a href="Lwt_bytes.html#VALblit_bytes_string"><code class="code"><span class="constructor">Lwt_bytes</span>.blit_bytes_string</code></a> but without bound checking. </div> </td></tr> <tr><td><a href="Lwt_bytes.html#VALunsafe_blit_string_bytes">unsafe_blit_string_bytes</a> [<a href="Lwt_bytes.html">Lwt_bytes</a>]</td> <td><div class="info"> Same as <a href="Lwt_bytes.html#VALblit_string_bytes"><code class="code"><span class="constructor">Lwt_bytes</span>.blit_string_bytes</code></a> but without bound checking. </div> </td></tr> <tr><td><a href="Lwt_bytes.html#VALunsafe_fill">unsafe_fill</a> [<a href="Lwt_bytes.html">Lwt_bytes</a>]</td> <td><div class="info"> Same as <a href="Lwt_bytes.html#VALfill"><code class="code"><span class="constructor">Lwt_bytes</span>.fill</code></a> but without bound checking. </div> </td></tr> <tr><td><a href="Lwt_bytes.html#VALunsafe_get">unsafe_get</a> [<a href="Lwt_bytes.html">Lwt_bytes</a>]</td> <td><div class="info"> Same as <a href="Lwt_bytes.html#VALget"><code class="code"><span class="constructor">Lwt_bytes</span>.get</code></a> but without bound checking. </div> </td></tr> <tr><td><a href="Lwt_bytes.html#VALunsafe_set">unsafe_set</a> [<a href="Lwt_bytes.html">Lwt_bytes</a>]</td> <td><div class="info"> Same as <a href="Lwt_bytes.html#VALset"><code class="code"><span class="constructor">Lwt_bytes</span>.set</code></a> but without bound checking. </div> </td></tr> <tr><td><a href="Lwt_read_line.Engine.html#VALupdate">update</a> [<a href="Lwt_read_line.Engine.html">Lwt_read_line.Engine</a>]</td> <td><div class="info"> <code class="code">update ~state ?clipboard ~command ()</code> update an engine state by processing the given command. </div> </td></tr> <tr><td><a href="Lwt_pool.html#VALuse">use</a> [<a href="Lwt_pool.html">Lwt_pool</a>]</td> <td><div class="info"> <code class="code">use p f</code> takes one free member of the pool <code class="code">p</code> and gives it to the function <code class="code">f</code>. </div> </td></tr> <tr><td align="left"><br>W</td></tr> <tr><td><a href="Lwt_unix.html#VALwait">wait</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Wrapper for <code class="code"><span class="constructor">Unix</span>.wait</code> </div> </td></tr> <tr><td><a href="Lwt_throttle.S.html#VALwait">wait</a> [<a href="Lwt_throttle.S.html">Lwt_throttle.S</a>]</td> <td><div class="info"> </div> </td></tr> <tr><td><a href="Lwt.html#VALwait">wait</a> [<a href="Lwt.html">Lwt</a>]</td> <td><div class="info"> <code class="code">wait ()</code> is a pair of a thread which sleeps forever (unless it is resumed by one of the functions <code class="code">wakeup</code>, <code class="code">wakeup_exn</code> below) and the corresponding wakener. </div> </td></tr> <tr><td><a href="Lwt_condition.html#VALwait">wait</a> [<a href="Lwt_condition.html">Lwt_condition</a>]</td> <td><div class="info"> <code class="code">wait mutex condvar</code> will cause the current thread to block, awaiting notification for a condition variable, <code class="code">condvar</code>. </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALwait4">wait4</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> <code class="code">wait4 flags pid</code> returns <code class="code">(pid, status, rusage)</code> where <code class="code">(pid, status)</code> is the same result as <code class="code"><span class="constructor">Unix</span>.waitpid flags pid</code>, and <code class="code">rusage</code> contains accounting information about the child. </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALwait_count">wait_count</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Returns the number of threads waiting for a child to terminate. </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALwait_for_jobs">wait_for_jobs</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Wait for all pending jobs to terminate. </div> </td></tr> <tr><td><a href="Lwt_bytes.html#VALwait_mincore">wait_mincore</a> [<a href="Lwt_bytes.html">Lwt_bytes</a>]</td> <td><div class="info"> <code class="code">wait_mincore buffer offset</code> waits until the page containing the byte at offset <code class="code">offset</code> in the the RAM. </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALwait_read">wait_read</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> waits (without blocking other threads) until there is something to read on the file descriptor </div> </td></tr> <tr><td><a href="Lwt_ssl.html#VALwait_read">wait_read</a> [<a href="Lwt_ssl.html">Lwt_ssl</a>]</td> <td></td></tr> <tr><td><a href="Lwt_unix.html#VALwait_write">wait_write</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> waits (without blocking other threads) until it is possible to write on the file descriptor </div> </td></tr> <tr><td><a href="Lwt_ssl.html#VALwait_write">wait_write</a> [<a href="Lwt_ssl.html">Lwt_ssl</a>]</td> <td></td></tr> <tr><td><a href="Lwt.html#VALwaiter_of_wakener">waiter_of_wakener</a> [<a href="Lwt.html">Lwt</a>]</td> <td><div class="info"> Returns the thread associated to a wakener. </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALwaitpid">waitpid</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Wrapper for <code class="code"><span class="constructor">Unix</span>.waitpid</code> </div> </td></tr> <tr><td><a href="Lwt_glib.html#VALwakeup">wakeup</a> [<a href="Lwt_glib.html">Lwt_glib</a>]</td> <td><div class="info"> If one thread is blocking on <a href="Lwt_glib.html#VALiter"><code class="code"><span class="constructor">Lwt_glib</span>.iter</code></a>, then <code class="code">wakeup ()</code> make <a href="Lwt_glib.html#VALiter"><code class="code"><span class="constructor">Lwt_glib</span>.iter</code></a> to return immediatly. </div> </td></tr> <tr><td><a href="Lwt.html#VALwakeup">wakeup</a> [<a href="Lwt.html">Lwt</a>]</td> <td><div class="info"> <code class="code">wakeup t e</code> makes the sleeping thread <code class="code">t</code> terminate and return the value of the expression <code class="code">e</code>. </div> </td></tr> <tr><td><a href="Lwt.html#VALwakeup_exn">wakeup_exn</a> [<a href="Lwt.html">Lwt</a>]</td> <td><div class="info"> <code class="code">wakeup_exn t e</code> makes the sleeping thread <code class="code">t</code> fail with the exception <code class="code">e</code>. </div> </td></tr> <tr><td><a href="Lwt.html#VALwakeup_later">wakeup_later</a> [<a href="Lwt.html">Lwt</a>]</td> <td><div class="info"> Same as <a href="Lwt.html#VALwakeup"><code class="code"><span class="constructor">Lwt</span>.wakeup</code></a> but it is not guaranteed that the thread will be woken up immediately. </div> </td></tr> <tr><td><a href="Lwt.html#VALwakeup_later_exn">wakeup_later_exn</a> [<a href="Lwt.html">Lwt</a>]</td> <td><div class="info"> Same as <a href="Lwt.html#VALwakeup_exn"><code class="code"><span class="constructor">Lwt</span>.wakeup_exn</code></a> but it is not guaranteed that the thread will be woken up immediately. </div> </td></tr> <tr><td><a href="Lwt.html#VALwakeup_later_result">wakeup_later_result</a> [<a href="Lwt.html">Lwt</a>]</td> <td><div class="info"> Same as <a href="Lwt.html#VALwakeup_result"><code class="code"><span class="constructor">Lwt</span>.wakeup_result</code></a> but it is not guaranteed that the thread will be woken up immediately. </div> </td></tr> <tr><td><a href="Lwt.html#VALwakeup_paused">wakeup_paused</a> [<a href="Lwt.html">Lwt</a>]</td> <td><div class="info"> <code class="code">wakeup_paused ()</code> wakes up all threads which suspended themselves with <a href="Lwt.html#VALpause"><code class="code"><span class="constructor">Lwt</span>.pause</code></a>. </div> </td></tr> <tr><td><a href="Lwt.html#VALwakeup_result">wakeup_result</a> [<a href="Lwt.html">Lwt</a>]</td> <td><div class="info"> <code class="code">wakeup_result t r</code> makes the sleeping thread <code class="code">t</code> terminate with the result <code class="code">r</code>. </div> </td></tr> <tr><td><a href="Lwt_log.html#VALwarning">warning</a> [<a href="Lwt_log.html">Lwt_log</a>]</td> <td></td></tr> <tr><td><a href="Lwt_log.html#VALwarning_f">warning_f</a> [<a href="Lwt_log.html">Lwt_log</a>]</td> <td></td></tr> <tr><td><a href="Lwt_term.html#VALwhite">white</a> [<a href="Lwt_term.html">Lwt_term</a>]</td> <td></td></tr> <tr><td><a href="Lwt_term.Zone.html#VALwidth">width</a> [<a href="Lwt_term.Zone.html">Lwt_term.Zone</a>]</td> <td></td></tr> <tr><td><a href="Lwt_sys.html#VALwindows">windows</a> [<a href="Lwt_sys.html">Lwt_sys</a>]</td> <td><div class="info"> <code class="code"><span class="keyword">true</span></code> iff running on windows. </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALwith_async_detach">with_async_detach</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> <code class="code">with_async_none f</code> is a shorthand for: </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALwith_async_none">with_async_none</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> <code class="code">with_async_none f</code> is a shorthand for: </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALwith_async_switch">with_async_switch</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> <code class="code">with_async_none f</code> is a shorthand for: </div> </td></tr> <tr><td><a href="Lwt_io.html#VALwith_connection">with_connection</a> [<a href="Lwt_io.html">Lwt_io</a>]</td> <td><div class="info"> <code class="code">with_connection ?buffer_size ~mode addr f</code> open a connection to the given address and passes the channels to <code class="code">f</code> </div> </td></tr> <tr><td><a href="Lwt_io.html#VALwith_file">with_file</a> [<a href="Lwt_io.html">Lwt_io</a>]</td> <td><div class="info"> <code class="code">with_file ?buffer_size ?flags ?perm ~mode filename f</code> open a file and passes the channel to <code class="code">f</code>. </div> </td></tr> <tr><td><a href="Lwt_text.html#VALwith_file">with_file</a> [<a href="Lwt_text.html">Lwt_text</a>]</td> <td></td></tr> <tr><td><a href="Lwt_react.S.html#VALwith_finaliser">with_finaliser</a> [<a href="Lwt_react.S.html">Lwt_react.S</a>]</td> <td><div class="info"> <code class="code">with_finaliser f s</code> returns a signal <code class="code">s'</code> which behave as <code class="code">s</code>, except that <code class="code">f</code> is called when <code class="code">s'</code> is garbage collected. </div> </td></tr> <tr><td><a href="Lwt_react.E.html#VALwith_finaliser">with_finaliser</a> [<a href="Lwt_react.E.html">Lwt_react.E</a>]</td> <td><div class="info"> <code class="code">with_finaliser f e</code> returns an event <code class="code">e'</code> which behave as <code class="code">e</code>, except that <code class="code">f</code> is called when <code class="code">e'</code> is garbage collected. </div> </td></tr> <tr><td><a href="Lwt_signal.html#VALwith_finaliser">with_finaliser</a> [<a href="Lwt_signal.html">Lwt_signal</a>]</td> <td></td></tr> <tr><td><a href="Lwt_event.html#VALwith_finaliser">with_finaliser</a> [<a href="Lwt_event.html">Lwt_event</a>]</td> <td></td></tr> <tr><td><a href="Lwt_mutex.html#VALwith_lock">with_lock</a> [<a href="Lwt_mutex.html">Lwt_mutex</a>]</td> <td><div class="info"> <code class="code">with_lock lock f</code> is used to lock a mutex within a block scope. </div> </td></tr> <tr><td><a href="Lwt_process.html#VALwith_process">with_process</a> [<a href="Lwt_process.html">Lwt_process</a>]</td> <td></td></tr> <tr><td><a href="Lwt_process.html#VALwith_process_full">with_process_full</a> [<a href="Lwt_process.html">Lwt_process</a>]</td> <td></td></tr> <tr><td><a href="Lwt_process.html#VALwith_process_in">with_process_in</a> [<a href="Lwt_process.html">Lwt_process</a>]</td> <td></td></tr> <tr><td><a href="Lwt_process.html#VALwith_process_none">with_process_none</a> [<a href="Lwt_process.html">Lwt_process</a>]</td> <td></td></tr> <tr><td><a href="Lwt_process.html#VALwith_process_out">with_process_out</a> [<a href="Lwt_process.html">Lwt_process</a>]</td> <td></td></tr> <tr><td><a href="Lwt_term.html#VALwith_raw_mode">with_raw_mode</a> [<a href="Lwt_term.html">Lwt_term</a>]</td> <td><div class="info"> <code class="code">with_raw_mode f</code> executes <code class="code">f</code> while the terminal is in ``raw mode''. </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALwith_timeout">with_timeout</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> <code class="code">with_timeout d f</code> is a short-hand for: </div> </td></tr> <tr><td><a href="Lwt.html#VALwith_value">with_value</a> [<a href="Lwt.html">Lwt</a>]</td> <td><div class="info"> <code class="code">with_value key value f</code> executes <code class="code">f</code> with <code class="code">value</code> associated to <code class="code">key</code>. </div> </td></tr> <tr><td><a href="Lwt.html#VALwrap">wrap</a> [<a href="Lwt.html">Lwt</a>]</td> <td><div class="info"> <code class="code">wrap f</code> calls <code class="code">f</code> and transform the result into a monad. </div> </td></tr> <tr><td><a href="Lwt.html#VALwrap1">wrap1</a> [<a href="Lwt.html">Lwt</a>]</td> <td><div class="info"> <code class="code">wrap1 f x</code> applies <code class="code">f</code> on <code class="code">x</code> and returns the result as a thread. </div> </td></tr> <tr><td><a href="Lwt.html#VALwrap2">wrap2</a> [<a href="Lwt.html">Lwt</a>]</td> <td></td></tr> <tr><td><a href="Lwt.html#VALwrap3">wrap3</a> [<a href="Lwt.html">Lwt</a>]</td> <td></td></tr> <tr><td><a href="Lwt.html#VALwrap4">wrap4</a> [<a href="Lwt.html">Lwt</a>]</td> <td></td></tr> <tr><td><a href="Lwt.html#VALwrap5">wrap5</a> [<a href="Lwt.html">Lwt</a>]</td> <td></td></tr> <tr><td><a href="Lwt.html#VALwrap6">wrap6</a> [<a href="Lwt.html">Lwt</a>]</td> <td></td></tr> <tr><td><a href="Lwt.html#VALwrap7">wrap7</a> [<a href="Lwt.html">Lwt</a>]</td> <td></td></tr> <tr><td><a href="Lwt_unix.html#VALwrap_syscall">wrap_syscall</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> <code class="code">wrap_syscall set fd action</code> wrap an action on a <b>file descriptor</b>. </div> </td></tr> <tr><td><a href="Lwt_unix.html#VALwritable">writable</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> Returns whether the given file descriptor is currently writable. </div> </td></tr> <tr><td><a href="Lwt_engine.html#VALwritable_count">writable_count</a> [<a href="Lwt_engine.html">Lwt_engine</a>]</td> <td><div class="info"> Returns the number of events waiting for a file descriptor to become writable. </div> </td></tr> <tr><td><a href="Lwt_bytes.html#VALwrite">write</a> [<a href="Lwt_bytes.html">Lwt_bytes</a>]</td> <td></td></tr> <tr><td><a href="Lwt_unix.html#VALwrite">write</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> <code class="code">read fd buf ofs len</code> has the same semantic as <code class="code"><span class="constructor">Unix</span>.write</code>, but is cooperative </div> </td></tr> <tr><td><a href="Lwt_io.html#VALwrite">write</a> [<a href="Lwt_io.html">Lwt_io</a>]</td> <td><div class="info"> <code class="code">write oc str</code> writes all characters of <code class="code">str</code> on <code class="code">oc</code> </div> </td></tr> <tr><td><a href="Lwt_text.html#VALwrite">write</a> [<a href="Lwt_text.html">Lwt_text</a>]</td> <td></td></tr> <tr><td><a href="Lwt_ssl.html#VALwrite">write</a> [<a href="Lwt_ssl.html">Lwt_ssl</a>]</td> <td></td></tr> <tr><td><a href="Lwt_ssl.html#VALwrite_bytes">write_bytes</a> [<a href="Lwt_ssl.html">Lwt_ssl</a>]</td> <td></td></tr> <tr><td><a href="Lwt_io.html#VALwrite_char">write_char</a> [<a href="Lwt_io.html">Lwt_io</a>]</td> <td><div class="info"> <code class="code">write_char oc char</code> writes <code class="code">char</code> on <code class="code">oc</code> </div> </td></tr> <tr><td><a href="Lwt_text.html#VALwrite_char">write_char</a> [<a href="Lwt_text.html">Lwt_text</a>]</td> <td></td></tr> <tr><td><a href="Lwt_io.html#VALwrite_chars">write_chars</a> [<a href="Lwt_io.html">Lwt_io</a>]</td> <td><div class="info"> <code class="code">write_chars oc chars</code> writes all characters of <code class="code">chars</code> on <code class="code">oc</code> </div> </td></tr> <tr><td><a href="Lwt_text.html#VALwrite_chars">write_chars</a> [<a href="Lwt_text.html">Lwt_text</a>]</td> <td></td></tr> <tr><td><a href="Lwt_io.NumberIO.html#VALwrite_float32">write_float32</a> [<a href="Lwt_io.NumberIO.html">Lwt_io.NumberIO</a>]</td> <td><div class="info"> Writes an IEEE single precision floating point value </div> </td></tr> <tr><td><a href="Lwt_io.NumberIO.html#VALwrite_float64">write_float64</a> [<a href="Lwt_io.NumberIO.html">Lwt_io.NumberIO</a>]</td> <td><div class="info"> Writes an IEEE double precision floating point value </div> </td></tr> <tr><td><a href="Lwt_io.html#VALwrite_from">write_from</a> [<a href="Lwt_io.html">Lwt_io</a>]</td> <td><div class="info"> <code class="code">write_from oc buffer offset length</code> writes up to <code class="code">length</code> bytes to <code class="code">oc</code>, from <code class="code">buffer</code> at offset <code class="code">offset</code> and returns the number of bytes actually written </div> </td></tr> <tr><td><a href="Lwt_io.html#VALwrite_from_exactly">write_from_exactly</a> [<a href="Lwt_io.html">Lwt_io</a>]</td> <td><div class="info"> <code class="code">write_from_exactly oc buffer offset length</code> writes all <code class="code">length</code> bytes from <code class="code">buffer</code> at offset <code class="code">offset</code> to <code class="code">oc</code> </div> </td></tr> <tr><td><a href="Lwt_io.NumberIO.html#VALwrite_int">write_int</a> [<a href="Lwt_io.NumberIO.html">Lwt_io.NumberIO</a>]</td> <td><div class="info"> Writes an ocaml int as a 32-bits integer </div> </td></tr> <tr><td><a href="Lwt_io.NumberIO.html#VALwrite_int16">write_int16</a> [<a href="Lwt_io.NumberIO.html">Lwt_io.NumberIO</a>]</td> <td></td></tr> <tr><td><a href="Lwt_io.NumberIO.html#VALwrite_int32">write_int32</a> [<a href="Lwt_io.NumberIO.html">Lwt_io.NumberIO</a>]</td> <td></td></tr> <tr><td><a href="Lwt_io.NumberIO.html#VALwrite_int64">write_int64</a> [<a href="Lwt_io.NumberIO.html">Lwt_io.NumberIO</a>]</td> <td></td></tr> <tr><td><a href="Lwt_io.html#VALwrite_line">write_line</a> [<a href="Lwt_io.html">Lwt_io</a>]</td> <td><div class="info"> <code class="code">write_line oc str</code> writes <code class="code">str</code> on <code class="code">oc</code> followed by a new-line. </div> </td></tr> <tr><td><a href="Lwt_text.html#VALwrite_line">write_line</a> [<a href="Lwt_text.html">Lwt_text</a>]</td> <td></td></tr> <tr><td><a href="Lwt_io.html#VALwrite_lines">write_lines</a> [<a href="Lwt_io.html">Lwt_io</a>]</td> <td><div class="info"> <code class="code">write_lines oc lines</code> writes all lines of <code class="code">lines</code> to <code class="code">oc</code> </div> </td></tr> <tr><td><a href="Lwt_text.html#VALwrite_lines">write_lines</a> [<a href="Lwt_text.html">Lwt_text</a>]</td> <td></td></tr> <tr><td><a href="Lwt_term.html#VALwrite_styled">write_styled</a> [<a href="Lwt_term.html">Lwt_term</a>]</td> <td><div class="info"> <code class="code">write_styled oc st</code> writes <code class="code">st</code> on <code class="code">oc</code> using escape sequences. </div> </td></tr> <tr><td><a href="Lwt_io.html#VALwrite_value">write_value</a> [<a href="Lwt_io.html">Lwt_io</a>]</td> <td><div class="info"> <code class="code">write_value oc ?flags x</code> marshals the value <code class="code">x</code> to <code class="code">oc</code> </div> </td></tr> <tr><td align="left"><br>X</td></tr> <tr><td><a href="Lwt_term.Zone.html#VALx">x</a> [<a href="Lwt_term.Zone.html">Lwt_term.Zone</a>]</td> <td></td></tr> <tr><td align="left"><br>Y</td></tr> <tr><td><a href="Lwt_term.Zone.html#VALy">y</a> [<a href="Lwt_term.Zone.html">Lwt_term.Zone</a>]</td> <td></td></tr> <tr><td><a href="Lwt_term.html#VALyellow">yellow</a> [<a href="Lwt_term.html">Lwt_term</a>]</td> <td></td></tr> <tr><td><a href="Lwt_unix.html#VALyield">yield</a> [<a href="Lwt_unix.html">Lwt_unix</a>]</td> <td><div class="info"> <code class="code">yield ()</code> is a threads which suspends itself and then resumes as soon as possible and terminates. </div> </td></tr> <tr><td><a href="Lwt_main.html#VALyield">yield</a> [<a href="Lwt_main.html">Lwt_main</a>]</td> <td><div class="info"> <code class="code">yield ()</code> is a threads which suspends itself and then resumes as soon as possible and terminates. </div> </td></tr> <tr><td align="left"><br>Z</td></tr> <tr><td><a href="Lwt_io.html#VALzero">zero</a> [<a href="Lwt_io.html">Lwt_io</a>]</td> <td><div class="info"> Inputs which returns always <code class="code">'\x00'</code> </div> </td></tr> <tr><td><a href="Lwt_text.html#VALzero">zero</a> [<a href="Lwt_text.html">Lwt_text</a>]</td> <td></td></tr> </table> </body> </html>