⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ucontext.h.html

📁 unix 下的C开发手册,还用详细的例程。
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><html><head><!-- Copyright 1997 The Open Group, All Rights Reserved --><title>&lt;ucontext.h&gt;</title></head><body bgcolor=white><center><font size=2>The Single UNIX &reg; Specification, Version 2<br>Copyright &copy; 1997 The Open Group</font></center><hr size=2 noshade><h4><a name = "tag_000_010_217">&nbsp;</a>NAME</h4><blockquote>ucontext - user context</blockquote><h4><a name = "tag_000_010_218">&nbsp;</a>SYNOPSIS</h4><blockquote><pre><code>#include &lt;ucontext.h&gt;</code></pre></blockquote><h4><a name = "tag_000_010_219">&nbsp;</a>DESCRIPTION</h4><blockquote>The<i>&lt;ucontext.h&gt;</i>header defines the<b>mcontext_t</b>type through<b>typedef</b>.<p>The<i>&lt;ucontext.h&gt;</i>header defines the<b>ucontext_t</b>type as a structure that includes at least the following members:<pre><code>ucontext_t *uc_link     pointer to the context that will be resumed                        when this context returnssigset_t    uc_sigmask  the set of signals that are blocked when this                        context is activestack_t     uc_stack    the stack used by this contextmcontext_t  uc_mcontext a machine-specific representation of the saved                        context</code></pre><p>The types<b>sigset_t</b>and<b>stack_t</b>are defined as in<i><a href="signal.h.html">&lt;signal.h&gt;</a></i>.<p>The following are declared as functions and may also be defined as macros,Function prototypes must be provided for use with an ISO Ccompiler.<pre><code>int  <a href="getcontext.html">getcontext</a>(ucontext_t *);int  <a href="setcontext.html">setcontext</a>(const ucontext_t *);void <a href="makecontext.html">makecontext</a>(ucontext_t *, (void *)(), int, ...);int  <a href="swapcontext.html">swapcontext</a>(ucontext_t *, const ucontext_t *);</code></pre></blockquote><h4><a name = "tag_000_010_220">&nbsp;</a>APPLICATION USAGE</h4><blockquote>None.</blockquote><h4><a name = "tag_000_010_221">&nbsp;</a>FUTURE DIRECTIONS</h4><blockquote>None.</blockquote><h4><a name = "tag_000_010_222">&nbsp;</a>SEE ALSO</h4><blockquote><i><a href="getcontext.html">getcontext()</a></i>,<i><a href="makecontext.html">makecontext()</a></i>,<i><a href="sigaction.html">sigaction()</a></i>,<i><a href="sigprocmask.html">sigprocmask()</a></i>,<i><a href="sigaltstack.html">sigaltstack()</a></i>,<i><a href="signal.h.html">&lt;signal.h&gt;</a></i>.</blockquote><hr size=2 noshade><center><font size=2>UNIX &reg; is a registered Trademark of The Open Group.<br>Copyright &copy; 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 + -