📄 wvline.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><html><head><!-- Copyright 1997 The Open Group, All Rights Reserved --><title>hline</title></head><body bgcolor=white><center><font size=2>The Single UNIX ® Specification, Version 2<br>Copyright © 1997 The Open Group</font></center><hr size=2 noshade><h4><a name = "tag_002_001_671"> </a>NAME</h4><blockquote>hline, mvhline, mvvline, mvwhline, mvwvline, vline, whline, wvline- draw lines from single-byte characters and renditions</blockquote><h4><a name = "tag_002_001_672"> </a>SYNOPSIS</h4><blockquote><pre><code>#include <<a href="curses.h.html">curses.h</a>>int hline(chtype <i>ch</i>, int <i>n</i>);int mvhline(int <i>y</i>, int <i>x</i>, chtype <i>ch</i>, int <i>n</i>);int mvvline(int <i>y</i>, int <i>x</i>, chtype <i>ch</i>, int <i>n</i>);int mvwhline(WINDOW *<i>win</i>, int <i>y</i>, int <i>x</i>, chtype <i>ch</i>, int <i>n</i>);int mvwvline(WINDOW *<i>win</i>, int <i>y</i>, int <i>x</i>, chtype <i>ch</i>, int <i>n</i>);int vline(chtype <i>ch</i>, int <i>n</i>);int whline(WINDOW *<i>win</i>, chtype <i>ch</i>, int <i>n</i>);int wvline(WINDOW *<i>win</i>, chtype <i>ch</i>, int <i>n</i>);</code></pre></blockquote><h4><a name = "tag_002_001_673"> </a>DESCRIPTION</h4><blockquote>These functions draw a line in the current or specified window starting at thecurrent or specified position, using <i>ch</i>. The line is at most <i>n</i>positions long, or as many as fit into the window.<p>These functions do not advance the cursor position.These functions do not perform special character processing.These functions do not perform wrapping.<p>The<i>hline()</i>,<i>mvhline()</i>,<i>mvwhline()</i>and<i>whline()</i>functions draw a line proceeding toward the last column of the same line.<p>The<i><a href="vline.html">vline()</a></i>,<i>mvvline()</i>,<i>mvwvline()</i>and<i>wvline()</i>functions draw a line proceeding toward the last line of the window.</blockquote><h4><a name = "tag_002_001_674"> </a>RETURN VALUE</h4><blockquote>Upon successful completion, these functions return OK.Otherwise, they return ERR.</blockquote><h4><a name = "tag_002_001_675"> </a>ERRORS</h4><blockquote>No errors are defined.</blockquote><h4><a name = "tag_002_001_676"> </a>APPLICATION USAGE</h4><blockquote>These functions are only guaranteed to operate reliably on character sets inwhich each character fits into a single byte, whose attributes can beexpressed using only constants with the A_ prefix.</blockquote><h4><a name = "tag_002_001_677"> </a>SEE ALSO</h4><blockquote><i><a href="border.html">border()</a></i>,<i><a href="box.html">box()</a></i>,<i><a href="hline_set.html">hline_set()</a></i>,<i><a href="curses.h.html"><curses.h></a></i>.</blockquote><hr size=2 noshade><center><font size=2>UNIX ® is a registered Trademark of The Open Group.<br>Copyright © 1997 The Open Group<br> [ <a href="../index.html">Main Index</a> | <a href="../xshix.html">XSH</a> | <a href="../xcuix.html">XCU</a> | <a href="../xbdix.html">XBD</a> | <a href="../cursesix.html">XCURSES</a> | <a href="../xnsix.html">XNS</a> ]</font></center><hr size=2 noshade></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -