<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <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 rel="previous" href="ExtUnixSpecific.LargeFile.html"> <link rel="next" href="ExtUnixSpecific.Rlimit.html"> <link rel="Up" href="ExtUnixSpecific.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 modules" rel=Appendix href="index_modules.html"> <link title="ExtUnix" rel="Chapter" href="ExtUnix.html"> <link title="ExtUnixAll" rel="Chapter" href="ExtUnixAll.html"> <link title="ExtUnixSpecific" rel="Chapter" href="ExtUnixSpecific.html"><title>ExtUnixSpecific.Ioctl</title> </head> <body> <div class="navbar"><a class="pre" href="ExtUnixSpecific.LargeFile.html" title="ExtUnixSpecific.LargeFile">Previous</a> <a class="up" href="ExtUnixSpecific.html" title="ExtUnixSpecific">Up</a> <a class="post" href="ExtUnixSpecific.Rlimit.html" title="ExtUnixSpecific.Rlimit">Next</a> </div> <h1>Module <a href="type_ExtUnixSpecific.Ioctl.html">ExtUnixSpecific.Ioctl</a></h1> <pre><span class="keyword">module</span> Ioctl: <code class="code">sig</code> <a href="ExtUnixSpecific.Ioctl.html">..</a> <code class="code">end</code></pre><div class="info"> Control the underlying device parameters of special files<br> </div> <hr width="100%"> <pre><span id="VALsiocgifconf"><span class="keyword">val</span> siocgifconf</span> : <code class="type">sock:Unix.file_descr -> (string * string) list</code></pre><div class="info"> <code class="code">siocgifconf sock</code>, where <code class="code">sock</code> is any socket, e.g. <code class="code">socket PF_INET SOCK_DGRAM 0</code><br> <b>Returns</b> the list of interfaces and corresponfing addresses<br> </div> <pre><span id="VALcrtscts"><span class="keyword">val</span> crtscts</span> : <code class="type">Unix.file_descr -> int</code></pre><div class="info"> Enable RTS/CTS (hardware) flow control. See CRTSCTS in tcsetattr(3). <b>FIXME this is likely to disappear when separate interface for <code class="code">tcsetattr</code> and <code class="code">tcgetattr</code> gets implemented</b><br> </div> <pre><span id="VALtiocmget"><span class="keyword">val</span> tiocmget</span> : <code class="type">Unix.file_descr -> int</code></pre><div class="info"> Get the status of modem bits. See TIOCMGET in tty_ioctl(4).<br> </div> <pre><span id="VALtiocmset"><span class="keyword">val</span> tiocmset</span> : <code class="type">Unix.file_descr -> int -> unit</code></pre><div class="info"> Set the status of modem bits. See TIOCMSET in tty_ioctl(4).<br> </div> <pre><span id="VALtiocmbic"><span class="keyword">val</span> tiocmbic</span> : <code class="type">Unix.file_descr -> int -> unit</code></pre><div class="info"> Clear the indicated modem bits. See TIOCMBIC in tty_ioctl(4).<br> </div> <pre><span id="VALtiocmbis"><span class="keyword">val</span> tiocmbis</span> : <code class="type">Unix.file_descr -> int -> unit</code></pre><div class="info"> Set the indicated modem bits. See TIOCMBIS in tty_ioctl(4).<br> </div> </body></html>