📄 t_errno.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><html><head><!-- Copyright 1997 The Open Group, All Rights Reserved --><title>t_errno</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>NAME</h4><blockquote>t_errno - XTI error return value</blockquote><h4>SYNOPSIS</h4><blockquote><pre><code>#include <<a href="xti.h.html">xti.h</a>></code></pre></blockquote><h4>DESCRIPTION</h4><blockquote><I>t_errno</I>is used by XTI functions to return error values.<p>XTI functions provide an error number in <I>t_errno</I>which has type <I>int</I>and is defined in <i><a href="xti.h.html"><xti.h></a></i>.The value of <I>t_errno</I>will be defined onlyafter a call to a XTI function for which it is explicitlystated tobe set and until it is changed by the next XTI function call.The value of <I>t_errno</I>should only be examined when it is indicated tobe valid by a function's return value. Programs should obtainthe definition of <I>t_errno</I>by the inclusion of <i><a href="xti.h.html"><xti.h></a></i>.The practice of defining <I>t_errno</I>in program as <I>extern</I>in<I>t_errno</I>is obsolescent.No XTI function sets <I>t_errno</I>to 0 to indicate an error.<p>It is unspecified whether<I>t_errno</I>is a macro or an identifier with external linkage. It represents a modifiable <B>lvalue</B>of type<I>int</I>.If a macro definition is suppressed in order to access an actualobject or a program defines an identifier with name <I>t_errno</I>,the behavior is undefined.<p>The symbolic values stored in <I>t_errno</I>by an XTI function are definedin the<B>ERRORS</B>sections in all relevant XTI function definition pages.</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 + -