Files
hustoj/web/cppreference-zh/chmhelp/cpp-io-ios_base-seekdir.html
2025-08-01 12:57:54 +08:00

105 lines
4.5 KiB
HTML

<!DOCTYPE html>
<html lang="zh" dir="ltr" class="client-nojs" xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh">
<head><meta http-equiv="x-ua-compatible" content="ie=edge">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>std::ios_base::seekdir</title>
<link rel="stylesheet" href="ext.css" />
<link rel="stylesheet" href="site_modules.css" />
</head>
<body class="mediawiki ltr sitedir-ltr ns-0 ns-subject page-cpp_io_ios_base_seekdir skin-cppreference2 action-view cpp-navbar">
<div id="cpp-content-base">
<div id="content"><a id="top"></a>
<h1 id="firstHeading" class="firstHeading"><span style="font-size:0.7em; line-height:130%">std::ios_base::</span>seekdir</h1>
<div id="bodyContent">
<div id="contentSub"><span class="subpages">&lt; <a href="cpp.html">cpp</a>&lrm; | <a href="cpp-io.html">io</a>&lrm; | <a href="cpp-io-ios_base.html">ios base</a></span></div>
<div id="mw-content-text" lang="zh" dir="ltr" class="mw-content-ltr" xml:lang="zh">
<table class="t-dcl-begin">
<tbody>
<tr class="t-dcl">
<td class="t-dcl-nopad">
<div><span class="mw-geshi cpp source-cpp"><span class="kw1">typedef</span> <span class="coMULTI">/*implementation defined*/</span> seekdir<span class="sy4">;</span></span></div>
</td>
<td class="t-dcl-nopad"></td>
<td class="t-dcl-nopad"></td>
</tr>
<tr class="t-dcl">
<td class="t-dcl-nopad">
<div><span class="mw-geshi cpp source-cpp"><span class="kw4">static</span> <span class="kw4">constexpr</span> seekdir beg <span class="sy1">=</span> <span class="coMULTI">/*implementation defined*/</span><br /></span>
<p><span class="kw4">static</span> <span class="kw4">constexpr</span> seekdir end <span class="sy1">=</span> <span class="coMULTI">/*implementation defined*/</span><br /></p>
<span class="kw4">static</span> <span class="kw4">constexpr</span> seekdir cur <span class="sy1">=</span> <span class="coMULTI">/*implementation defined*/</span></div>
</td>
<td class="t-dcl-nopad"></td>
<td class="t-dcl-nopad"></td>
</tr>
<tr class="t-dcl-sep">
<td></td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
<p>&#25351;&#23450;&#25991;&#20214;&#23547;&#20301;&#26041;&#21521;&#31867;&#22411;&#12290;&#23450;&#20041;&#19979;&#21015;&#24120;&#37327;&#65306;</p>
<table class="t-dsc-begin">
<tr class="t-dsc-hitem">
<td>&#24120;&#37327;</td>
<td>&#35299;&#37322;</td>
</tr>
<tr class="t-dsc">
<td><strong class="selflink"><tt>beg</tt></strong></td>
<td>&#27969;&#30340;&#24320;&#22987;</td>
</tr>
<tr class="t-dsc">
<td><strong class="selflink"><tt>end</tt></strong></td>
<td>&#27969;&#30340;&#32467;&#23614;</td>
</tr>
<tr class="t-dsc">
<td><strong class="selflink"><tt>cur</tt></strong></td>
<td>&#27969;&#20301;&#32622;&#25351;&#31034;&#22120;&#30340;&#24403;&#21069;&#20301;&#32622;</td>
</tr>
</table>
<h3><span class="mw-headline" id=".E7.A4.BA.E4.BE.8B">&#31034;&#20363;</span></h3>
<table class="metadata plainlinks ambox mbox-small-left ambox-notice" style="">
<tr>
<td class="mbox-empty-cell"></td>
<td class="mbox-text" style="">&#26412;&#33410;&#26410;&#23436;&#25104;<br />
&#21407;&#22240;&#65306;&#26242;&#26080;&#31034;&#20363;</td>
</tr>
</table>
<h3><span class="mw-headline" id=".E5.8F.82.E9.98.85">&#21442;&#38405;</span></h3>
<table class="t-dsc-begin">
<tr class="t-dsc">
<td>
<div class="t-dsc-member-div">
<div><a href="cpp-io-basic_istream-seekg.html"><span class="t-lines"><span>seekg</span></span></a></div>
</div>
</td>
<td>&#35774;&#32622;&#36755;&#20837;&#20301;&#32622;&#25351;&#31034;&#22120;<br />
<span class="t-mark">(<code>std::basic_istream&lt;CharT,Traits&gt;</code> &#30340;&#20844;&#24320;&#25104;&#21592;&#20989;&#25968;)</span></td>
</tr>
<tr class="t-dsc">
<td>
<div class="t-dsc-member-div">
<div><a href="cpp-io-basic_ostream-seekp.html"><span class="t-lines"><span>seekp</span></span></a></div>
</div>
</td>
<td>&#35774;&#32622;&#36755;&#20986;&#20301;&#32622;&#25351;&#31034;&#22120;<br />
<span class="t-mark">(<code>std::basic_ostream&lt;CharT,Traits&gt;</code> &#30340;&#20844;&#24320;&#25104;&#21592;&#20989;&#25968;)</span></td>
</tr>
<tr class="t-dsc">
<td>
<div class="t-dsc-member-div">
<div><a href="cpp-io-basic_streambuf-pubseekoff.html"><span class="t-lines"><span>pubseekoff</span></span></a></div>
</div>
</td>
<td>&#35843;&#29992; <span class="t-c"><span class="mw-geshi cpp source-cpp">seekoff<span class="br0">(</span><span class="br0">)</span></span></span><br />
<span class="t-mark">(<code>std::basic_streambuf&lt;CharT,Traits&gt;</code> &#30340;&#20844;&#24320;&#25104;&#21592;&#20989;&#25968;)</span></td>
</tr>
</table>
</div>
<div class="visualClear"></div>
</div>
</div>
</div>
</body>
</html>