Arranges a redirection such that writing to src or reading from src
will actually write to target or read from target
(i.e., the target descriptor is duplicated and replaces
the src descriptor just before the process is launched.)

If the last component of the glob expression matches only directories
because it ends with a literal / character, the value Some expr' is
returned where expr' matches the same path without the trailing /.

Configures signal and at_exit handlers for jobs: The keyboard signals SIGINT and SIGQUIT are forwarded to all jobs
which are running in the background (and thus are not
automatically notified) and want to get such signals (forward_signals)., The signals SIGTERM and SIGHUP are (if the handler is installed)
forwarded to all dependent processes (regardless whether they are
running in their own Unix process group or not, and regardless of
forward_signals)., The at_exit handler sends a SIGTERM to all dependent processes, too.
In previous versions of Ocamlnet it was also possible to configure
catch_sigchld to set whether a SIGCHLD handler is installed.

The input string that is encoded as in_enc is recoded to
out_enc, and the following characters are encoded as HTML
entity (&name; or &#num;): The ASCII characters contained in unsafe_chars, The characters that cannot be represented in out_enc. By
default (out_enc=`Enc_usascii), only ASCII characters can be
represented, and thus all code points >= 128 are encoded as
HTML entities. If you pass out_enc=`Enc_utf8, all characters
can be represented.
For example, the string "(a<b) & (c>d)" is encoded as
"(a&lt;b) &amp; (c&gt;d)".

Returns the Range header as `Bytes ranges, where the list ranges
has elements of the form (Some first_pos, Some last_pos),
(Some first_pos, None) (prefix range), or (None, Some
last_pos) (suffix range).

init pool_id n1 n2 f h:
Creates a matrix of the passed number of elements (n1 * n2),
and for getting the element at position k the function
f k is run, and the copy of the result is written to the
position.

This is a pollset implementation that works for sockets, and, named pipes as provided by Netsys_win32 (add the descriptors
returned by pipe_descr or pipe_server_descr to the pollset)
The number of descriptors that can be added to the pollset
has a quite low limit (usually 63 sockets or 31 pipes).

Converts the character sequence contained in the at most in_len bytes
of in_buf starting at byte position in_pos, and writes the result
into at most out_len bytes of out_buf starting at byte position
out_pos.

Create a new timer that will report expiration as given by the arg: TEXP_NONE: no notification, TEXP_EVENT e: the not_evente is signalled, TEXP_EVENT_CREATE: a special not_event is created for the timer.
(Get the event via timer_event, see below.), TEXP_SIGNAL n: the signal n is sent to the process
Note that TEXP_EVENT_CREATE is much faster on Linux than
TEXP_EVENT, because it can be avoided to start a new thread
whenever the timer expires.