uTools-Manuals/docs/php/ncurses_raw.html
2019-04-28 19:00:34 +08:00

50 lines
2.6 KiB
HTML

<!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>Switch terminal into raw mode</title>
</head>
<body class="docs"><div id="layout">
<div id="layout-content"><div id="function.ncurses-raw" class="refentry">
<div class="refnamediv">
<h1 class="refname">ncurses_raw</h1>
<p class="verinfo">(PHP 4 &gt;= 4.0.7, PHP 5 &lt; 5.3.0, PECL ncurses &gt;= 1.0.0)</p><p class="refpurpose"><span class="refname">ncurses_raw</span> &mdash; <span class="dc-title">Switch terminal into raw mode </span></p>
</div>
<div class="refsect1 description" id="refsect1-function.ncurses-raw-description">
<h3 class="title">说明</h3>
<div class="methodsynopsis dc-description">
<span class="methodname"><strong>ncurses_raw</strong></span>
( <span class="methodparam">void</span>
) : <span class="type">bool</span></div>
<div class="warning"><strong class="warning">Warning</strong><p class="simpara">此函数是<em class="emphasis">实验性</em>的。此函数的表象,包括名称及其相关文档都可能在未来的
PHP 发布版本中未通知就被修改。使用本函数风险自担 。</p></div>
<p class="para">
Places the terminal in raw mode. Raw mode is similar to cbreak mode, in
that characters typed are immediately passed through to the user program.
The difference is that in raw mode, the interrupt, quit, suspend
and flow control characters are all passed through uninterpreted, instead
of generating a signal.
</p>
</div>
<div class="refsect1 returnvalues" id="refsect1-function.ncurses-raw-returnvalues">
<h3 class="title">返回值</h3>
<p class="para">
Returns <strong><code>TRUE</code></strong> if any error occurred, otherwise <strong><code>FALSE</code></strong>.
</p>
</div>
<div class="refsect1 seealso" id="refsect1-function.ncurses-raw-seealso">
<h3 class="title">参见</h3>
<p class="para">
<ul class="simplelist">
<li class="member"><span class="function"><a href="ncurses_noraw.html" class="function" rel="rdfs-seeAlso">ncurses_noraw()</a> - Switch terminal out of raw mode</span></li>
<li class="member"><span class="function"><a href="ncurses_cbreak.html" class="function" rel="rdfs-seeAlso">ncurses_cbreak()</a> - Switch off input buffering</span></li>
<li class="member"><span class="function"><a href="ncurses_nocbreak.html" class="function" rel="rdfs-seeAlso">ncurses_nocbreak()</a> - Switch terminal to cooked mode</span></li>
</ul>
</p>
</div>
</div></div></div></body></html>