📄 mvwinsstr.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><html><head><!-- Copyright 1997 The Open Group, All Rights Reserved --><title>insnstr</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_553"> </a>NAME</h4><blockquote>insnstr, insstr, mvinsnstr, mvinsstr, mvwinsnstr, mvwinsstr, winsnstr, winsstr- insert a multi-byte character string into a window</blockquote><h4><a name = "tag_002_001_554"> </a>SYNOPSIS</h4><blockquote><pre><code>#include <<a href="curses.h.html">curses.h</a>>int insnstr(const char *<i>str</i>, int <i>n</i>);int insstr(const char *<i>str</i>);int mvinsnstr(int <i>y</i>, int <i>x</i>, const char *<i>str</i>, int <i>n</i>);int mvinsstr(int <i>y</i>, int <i>x</i>, const char *<i>str</i>);int mvwinsnstr(WINDOW *<i>win</i>, int <i>y</i>, int <i>x</i>, const char *<i>str</i>, int <i>n</i>);int mvwinsstr(WINDOW *<i>win</i>, int <i>y</i>, int <i>x</i>, const char *<i>str</i>);int winsnstr(WINDOW *<i>win</i>, const char *<i>str</i>, int <i>n</i>);int winsstr(WINDOW *<i>win</i>, const char *<i>str</i>);</code></pre></blockquote><h4><a name = "tag_002_001_555"> </a>DESCRIPTION</h4><blockquote>These functions insert a character string (as many characters as will fit onthe line) before the current or specified position in the current or specifiedwindow.<p>These functions do not advance the cursor position. These functions performspecial-character processing. The<i>insnstr()</i>and<i>winsnstr()</i>functions perform wrapping. The<i><a href="insstr.html">insstr()</a></i>and<i>winsstr()</i>functions do not perform wrapping.<p>The<i>insnstr()</i>,<i>mvinsnstr()</i>,<i>mvwinsnstr()</i>and<i>winsnstr()</i>functions insertat most <i>n</i> bytes. If <i>n</i> is less than 1, the entirestring is inserted.</blockquote><h4><a name = "tag_002_001_556"> </a>RETURN VALUE</h4><blockquote>Upon successful completion, these functions return OK.Otherwise, they return ERR.</blockquote><h4><a name = "tag_002_001_557"> </a>ERRORS</h4><blockquote>No errors are defined.</blockquote><h4><a name = "tag_002_001_558"> </a>APPLICATION USAGE</h4><blockquote>Since the string may contain multi-byte characters, there might not be aone-to-one correspondence between the number of column positions occupiedby the characters and the number of bytes in the string.</blockquote><h4><a name = "tag_002_001_559"> </a>SEE ALSO</h4><blockquote><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 + -