<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>Discards the contents of the terminal's input buffer without waiting for additional input</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.newt-checkbox.html">newt_checkbox</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.newt-cls.html">newt_cls</a></div> <div class="up"><a href="ref.newt.html">Newt Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="function.newt-clear-key-buffer" class="refentry"> <div class="refnamediv"> <h1 class="refname">newt_clear_key_buffer</h1> <p class="verinfo">(PECL newt >= 0.1)</p><p class="refpurpose"><span class="refname">newt_clear_key_buffer</span> — <span class="dc-title">Discards the contents of the terminal's input buffer without waiting for additional input</span></p> </div> <div class="refsect1 description" id="refsect1-function.newt-clear-key-buffer-description"> <h3 class="title">Description</h3> <div class="methodsynopsis dc-description"> <span class="type"><span class="type void">void</span></span> <span class="methodname"><strong>newt_clear_key_buffer</strong></span> ( <span class="methodparam">void</span> )</div> <p class="para rdfs-comment"> Discards the contents of the terminal's input buffer without waiting for additional input. </p> </div> <div class="refsect1 returnvalues" id="refsect1-function.newt-clear-key-buffer-returnvalues"> <h3 class="title">Return Values</h3> <p class="para"> No value is returned. </p> </div> <div class="refsect1 seealso" id="refsect1-function.newt-clear-key-buffer-seealso"> <h3 class="title">See Also</h3> <p class="para"> <ul class="simplelist"> <li class="member"> <span class="function"><a href="function.newt-wait-for-key.html" class="function" rel="rdfs-seeAlso">newt_wait_for_key()</a> - Doesn't return until a key has been pressed</span></li> </ul> </p> </div> </div><hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.newt-checkbox.html">newt_checkbox</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.newt-cls.html">newt_cls</a></div> <div class="up"><a href="ref.newt.html">Newt Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>