uvw/classuvw_1_1FileReq.html
2021-08-23 15:35:37 +02:00

1197 lines
74 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>uvw: uvw::FileReq Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">uvw
&#160;<span id="projectnumber">2.10.0</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="namespaceuvw.html">uvw</a></li><li class="navelem"><a class="el" href="classuvw_1_1FileReq.html">FileReq</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classuvw_1_1FileReq-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">uvw::FileReq Class Reference<span class="mlabels"><span class="mlabel">final</span></span></div> </div>
</div><!--header-->
<div class="contents">
<p>The <a class="el" href="classuvw_1_1FileReq.html" title="The FileReq request.">FileReq</a> request.
<a href="classuvw_1_1FileReq.html#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="fs_8h_source.html">fs.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for uvw::FileReq:</div>
<div class="dyncontent">
<div class="center"><img src="classuvw_1_1FileReq__inherit__graph.png" border="0" usemap="#auvw_1_1FileReq_inherit__map" alt="Inheritance graph"/></div>
<map name="auvw_1_1FileReq_inherit__map" id="auvw_1_1FileReq_inherit__map">
<area shape="rect" title="The FileReq request." alt="" coords="105,319,200,345"/>
<area shape="rect" href="classuvw_1_1FsRequest.html" title=" " alt="" coords="61,244,244,271"/>
<area shape="rect" href="classuvw_1_1Request.html" title="Request base class." alt="" coords="79,169,226,196"/>
<area shape="rect" href="classuvw_1_1Resource.html" title="Common class for almost all the resources available in uvw." alt="" coords="75,95,230,121"/>
<area shape="rect" href="classuvw_1_1UnderlyingType.html" title="Wrapper class for underlying types." alt="" coords="5,5,145,47"/>
<area shape="rect" href="classuvw_1_1Emitter.html" title="Event emitter base class." alt="" coords="169,13,293,39"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for uvw::FileReq:</div>
<div class="dyncontent">
<div class="center"><img src="classuvw_1_1FileReq__coll__graph.png" border="0" usemap="#auvw_1_1FileReq_coll__map" alt="Collaboration graph"/></div>
<map name="auvw_1_1FileReq_coll__map" id="auvw_1_1FileReq_coll__map">
<area shape="rect" title="The FileReq request." alt="" coords="105,319,200,345"/>
<area shape="rect" href="classuvw_1_1FsRequest.html" title=" " alt="" coords="61,244,244,271"/>
<area shape="rect" href="classuvw_1_1Request.html" title="Request base class." alt="" coords="79,169,226,196"/>
<area shape="rect" href="classuvw_1_1Resource.html" title="Common class for almost all the resources available in uvw." alt="" coords="75,95,230,121"/>
<area shape="rect" href="classuvw_1_1UnderlyingType.html" title="Wrapper class for underlying types." alt="" coords="5,5,145,47"/>
<area shape="rect" href="classuvw_1_1Emitter.html" title="Event emitter base class." alt="" coords="169,13,293,39"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a88f20c4c68999e57e23eac208ff73a35"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classuvw_1_1FileReq.html#a88f20c4c68999e57e23eac208ff73a35">close</a> ()</td></tr>
<tr class="memdesc:a88f20c4c68999e57e23eac208ff73a35"><td class="mdescLeft">&#160;</td><td class="mdescRight">Async <a href="http://linux.die.net/man/2/close">close</a>. <a href="classuvw_1_1FileReq.html#a88f20c4c68999e57e23eac208ff73a35">More...</a><br /></td></tr>
<tr class="separator:a88f20c4c68999e57e23eac208ff73a35"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6a7a53cc446b7da0210bf38f1bbd64bf"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classuvw_1_1FileReq.html#a6a7a53cc446b7da0210bf38f1bbd64bf">closeSync</a> ()</td></tr>
<tr class="memdesc:a6a7a53cc446b7da0210bf38f1bbd64bf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sync <a href="http://linux.die.net/man/2/close">close</a>. <a href="classuvw_1_1FileReq.html#a6a7a53cc446b7da0210bf38f1bbd64bf">More...</a><br /></td></tr>
<tr class="separator:a6a7a53cc446b7da0210bf38f1bbd64bf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4dfec948227207d4aa1ccaeaf82c0301"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classuvw_1_1FileReq.html#a4dfec948227207d4aa1ccaeaf82c0301">open</a> (const std::string &amp;path, <a class="el" href="classuvw_1_1Flags.html">Flags</a>&lt; FileOpen &gt; flags, int mode)</td></tr>
<tr class="memdesc:a4dfec948227207d4aa1ccaeaf82c0301"><td class="mdescLeft">&#160;</td><td class="mdescRight">Async <a href="http://linux.die.net/man/2/open">open</a>. <a href="classuvw_1_1FileReq.html#a4dfec948227207d4aa1ccaeaf82c0301">More...</a><br /></td></tr>
<tr class="separator:a4dfec948227207d4aa1ccaeaf82c0301"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac885a919aa84cc8fa2237d3e83c92b32"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classuvw_1_1FileReq.html#ac885a919aa84cc8fa2237d3e83c92b32">openSync</a> (const std::string &amp;path, <a class="el" href="classuvw_1_1Flags.html">Flags</a>&lt; FileOpen &gt; flags, int mode)</td></tr>
<tr class="memdesc:ac885a919aa84cc8fa2237d3e83c92b32"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sync <a href="http://linux.die.net/man/2/open">open</a>. <a href="classuvw_1_1FileReq.html#ac885a919aa84cc8fa2237d3e83c92b32">More...</a><br /></td></tr>
<tr class="separator:ac885a919aa84cc8fa2237d3e83c92b32"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9eff819bdc6c56b9a05d6e3228e176fc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classuvw_1_1FileReq.html#a9eff819bdc6c56b9a05d6e3228e176fc">read</a> (int64_t offset, unsigned int len)</td></tr>
<tr class="memdesc:a9eff819bdc6c56b9a05d6e3228e176fc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Async <a href="http://linux.die.net/man/2/preadv">read</a>. <a href="classuvw_1_1FileReq.html#a9eff819bdc6c56b9a05d6e3228e176fc">More...</a><br /></td></tr>
<tr class="separator:a9eff819bdc6c56b9a05d6e3228e176fc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4455e109576e0c34859f450f0cccde7e"><td class="memItemLeft" align="right" valign="top">std::pair&lt; bool, std::pair&lt; std::unique_ptr&lt; const char[]&gt;, std::size_t &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classuvw_1_1FileReq.html#a4455e109576e0c34859f450f0cccde7e">readSync</a> (int64_t offset, unsigned int len)</td></tr>
<tr class="memdesc:a4455e109576e0c34859f450f0cccde7e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sync <a href="http://linux.die.net/man/2/preadv">read</a>. <a href="classuvw_1_1FileReq.html#a4455e109576e0c34859f450f0cccde7e">More...</a><br /></td></tr>
<tr class="separator:a4455e109576e0c34859f450f0cccde7e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab5ef91c4638b52af13a8a77a2343b413"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classuvw_1_1FileReq.html#ab5ef91c4638b52af13a8a77a2343b413">write</a> (std::unique_ptr&lt; char[]&gt; buf, unsigned int len, int64_t offset)</td></tr>
<tr class="memdesc:ab5ef91c4638b52af13a8a77a2343b413"><td class="mdescLeft">&#160;</td><td class="mdescRight">Async <a href="http://linux.die.net/man/2/pwritev">write</a>. <a href="classuvw_1_1FileReq.html#ab5ef91c4638b52af13a8a77a2343b413">More...</a><br /></td></tr>
<tr class="separator:ab5ef91c4638b52af13a8a77a2343b413"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa9e84393e87644e066be5625dec438ac"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classuvw_1_1FileReq.html#aa9e84393e87644e066be5625dec438ac">write</a> (char *buf, unsigned int len, int64_t offset)</td></tr>
<tr class="memdesc:aa9e84393e87644e066be5625dec438ac"><td class="mdescLeft">&#160;</td><td class="mdescRight">Async <a href="http://linux.die.net/man/2/pwritev">write</a>. <a href="classuvw_1_1FileReq.html#aa9e84393e87644e066be5625dec438ac">More...</a><br /></td></tr>
<tr class="separator:aa9e84393e87644e066be5625dec438ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a387579205e35a358c8f756424f165849"><td class="memItemLeft" align="right" valign="top">std::pair&lt; bool, std::size_t &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classuvw_1_1FileReq.html#a387579205e35a358c8f756424f165849">writeSync</a> (std::unique_ptr&lt; char[]&gt; buf, unsigned int len, int64_t offset)</td></tr>
<tr class="memdesc:a387579205e35a358c8f756424f165849"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sync <a href="http://linux.die.net/man/2/pwritev">write</a>. <a href="classuvw_1_1FileReq.html#a387579205e35a358c8f756424f165849">More...</a><br /></td></tr>
<tr class="separator:a387579205e35a358c8f756424f165849"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8946af1c2071a7fd89e79e3a3c9f409e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classuvw_1_1FileReq.html#a8946af1c2071a7fd89e79e3a3c9f409e">stat</a> ()</td></tr>
<tr class="memdesc:a8946af1c2071a7fd89e79e3a3c9f409e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Async <a href="http://linux.die.net/man/2/fstat">fstat</a>. <a href="classuvw_1_1FileReq.html#a8946af1c2071a7fd89e79e3a3c9f409e">More...</a><br /></td></tr>
<tr class="separator:a8946af1c2071a7fd89e79e3a3c9f409e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6d8b78f0fb64a8fee0e3a874f2dc2455"><td class="memItemLeft" align="right" valign="top">std::pair&lt; bool, <a class="el" href="namespaceuvw.html#ad3e2552cab7a68ba72e447f7656f01d7">Stat</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classuvw_1_1FileReq.html#a6d8b78f0fb64a8fee0e3a874f2dc2455">statSync</a> ()</td></tr>
<tr class="memdesc:a6d8b78f0fb64a8fee0e3a874f2dc2455"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sync <a href="http://linux.die.net/man/2/fstat">fstat</a>. <a href="classuvw_1_1FileReq.html#a6d8b78f0fb64a8fee0e3a874f2dc2455">More...</a><br /></td></tr>
<tr class="separator:a6d8b78f0fb64a8fee0e3a874f2dc2455"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a70356eb203b8617bc554ba0c37fa680f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classuvw_1_1FileReq.html#a70356eb203b8617bc554ba0c37fa680f">sync</a> ()</td></tr>
<tr class="memdesc:a70356eb203b8617bc554ba0c37fa680f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Async <a href="http://linux.die.net/man/2/fsync">fsync</a>. <a href="classuvw_1_1FileReq.html#a70356eb203b8617bc554ba0c37fa680f">More...</a><br /></td></tr>
<tr class="separator:a70356eb203b8617bc554ba0c37fa680f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a55c257e01bd448b09be66406ab43f165"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classuvw_1_1FileReq.html#a55c257e01bd448b09be66406ab43f165">syncSync</a> ()</td></tr>
<tr class="memdesc:a55c257e01bd448b09be66406ab43f165"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sync <a href="http://linux.die.net/man/2/fsync">fsync</a>. <a href="classuvw_1_1FileReq.html#a55c257e01bd448b09be66406ab43f165">More...</a><br /></td></tr>
<tr class="separator:a55c257e01bd448b09be66406ab43f165"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a23bc385a7ebdb6eb149b3311cb630ab3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classuvw_1_1FileReq.html#a23bc385a7ebdb6eb149b3311cb630ab3">datasync</a> ()</td></tr>
<tr class="memdesc:a23bc385a7ebdb6eb149b3311cb630ab3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Async <a href="http://linux.die.net/man/2/fdatasync">fdatasync</a>. <a href="classuvw_1_1FileReq.html#a23bc385a7ebdb6eb149b3311cb630ab3">More...</a><br /></td></tr>
<tr class="separator:a23bc385a7ebdb6eb149b3311cb630ab3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a99c13abb2aae436a94ce1d83affb7a6b"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classuvw_1_1FileReq.html#a99c13abb2aae436a94ce1d83affb7a6b">datasyncSync</a> ()</td></tr>
<tr class="memdesc:a99c13abb2aae436a94ce1d83affb7a6b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sync <a href="http://linux.die.net/man/2/fdatasync">fdatasync</a>. <a href="classuvw_1_1FileReq.html#a99c13abb2aae436a94ce1d83affb7a6b">More...</a><br /></td></tr>
<tr class="separator:a99c13abb2aae436a94ce1d83affb7a6b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a222bb36d1317171e08a13779a20f4239"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classuvw_1_1FileReq.html#a222bb36d1317171e08a13779a20f4239">truncate</a> (int64_t offset)</td></tr>
<tr class="memdesc:a222bb36d1317171e08a13779a20f4239"><td class="mdescLeft">&#160;</td><td class="mdescRight">Async <a href="http://linux.die.net/man/2/ftruncate">ftruncate</a>. <a href="classuvw_1_1FileReq.html#a222bb36d1317171e08a13779a20f4239">More...</a><br /></td></tr>
<tr class="separator:a222bb36d1317171e08a13779a20f4239"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a167e0932b8ad887e0f07299f3f05f9e8"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classuvw_1_1FileReq.html#a167e0932b8ad887e0f07299f3f05f9e8">truncateSync</a> (int64_t offset)</td></tr>
<tr class="memdesc:a167e0932b8ad887e0f07299f3f05f9e8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sync <a href="http://linux.die.net/man/2/ftruncate">ftruncate</a>. <a href="classuvw_1_1FileReq.html#a167e0932b8ad887e0f07299f3f05f9e8">More...</a><br /></td></tr>
<tr class="separator:a167e0932b8ad887e0f07299f3f05f9e8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9dc41646b349bafd6685b6690a181c09"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classuvw_1_1FileReq.html#a9dc41646b349bafd6685b6690a181c09">sendfile</a> (<a class="el" href="namespaceuvw.html#a02b7ef3b5a65b0bec1602ef434806a27">FileHandle</a> out, int64_t offset, std::size_t length)</td></tr>
<tr class="memdesc:a9dc41646b349bafd6685b6690a181c09"><td class="mdescLeft">&#160;</td><td class="mdescRight">Async <a href="http://linux.die.net/man/2/sendfile">sendfile</a>. <a href="classuvw_1_1FileReq.html#a9dc41646b349bafd6685b6690a181c09">More...</a><br /></td></tr>
<tr class="separator:a9dc41646b349bafd6685b6690a181c09"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0839e8352179af6604493aee4b69cb2d"><td class="memItemLeft" align="right" valign="top">std::pair&lt; bool, std::size_t &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classuvw_1_1FileReq.html#a0839e8352179af6604493aee4b69cb2d">sendfileSync</a> (<a class="el" href="namespaceuvw.html#a02b7ef3b5a65b0bec1602ef434806a27">FileHandle</a> out, int64_t offset, std::size_t length)</td></tr>
<tr class="memdesc:a0839e8352179af6604493aee4b69cb2d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sync <a href="http://linux.die.net/man/2/sendfile">sendfile</a>. <a href="classuvw_1_1FileReq.html#a0839e8352179af6604493aee4b69cb2d">More...</a><br /></td></tr>
<tr class="separator:a0839e8352179af6604493aee4b69cb2d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a24884d3d814759dcc079f29720b6056c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classuvw_1_1FileReq.html#a24884d3d814759dcc079f29720b6056c">chmod</a> (int mode)</td></tr>
<tr class="memdesc:a24884d3d814759dcc079f29720b6056c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Async <a href="http://linux.die.net/man/2/fchmod">fchmod</a>. <a href="classuvw_1_1FileReq.html#a24884d3d814759dcc079f29720b6056c">More...</a><br /></td></tr>
<tr class="separator:a24884d3d814759dcc079f29720b6056c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2c09c5b523f648fd77250d08689ba85c"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classuvw_1_1FileReq.html#a2c09c5b523f648fd77250d08689ba85c">chmodSync</a> (int mode)</td></tr>
<tr class="memdesc:a2c09c5b523f648fd77250d08689ba85c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sync <a href="http://linux.die.net/man/2/fchmod">fchmod</a>. <a href="classuvw_1_1FileReq.html#a2c09c5b523f648fd77250d08689ba85c">More...</a><br /></td></tr>
<tr class="separator:a2c09c5b523f648fd77250d08689ba85c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0be884fbd4ab4196af88e2954ef48b29"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classuvw_1_1FileReq.html#a0be884fbd4ab4196af88e2954ef48b29">futime</a> (Time atime, Time mtime)</td></tr>
<tr class="memdesc:a0be884fbd4ab4196af88e2954ef48b29"><td class="mdescLeft">&#160;</td><td class="mdescRight">Async <a href="http://linux.die.net/man/3/futimes">futime</a>. <a href="classuvw_1_1FileReq.html#a0be884fbd4ab4196af88e2954ef48b29">More...</a><br /></td></tr>
<tr class="separator:a0be884fbd4ab4196af88e2954ef48b29"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3287e0c4efc6827e2869214e9752a33c"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classuvw_1_1FileReq.html#a3287e0c4efc6827e2869214e9752a33c">futimeSync</a> (Time atime, Time mtime)</td></tr>
<tr class="memdesc:a3287e0c4efc6827e2869214e9752a33c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sync <a href="http://linux.die.net/man/3/futimes">futime</a>. <a href="classuvw_1_1FileReq.html#a3287e0c4efc6827e2869214e9752a33c">More...</a><br /></td></tr>
<tr class="separator:a3287e0c4efc6827e2869214e9752a33c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a522d13b83943aa9f6854f9f81b083c09"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classuvw_1_1FileReq.html#a522d13b83943aa9f6854f9f81b083c09">chown</a> (<a class="el" href="namespaceuvw.html#a01d13fc4b5d1b58c936fdbf15c4d0a10">Uid</a> uid, <a class="el" href="namespaceuvw.html#a82c74b9200b97f2e1668fe2719eef72e">Gid</a> gid)</td></tr>
<tr class="memdesc:a522d13b83943aa9f6854f9f81b083c09"><td class="mdescLeft">&#160;</td><td class="mdescRight">Async <a href="http://linux.die.net/man/2/fchown">fchown</a>. <a href="classuvw_1_1FileReq.html#a522d13b83943aa9f6854f9f81b083c09">More...</a><br /></td></tr>
<tr class="separator:a522d13b83943aa9f6854f9f81b083c09"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7480624e5ca058037e3fa987251b84da"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classuvw_1_1FileReq.html#a7480624e5ca058037e3fa987251b84da">chownSync</a> (<a class="el" href="namespaceuvw.html#a01d13fc4b5d1b58c936fdbf15c4d0a10">Uid</a> uid, <a class="el" href="namespaceuvw.html#a82c74b9200b97f2e1668fe2719eef72e">Gid</a> gid)</td></tr>
<tr class="memdesc:a7480624e5ca058037e3fa987251b84da"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sync <a href="http://linux.die.net/man/2/fchown">fchown</a>. <a href="classuvw_1_1FileReq.html#a7480624e5ca058037e3fa987251b84da">More...</a><br /></td></tr>
<tr class="separator:a7480624e5ca058037e3fa987251b84da"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af7206dc10429feb75d826d5c289c0856"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classuvw_1_1FileReq.html#af7206dc10429feb75d826d5c289c0856">operator FileHandle</a> () const noexcept</td></tr>
<tr class="memdesc:af7206dc10429feb75d826d5c289c0856"><td class="mdescLeft">&#160;</td><td class="mdescRight">Cast operator to FileHandle. <a href="classuvw_1_1FileReq.html#af7206dc10429feb75d826d5c289c0856">More...</a><br /></td></tr>
<tr class="separator:af7206dc10429feb75d826d5c289c0856"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classuvw_1_1Request"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classuvw_1_1Request')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classuvw_1_1Request.html">uvw::Request&lt; T, U &gt;</a></td></tr>
<tr class="memitem:a27f8819a0dff5c3bec4812409884c398 inherit pub_methods_classuvw_1_1Request"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classuvw_1_1Request.html#a27f8819a0dff5c3bec4812409884c398">cancel</a> ()</td></tr>
<tr class="memdesc:a27f8819a0dff5c3bec4812409884c398 inherit pub_methods_classuvw_1_1Request"><td class="mdescLeft">&#160;</td><td class="mdescRight">Cancels a pending request. <a href="classuvw_1_1Request.html#a27f8819a0dff5c3bec4812409884c398">More...</a><br /></td></tr>
<tr class="separator:a27f8819a0dff5c3bec4812409884c398 inherit pub_methods_classuvw_1_1Request"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8eb66ee3f2602eb89367167fb08f73e6 inherit pub_methods_classuvw_1_1Request"><td class="memItemLeft" align="right" valign="top">std::size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classuvw_1_1Request.html#a8eb66ee3f2602eb89367167fb08f73e6">size</a> () const noexcept</td></tr>
<tr class="memdesc:a8eb66ee3f2602eb89367167fb08f73e6 inherit pub_methods_classuvw_1_1Request"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the size of the underlying request type. <a href="classuvw_1_1Request.html#a8eb66ee3f2602eb89367167fb08f73e6">More...</a><br /></td></tr>
<tr class="separator:a8eb66ee3f2602eb89367167fb08f73e6 inherit pub_methods_classuvw_1_1Request"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classuvw_1_1Resource"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classuvw_1_1Resource')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classuvw_1_1Resource.html">uvw::Resource&lt; T, U &gt;</a></td></tr>
<tr class="memitem:a0d6bb9bf4bcdf98afc37d3d267178813 inherit pub_methods_classuvw_1_1Resource"><td class="memTemplParams" colspan="2">template&lt;typename R = void&gt; </td></tr>
<tr class="memitem:a0d6bb9bf4bcdf98afc37d3d267178813 inherit pub_methods_classuvw_1_1Resource"><td class="memTemplItemLeft" align="right" valign="top">std::shared_ptr&lt; R &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classuvw_1_1Resource.html#a0d6bb9bf4bcdf98afc37d3d267178813">data</a> () const</td></tr>
<tr class="memdesc:a0d6bb9bf4bcdf98afc37d3d267178813 inherit pub_methods_classuvw_1_1Resource"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets user-defined data. <code>uvw</code> won't use this field in any case. <a href="classuvw_1_1Resource.html#a0d6bb9bf4bcdf98afc37d3d267178813">More...</a><br /></td></tr>
<tr class="separator:a0d6bb9bf4bcdf98afc37d3d267178813 inherit pub_methods_classuvw_1_1Resource"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7f7b97267eb68d987d2f85b1161e55ee inherit pub_methods_classuvw_1_1Resource"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classuvw_1_1Resource.html#a7f7b97267eb68d987d2f85b1161e55ee">data</a> (std::shared_ptr&lt; void &gt; uData)</td></tr>
<tr class="memdesc:a7f7b97267eb68d987d2f85b1161e55ee inherit pub_methods_classuvw_1_1Resource"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets arbitrary data. <code>uvw</code> won't use this field in any case. <a href="classuvw_1_1Resource.html#a7f7b97267eb68d987d2f85b1161e55ee">More...</a><br /></td></tr>
<tr class="separator:a7f7b97267eb68d987d2f85b1161e55ee inherit pub_methods_classuvw_1_1Resource"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classuvw_1_1UnderlyingType"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classuvw_1_1UnderlyingType')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classuvw_1_1UnderlyingType.html">uvw::UnderlyingType&lt; T, U &gt;</a></td></tr>
<tr class="memitem:aab78fbfffb3c03d78aab515e605ecb18 inherit pub_methods_classuvw_1_1UnderlyingType"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classuvw_1_1Loop.html">Loop</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classuvw_1_1UnderlyingType.html#aab78fbfffb3c03d78aab515e605ecb18">loop</a> () const noexcept</td></tr>
<tr class="memdesc:aab78fbfffb3c03d78aab515e605ecb18 inherit pub_methods_classuvw_1_1UnderlyingType"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the loop from which the resource was originated. <a href="classuvw_1_1UnderlyingType.html#aab78fbfffb3c03d78aab515e605ecb18">More...</a><br /></td></tr>
<tr class="separator:aab78fbfffb3c03d78aab515e605ecb18 inherit pub_methods_classuvw_1_1UnderlyingType"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab2dddf23a571afb113c8b9c5e83f056f inherit pub_methods_classuvw_1_1UnderlyingType"><td class="memItemLeft" align="right" valign="top">const U *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classuvw_1_1UnderlyingType.html#ab2dddf23a571afb113c8b9c5e83f056f">raw</a> () const noexcept</td></tr>
<tr class="memdesc:ab2dddf23a571afb113c8b9c5e83f056f inherit pub_methods_classuvw_1_1UnderlyingType"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the underlying raw data structure. <a href="classuvw_1_1UnderlyingType.html#ab2dddf23a571afb113c8b9c5e83f056f">More...</a><br /></td></tr>
<tr class="separator:ab2dddf23a571afb113c8b9c5e83f056f inherit pub_methods_classuvw_1_1UnderlyingType"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a78ac17a623e508fa410453f8c17e5970 inherit pub_methods_classuvw_1_1UnderlyingType"><td class="memItemLeft" align="right" valign="top">U *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classuvw_1_1UnderlyingType.html#a78ac17a623e508fa410453f8c17e5970">raw</a> () noexcept</td></tr>
<tr class="memdesc:a78ac17a623e508fa410453f8c17e5970 inherit pub_methods_classuvw_1_1UnderlyingType"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the underlying raw data structure. <a href="classuvw_1_1UnderlyingType.html#a78ac17a623e508fa410453f8c17e5970">More...</a><br /></td></tr>
<tr class="separator:a78ac17a623e508fa410453f8c17e5970 inherit pub_methods_classuvw_1_1UnderlyingType"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classuvw_1_1Emitter"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classuvw_1_1Emitter')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classuvw_1_1Emitter.html">uvw::Emitter&lt; T &gt;</a></td></tr>
<tr class="memitem:af6ba3eecb542efbef8d62ae905d8a8cd inherit pub_methods_classuvw_1_1Emitter"><td class="memTemplParams" colspan="2">template&lt;typename E &gt; </td></tr>
<tr class="memitem:af6ba3eecb542efbef8d62ae905d8a8cd inherit pub_methods_classuvw_1_1Emitter"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="structuvw_1_1Emitter_1_1Connection.html">Connection</a>&lt; E &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classuvw_1_1Emitter.html#af6ba3eecb542efbef8d62ae905d8a8cd">on</a> (Listener&lt; E &gt; f)</td></tr>
<tr class="memdesc:af6ba3eecb542efbef8d62ae905d8a8cd inherit pub_methods_classuvw_1_1Emitter"><td class="mdescLeft">&#160;</td><td class="mdescRight">Registers a long-lived listener with the event emitter. <a href="classuvw_1_1Emitter.html#af6ba3eecb542efbef8d62ae905d8a8cd">More...</a><br /></td></tr>
<tr class="separator:af6ba3eecb542efbef8d62ae905d8a8cd inherit pub_methods_classuvw_1_1Emitter"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a79e4ed59b5bb5cdc5ee4b0dd71a38472 inherit pub_methods_classuvw_1_1Emitter"><td class="memTemplParams" colspan="2">template&lt;typename E &gt; </td></tr>
<tr class="memitem:a79e4ed59b5bb5cdc5ee4b0dd71a38472 inherit pub_methods_classuvw_1_1Emitter"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="structuvw_1_1Emitter_1_1Connection.html">Connection</a>&lt; E &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classuvw_1_1Emitter.html#a79e4ed59b5bb5cdc5ee4b0dd71a38472">once</a> (Listener&lt; E &gt; f)</td></tr>
<tr class="memdesc:a79e4ed59b5bb5cdc5ee4b0dd71a38472 inherit pub_methods_classuvw_1_1Emitter"><td class="mdescLeft">&#160;</td><td class="mdescRight">Registers a short-lived listener with the event emitter. <a href="classuvw_1_1Emitter.html#a79e4ed59b5bb5cdc5ee4b0dd71a38472">More...</a><br /></td></tr>
<tr class="separator:a79e4ed59b5bb5cdc5ee4b0dd71a38472 inherit pub_methods_classuvw_1_1Emitter"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4c98ab223b4367073d96c51ee3d6a0d1 inherit pub_methods_classuvw_1_1Emitter"><td class="memTemplParams" colspan="2">template&lt;typename E &gt; </td></tr>
<tr class="memitem:a4c98ab223b4367073d96c51ee3d6a0d1 inherit pub_methods_classuvw_1_1Emitter"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classuvw_1_1Emitter.html#a4c98ab223b4367073d96c51ee3d6a0d1">erase</a> (<a class="el" href="structuvw_1_1Emitter_1_1Connection.html">Connection</a>&lt; E &gt; conn) noexcept</td></tr>
<tr class="memdesc:a4c98ab223b4367073d96c51ee3d6a0d1 inherit pub_methods_classuvw_1_1Emitter"><td class="mdescLeft">&#160;</td><td class="mdescRight">Disconnects a listener from the event emitter. <a href="classuvw_1_1Emitter.html#a4c98ab223b4367073d96c51ee3d6a0d1">More...</a><br /></td></tr>
<tr class="separator:a4c98ab223b4367073d96c51ee3d6a0d1 inherit pub_methods_classuvw_1_1Emitter"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3d332776a2e35049549a723f35d88912 inherit pub_methods_classuvw_1_1Emitter"><td class="memTemplParams" colspan="2"><a id="a3d332776a2e35049549a723f35d88912"></a>
template&lt;typename E &gt; </td></tr>
<tr class="memitem:a3d332776a2e35049549a723f35d88912 inherit pub_methods_classuvw_1_1Emitter"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classuvw_1_1Emitter.html#a3d332776a2e35049549a723f35d88912">clear</a> () noexcept</td></tr>
<tr class="memdesc:a3d332776a2e35049549a723f35d88912 inherit pub_methods_classuvw_1_1Emitter"><td class="mdescLeft">&#160;</td><td class="mdescRight">Disconnects all the listeners for the given event type. <br /></td></tr>
<tr class="separator:a3d332776a2e35049549a723f35d88912 inherit pub_methods_classuvw_1_1Emitter"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6ff321dde35550bb40ab90a787b715cf inherit pub_methods_classuvw_1_1Emitter"><td class="memItemLeft" align="right" valign="top"><a id="a6ff321dde35550bb40ab90a787b715cf"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classuvw_1_1Emitter.html#a6ff321dde35550bb40ab90a787b715cf">clear</a> () noexcept</td></tr>
<tr class="memdesc:a6ff321dde35550bb40ab90a787b715cf inherit pub_methods_classuvw_1_1Emitter"><td class="mdescLeft">&#160;</td><td class="mdescRight">Disconnects all the listeners. <br /></td></tr>
<tr class="separator:a6ff321dde35550bb40ab90a787b715cf inherit pub_methods_classuvw_1_1Emitter"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2178cfdcc8b19baa6d7e1f950c7b65c4 inherit pub_methods_classuvw_1_1Emitter"><td class="memTemplParams" colspan="2">template&lt;typename E &gt; </td></tr>
<tr class="memitem:a2178cfdcc8b19baa6d7e1f950c7b65c4 inherit pub_methods_classuvw_1_1Emitter"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classuvw_1_1Emitter.html#a2178cfdcc8b19baa6d7e1f950c7b65c4">empty</a> () const noexcept</td></tr>
<tr class="memdesc:a2178cfdcc8b19baa6d7e1f950c7b65c4 inherit pub_methods_classuvw_1_1Emitter"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks if there are listeners registered for the specific event. <a href="classuvw_1_1Emitter.html#a2178cfdcc8b19baa6d7e1f950c7b65c4">More...</a><br /></td></tr>
<tr class="separator:a2178cfdcc8b19baa6d7e1f950c7b65c4 inherit pub_methods_classuvw_1_1Emitter"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af15516ea3df907e5e27512d05f64a1cd inherit pub_methods_classuvw_1_1Emitter"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classuvw_1_1Emitter.html#af15516ea3df907e5e27512d05f64a1cd">empty</a> () const noexcept</td></tr>
<tr class="memdesc:af15516ea3df907e5e27512d05f64a1cd inherit pub_methods_classuvw_1_1Emitter"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks if there are listeners registered with the event emitter. <a href="classuvw_1_1Emitter.html#af15516ea3df907e5e27512d05f64a1cd">More...</a><br /></td></tr>
<tr class="separator:af15516ea3df907e5e27512d05f64a1cd inherit pub_methods_classuvw_1_1Emitter"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_static_methods_classuvw_1_1UnderlyingType"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_classuvw_1_1UnderlyingType')"><img src="closed.png" alt="-"/>&#160;Static Public Member Functions inherited from <a class="el" href="classuvw_1_1UnderlyingType.html">uvw::UnderlyingType&lt; T, U &gt;</a></td></tr>
<tr class="memitem:aa711faff7e88895f769f66e8245bda73 inherit pub_static_methods_classuvw_1_1UnderlyingType"><td class="memTemplParams" colspan="2">template&lt;typename... Args&gt; </td></tr>
<tr class="memitem:aa711faff7e88895f769f66e8245bda73 inherit pub_static_methods_classuvw_1_1UnderlyingType"><td class="memTemplItemLeft" align="right" valign="top">static std::shared_ptr&lt; T &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classuvw_1_1UnderlyingType.html#aa711faff7e88895f769f66e8245bda73">create</a> (Args &amp;&amp;... args)</td></tr>
<tr class="memdesc:aa711faff7e88895f769f66e8245bda73 inherit pub_static_methods_classuvw_1_1UnderlyingType"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new resource of the given type. <a href="classuvw_1_1UnderlyingType.html#aa711faff7e88895f769f66e8245bda73">More...</a><br /></td></tr>
<tr class="separator:aa711faff7e88895f769f66e8245bda73 inherit pub_static_methods_classuvw_1_1UnderlyingType"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>The <a class="el" href="classuvw_1_1FileReq.html" title="The FileReq request.">FileReq</a> request. </p>
<p>Cross-platform sync and async filesystem operations.<br />
All file operations are run on the threadpool.</p>
<p>To create a <code><a class="el" href="classuvw_1_1FileReq.html" title="The FileReq request.">FileReq</a></code> through a <code><a class="el" href="classuvw_1_1Loop.html" title="The Loop class.">Loop</a></code>, no arguments are required.</p>
<p>See the official <a href="http://docs.libuv.org/en/v1.x/fs.html">documentation</a> for further details. </p>
<p class="definition">Definition at line <a class="el" href="fs_8h_source.html#l00436">436</a> of file <a class="el" href="fs_8h_source.html">fs.h</a>.</p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="a24884d3d814759dcc079f29720b6056c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a24884d3d814759dcc079f29720b6056c">&#9670;&nbsp;</a></span>chmod()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void uvw::FileReq::chmod </td>
<td>(</td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>mode</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Async <a href="http://linux.die.net/man/2/fchmod">fchmod</a>. </p>
<p>Emit a <code><a class="el" href="structuvw_1_1FsEvent.html" title="Default FsEvent event.">FsEvent</a>&lt;FileReq::Type::FCHMOD&gt;</code> event when completed.<br />
Emit an <a class="el" href="structuvw_1_1ErrorEvent.html" title="The ErrorEvent event.">ErrorEvent</a> event in case of errors.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">mode</td><td>Mode, as described in the official documentation. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a2c09c5b523f648fd77250d08689ba85c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2c09c5b523f648fd77250d08689ba85c">&#9670;&nbsp;</a></span>chmodSync()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool uvw::FileReq::chmodSync </td>
<td>(</td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>mode</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sync <a href="http://linux.die.net/man/2/fchmod">fchmod</a>. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">mode</td><td>Mode, as described in the official documentation. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>True in case of success, false otherwise. </dd></dl>
</div>
</div>
<a id="a522d13b83943aa9f6854f9f81b083c09"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a522d13b83943aa9f6854f9f81b083c09">&#9670;&nbsp;</a></span>chown()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void uvw::FileReq::chown </td>
<td>(</td>
<td class="paramtype"><a class="el" href="namespaceuvw.html#a01d13fc4b5d1b58c936fdbf15c4d0a10">Uid</a>&#160;</td>
<td class="paramname"><em>uid</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="namespaceuvw.html#a82c74b9200b97f2e1668fe2719eef72e">Gid</a>&#160;</td>
<td class="paramname"><em>gid</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Async <a href="http://linux.die.net/man/2/fchown">fchown</a>. </p>
<p>Emit a <code><a class="el" href="structuvw_1_1FsEvent.html" title="Default FsEvent event.">FsEvent</a>&lt;FileReq::Type::FCHOWN&gt;</code> event when completed.<br />
Emit an <a class="el" href="structuvw_1_1ErrorEvent.html" title="The ErrorEvent event.">ErrorEvent</a> event in case of errors.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">uid</td><td>UID, as described in the official documentation. </td></tr>
<tr><td class="paramname">gid</td><td>GID, as described in the official documentation. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a7480624e5ca058037e3fa987251b84da"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7480624e5ca058037e3fa987251b84da">&#9670;&nbsp;</a></span>chownSync()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool uvw::FileReq::chownSync </td>
<td>(</td>
<td class="paramtype"><a class="el" href="namespaceuvw.html#a01d13fc4b5d1b58c936fdbf15c4d0a10">Uid</a>&#160;</td>
<td class="paramname"><em>uid</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="namespaceuvw.html#a82c74b9200b97f2e1668fe2719eef72e">Gid</a>&#160;</td>
<td class="paramname"><em>gid</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sync <a href="http://linux.die.net/man/2/fchown">fchown</a>. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">uid</td><td>UID, as described in the official documentation. </td></tr>
<tr><td class="paramname">gid</td><td>GID, as described in the official documentation. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>True in case of success, false otherwise. </dd></dl>
</div>
</div>
<a id="a88f20c4c68999e57e23eac208ff73a35"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a88f20c4c68999e57e23eac208ff73a35">&#9670;&nbsp;</a></span>close()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void uvw::FileReq::close </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Async <a href="http://linux.die.net/man/2/close">close</a>. </p>
<p>Emit a <code><a class="el" href="structuvw_1_1FsEvent.html" title="Default FsEvent event.">FsEvent</a>&lt;FileReq::Type::CLOSE&gt;</code> event when completed.<br />
Emit an <a class="el" href="structuvw_1_1ErrorEvent.html" title="The ErrorEvent event.">ErrorEvent</a> event in case of errors. </p>
</div>
</div>
<a id="a6a7a53cc446b7da0210bf38f1bbd64bf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6a7a53cc446b7da0210bf38f1bbd64bf">&#9670;&nbsp;</a></span>closeSync()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool uvw::FileReq::closeSync </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sync <a href="http://linux.die.net/man/2/close">close</a>. </p>
<dl class="section return"><dt>Returns</dt><dd>True in case of success, false otherwise. </dd></dl>
</div>
</div>
<a id="a23bc385a7ebdb6eb149b3311cb630ab3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a23bc385a7ebdb6eb149b3311cb630ab3">&#9670;&nbsp;</a></span>datasync()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void uvw::FileReq::datasync </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Async <a href="http://linux.die.net/man/2/fdatasync">fdatasync</a>. </p>
<p>Emit a <code><a class="el" href="structuvw_1_1FsEvent.html" title="Default FsEvent event.">FsEvent</a>&lt;FileReq::Type::FDATASYNC&gt;</code> event when completed.<br />
Emit an <a class="el" href="structuvw_1_1ErrorEvent.html" title="The ErrorEvent event.">ErrorEvent</a> event in case of errors. </p>
</div>
</div>
<a id="a99c13abb2aae436a94ce1d83affb7a6b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a99c13abb2aae436a94ce1d83affb7a6b">&#9670;&nbsp;</a></span>datasyncSync()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool uvw::FileReq::datasyncSync </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sync <a href="http://linux.die.net/man/2/fdatasync">fdatasync</a>. </p>
<dl class="section return"><dt>Returns</dt><dd>True in case of success, false otherwise. </dd></dl>
</div>
</div>
<a id="a0be884fbd4ab4196af88e2954ef48b29"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0be884fbd4ab4196af88e2954ef48b29">&#9670;&nbsp;</a></span>futime()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void uvw::FileReq::futime </td>
<td>(</td>
<td class="paramtype">Time&#160;</td>
<td class="paramname"><em>atime</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">Time&#160;</td>
<td class="paramname"><em>mtime</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Async <a href="http://linux.die.net/man/3/futimes">futime</a>. </p>
<p>Emit a <code><a class="el" href="structuvw_1_1FsEvent.html" title="Default FsEvent event.">FsEvent</a>&lt;FileReq::Type::FUTIME&gt;</code> event when completed.<br />
Emit an <a class="el" href="structuvw_1_1ErrorEvent.html" title="The ErrorEvent event.">ErrorEvent</a> event in case of errors.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">atime</td><td><code>std::chrono::duration&lt;double&gt;</code>, having the same meaning as described in the official documentation. </td></tr>
<tr><td class="paramname">mtime</td><td><code>std::chrono::duration&lt;double&gt;</code>, having the same meaning as described in the official documentation. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a3287e0c4efc6827e2869214e9752a33c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3287e0c4efc6827e2869214e9752a33c">&#9670;&nbsp;</a></span>futimeSync()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool uvw::FileReq::futimeSync </td>
<td>(</td>
<td class="paramtype">Time&#160;</td>
<td class="paramname"><em>atime</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">Time&#160;</td>
<td class="paramname"><em>mtime</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sync <a href="http://linux.die.net/man/3/futimes">futime</a>. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">atime</td><td><code>std::chrono::duration&lt;double&gt;</code>, having the same meaning as described in the official documentation. </td></tr>
<tr><td class="paramname">mtime</td><td><code>std::chrono::duration&lt;double&gt;</code>, having the same meaning as described in the official documentation. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>True in case of success, false otherwise. </dd></dl>
</div>
</div>
<a id="a4dfec948227207d4aa1ccaeaf82c0301"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4dfec948227207d4aa1ccaeaf82c0301">&#9670;&nbsp;</a></span>open()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void uvw::FileReq::open </td>
<td>(</td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>path</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classuvw_1_1Flags.html">Flags</a>&lt; FileOpen &gt;&#160;</td>
<td class="paramname"><em>flags</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>mode</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Async <a href="http://linux.die.net/man/2/open">open</a>. </p>
<p>Emit a <code><a class="el" href="structuvw_1_1FsEvent.html" title="Default FsEvent event.">FsEvent</a>&lt;FileReq::Type::OPEN&gt;</code> event when completed.<br />
Emit an <a class="el" href="structuvw_1_1ErrorEvent.html" title="The ErrorEvent event.">ErrorEvent</a> event in case of errors.</p>
<p>Available flags are:</p>
<ul>
<li><code>FileReq::FileOpen::APPEND</code></li>
<li><code>FileReq::FileOpen::CREAT</code></li>
<li><code>FileReq::FileOpen::DIRECT</code></li>
<li><code>FileReq::FileOpen::DIRECTORY</code></li>
<li><code>FileReq::FileOpen::DSYNC</code></li>
<li><code>FileReq::FileOpen::EXCL</code></li>
<li><code>FileReq::FileOpen::EXLOCK</code></li>
<li><code>FileReq::FileOpen::FILEMAP</code></li>
<li><code>FileReq::FileOpen::NOATIME</code></li>
<li><code>FileReq::FileOpen::NOCTTY</code></li>
<li><code>FileReq::FileOpen::NOFOLLOW</code></li>
<li><code>FileReq::FileOpen::NONBLOCK</code></li>
<li><code>FileReq::FileOpen::RANDOM</code></li>
<li><code>FileReq::FileOpen::RDONLY</code></li>
<li><code>FileReq::FileOpen::RDWR</code></li>
<li><code>FileReq::FileOpen::SEQUENTIAL</code></li>
<li><code>FileReq::FileOpen::SHORT_LIVED</code></li>
<li><code>FileReq::FileOpen::SYMLINK</code></li>
<li><code>FileReq::FileOpen::SYNC</code></li>
<li><code>FileReq::FileOpen::TEMPORARY</code></li>
<li><code>FileReq::FileOpen::TRUNC</code></li>
<li><code>FileReq::FileOpen::WRONLY</code></li>
</ul>
<p>See the official <a href="http://docs.libuv.org/en/v1.x/fs.html#file-open-constants">documentation</a> for further details.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">path</td><td>A valid path name for a file. </td></tr>
<tr><td class="paramname">flags</td><td><a class="el" href="classuvw_1_1Flags.html" title="Utility class to handle flags.">Flags</a> made out of underlying constants. </td></tr>
<tr><td class="paramname">mode</td><td>Mode, as described in the official documentation. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="ac885a919aa84cc8fa2237d3e83c92b32"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac885a919aa84cc8fa2237d3e83c92b32">&#9670;&nbsp;</a></span>openSync()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool uvw::FileReq::openSync </td>
<td>(</td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>path</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classuvw_1_1Flags.html">Flags</a>&lt; FileOpen &gt;&#160;</td>
<td class="paramname"><em>flags</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>mode</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sync <a href="http://linux.die.net/man/2/open">open</a>. </p>
<p>Available flags are:</p>
<ul>
<li><code>FileReq::FileOpen::APPEND</code></li>
<li><code>FileReq::FileOpen::CREAT</code></li>
<li><code>FileReq::FileOpen::DIRECT</code></li>
<li><code>FileReq::FileOpen::DIRECTORY</code></li>
<li><code>FileReq::FileOpen::DSYNC</code></li>
<li><code>FileReq::FileOpen::EXCL</code></li>
<li><code>FileReq::FileOpen::EXLOCK</code></li>
<li><code>FileReq::FileOpen::FILEMAP</code></li>
<li><code>FileReq::FileOpen::NOATIME</code></li>
<li><code>FileReq::FileOpen::NOCTTY</code></li>
<li><code>FileReq::FileOpen::NOFOLLOW</code></li>
<li><code>FileReq::FileOpen::NONBLOCK</code></li>
<li><code>FileReq::FileOpen::RANDOM</code></li>
<li><code>FileReq::FileOpen::RDONLY</code></li>
<li><code>FileReq::FileOpen::RDWR</code></li>
<li><code>FileReq::FileOpen::SEQUENTIAL</code></li>
<li><code>FileReq::FileOpen::SHORT_LIVED</code></li>
<li><code>FileReq::FileOpen::SYMLINK</code></li>
<li><code>FileReq::FileOpen::SYNC</code></li>
<li><code>FileReq::FileOpen::TEMPORARY</code></li>
<li><code>FileReq::FileOpen::TRUNC</code></li>
<li><code>FileReq::FileOpen::WRONLY</code></li>
</ul>
<p>See the official <a href="http://docs.libuv.org/en/v1.x/fs.html#file-open-constants">documentation</a> for further details.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">path</td><td>A valid path name for a file. </td></tr>
<tr><td class="paramname">flags</td><td><a class="el" href="classuvw_1_1Flags.html" title="Utility class to handle flags.">Flags</a> made out of underlying constants. </td></tr>
<tr><td class="paramname">mode</td><td>Mode, as described in the official documentation. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>True in case of success, false otherwise. </dd></dl>
</div>
</div>
<a id="af7206dc10429feb75d826d5c289c0856"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af7206dc10429feb75d826d5c289c0856">&#9670;&nbsp;</a></span>operator FileHandle()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">uvw::FileReq::operator <a class="el" href="namespaceuvw.html#a02b7ef3b5a65b0bec1602ef434806a27">FileHandle</a> </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Cast operator to FileHandle. </p>
<p>Cast operator to an internal representation of the underlying file handle.</p>
<dl class="section return"><dt>Returns</dt><dd>A valid instance of FileHandle (the descriptor can be invalid). </dd></dl>
</div>
</div>
<a id="a9eff819bdc6c56b9a05d6e3228e176fc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9eff819bdc6c56b9a05d6e3228e176fc">&#9670;&nbsp;</a></span>read()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void uvw::FileReq::read </td>
<td>(</td>
<td class="paramtype">int64_t&#160;</td>
<td class="paramname"><em>offset</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">unsigned int&#160;</td>
<td class="paramname"><em>len</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Async <a href="http://linux.die.net/man/2/preadv">read</a>. </p>
<p>Emit a <code><a class="el" href="structuvw_1_1FsEvent.html" title="Default FsEvent event.">FsEvent</a>&lt;FileReq::Type::READ&gt;</code> event when completed.<br />
Emit an <a class="el" href="structuvw_1_1ErrorEvent.html" title="The ErrorEvent event.">ErrorEvent</a> event in case of errors.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">offset</td><td>Offset, as described in the official documentation. </td></tr>
<tr><td class="paramname">len</td><td>Length, as described in the official documentation. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a4455e109576e0c34859f450f0cccde7e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4455e109576e0c34859f450f0cccde7e">&#9670;&nbsp;</a></span>readSync()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::pair&lt;bool, std::pair&lt;std::unique_ptr&lt;const char[]&gt;, std::size_t&gt; &gt; uvw::FileReq::readSync </td>
<td>(</td>
<td class="paramtype">int64_t&#160;</td>
<td class="paramname"><em>offset</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">unsigned int&#160;</td>
<td class="paramname"><em>len</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sync <a href="http://linux.die.net/man/2/preadv">read</a>. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">offset</td><td>Offset, as described in the official documentation. </td></tr>
<tr><td class="paramname">len</td><td>Length, as described in the official documentation.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A <code>std::pair</code> composed as it follows:<ul>
<li>A boolean value that is true in case of success, false otherwise.</li>
<li>A <code>std::pair</code> composed as it follows:<ul>
<li>A bunch of data read from the given path.</li>
<li>The amount of data read from the given path. </li>
</ul>
</li>
</ul>
</dd></dl>
</div>
</div>
<a id="a9dc41646b349bafd6685b6690a181c09"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9dc41646b349bafd6685b6690a181c09">&#9670;&nbsp;</a></span>sendfile()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void uvw::FileReq::sendfile </td>
<td>(</td>
<td class="paramtype"><a class="el" href="namespaceuvw.html#a02b7ef3b5a65b0bec1602ef434806a27">FileHandle</a>&#160;</td>
<td class="paramname"><em>out</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int64_t&#160;</td>
<td class="paramname"><em>offset</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">std::size_t&#160;</td>
<td class="paramname"><em>length</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Async <a href="http://linux.die.net/man/2/sendfile">sendfile</a>. </p>
<p>Emit a <code><a class="el" href="structuvw_1_1FsEvent.html" title="Default FsEvent event.">FsEvent</a>&lt;FileReq::Type::SENDFILE&gt;</code> event when completed.<br />
Emit an <a class="el" href="structuvw_1_1ErrorEvent.html" title="The ErrorEvent event.">ErrorEvent</a> event in case of errors.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">out</td><td>A valid instance of FileHandle. </td></tr>
<tr><td class="paramname">offset</td><td>Offset, as described in the official documentation. </td></tr>
<tr><td class="paramname">length</td><td>Length, as described in the official documentation. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a0839e8352179af6604493aee4b69cb2d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0839e8352179af6604493aee4b69cb2d">&#9670;&nbsp;</a></span>sendfileSync()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::pair&lt;bool, std::size_t&gt; uvw::FileReq::sendfileSync </td>
<td>(</td>
<td class="paramtype"><a class="el" href="namespaceuvw.html#a02b7ef3b5a65b0bec1602ef434806a27">FileHandle</a>&#160;</td>
<td class="paramname"><em>out</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int64_t&#160;</td>
<td class="paramname"><em>offset</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">std::size_t&#160;</td>
<td class="paramname"><em>length</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sync <a href="http://linux.die.net/man/2/sendfile">sendfile</a>. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">out</td><td>A valid instance of FileHandle. </td></tr>
<tr><td class="paramname">offset</td><td>Offset, as described in the official documentation. </td></tr>
<tr><td class="paramname">length</td><td>Length, as described in the official documentation.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A <code>std::pair</code> composed as it follows:<ul>
<li>A boolean value that is true in case of success, false otherwise.</li>
<li>The amount of data transferred. </li>
</ul>
</dd></dl>
</div>
</div>
<a id="a8946af1c2071a7fd89e79e3a3c9f409e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8946af1c2071a7fd89e79e3a3c9f409e">&#9670;&nbsp;</a></span>stat()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void uvw::FileReq::stat </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Async <a href="http://linux.die.net/man/2/fstat">fstat</a>. </p>
<p>Emit a <code><a class="el" href="structuvw_1_1FsEvent.html" title="Default FsEvent event.">FsEvent</a>&lt;FileReq::Type::FSTAT&gt;</code> event when completed.<br />
Emit an <a class="el" href="structuvw_1_1ErrorEvent.html" title="The ErrorEvent event.">ErrorEvent</a> event in case of errors. </p>
</div>
</div>
<a id="a6d8b78f0fb64a8fee0e3a874f2dc2455"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6d8b78f0fb64a8fee0e3a874f2dc2455">&#9670;&nbsp;</a></span>statSync()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::pair&lt;bool, <a class="el" href="namespaceuvw.html#ad3e2552cab7a68ba72e447f7656f01d7">Stat</a>&gt; uvw::FileReq::statSync </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sync <a href="http://linux.die.net/man/2/fstat">fstat</a>. </p>
<dl class="section return"><dt>Returns</dt><dd>A <code>std::pair</code> composed as it follows:<ul>
<li>A boolean value that is true in case of success, false otherwise.</li>
<li>An initialized instance of Stat. </li>
</ul>
</dd></dl>
</div>
</div>
<a id="a70356eb203b8617bc554ba0c37fa680f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a70356eb203b8617bc554ba0c37fa680f">&#9670;&nbsp;</a></span>sync()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void uvw::FileReq::sync </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Async <a href="http://linux.die.net/man/2/fsync">fsync</a>. </p>
<p>Emit a <code><a class="el" href="structuvw_1_1FsEvent.html" title="Default FsEvent event.">FsEvent</a>&lt;FileReq::Type::FSYNC&gt;</code> event when completed.<br />
Emit an <a class="el" href="structuvw_1_1ErrorEvent.html" title="The ErrorEvent event.">ErrorEvent</a> event in case of errors. </p>
</div>
</div>
<a id="a55c257e01bd448b09be66406ab43f165"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a55c257e01bd448b09be66406ab43f165">&#9670;&nbsp;</a></span>syncSync()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool uvw::FileReq::syncSync </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sync <a href="http://linux.die.net/man/2/fsync">fsync</a>. </p>
<dl class="section return"><dt>Returns</dt><dd>True in case of success, false otherwise. </dd></dl>
</div>
</div>
<a id="a222bb36d1317171e08a13779a20f4239"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a222bb36d1317171e08a13779a20f4239">&#9670;&nbsp;</a></span>truncate()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void uvw::FileReq::truncate </td>
<td>(</td>
<td class="paramtype">int64_t&#160;</td>
<td class="paramname"><em>offset</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Async <a href="http://linux.die.net/man/2/ftruncate">ftruncate</a>. </p>
<p>Emit a <code><a class="el" href="structuvw_1_1FsEvent.html" title="Default FsEvent event.">FsEvent</a>&lt;FileReq::Type::FTRUNCATE&gt;</code> event when completed.<br />
Emit an <a class="el" href="structuvw_1_1ErrorEvent.html" title="The ErrorEvent event.">ErrorEvent</a> event in case of errors.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">offset</td><td>Offset, as described in the official documentation. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a167e0932b8ad887e0f07299f3f05f9e8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a167e0932b8ad887e0f07299f3f05f9e8">&#9670;&nbsp;</a></span>truncateSync()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool uvw::FileReq::truncateSync </td>
<td>(</td>
<td class="paramtype">int64_t&#160;</td>
<td class="paramname"><em>offset</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sync <a href="http://linux.die.net/man/2/ftruncate">ftruncate</a>. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">offset</td><td>Offset, as described in the official documentation. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>True in case of success, false otherwise. </dd></dl>
</div>
</div>
<a id="aa9e84393e87644e066be5625dec438ac"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa9e84393e87644e066be5625dec438ac">&#9670;&nbsp;</a></span>write() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void uvw::FileReq::write </td>
<td>(</td>
<td class="paramtype">char *&#160;</td>
<td class="paramname"><em>buf</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">unsigned int&#160;</td>
<td class="paramname"><em>len</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int64_t&#160;</td>
<td class="paramname"><em>offset</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Async <a href="http://linux.die.net/man/2/pwritev">write</a>. </p>
<p>The request doesn't take the ownership of the data. Be sure that their lifetime overcome the one of the request.</p>
<p>Emit a <code><a class="el" href="structuvw_1_1FsEvent.html" title="Default FsEvent event.">FsEvent</a>&lt;FileReq::Type::WRITE&gt;</code> event when completed.<br />
Emit an <a class="el" href="structuvw_1_1ErrorEvent.html" title="The ErrorEvent event.">ErrorEvent</a> event in case of errors.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">buf</td><td>The data to be written. </td></tr>
<tr><td class="paramname">len</td><td>The lenght of the submitted data. </td></tr>
<tr><td class="paramname">offset</td><td>Offset, as described in the official documentation. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="ab5ef91c4638b52af13a8a77a2343b413"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab5ef91c4638b52af13a8a77a2343b413">&#9670;&nbsp;</a></span>write() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void uvw::FileReq::write </td>
<td>(</td>
<td class="paramtype">std::unique_ptr&lt; char[]&gt;&#160;</td>
<td class="paramname"><em>buf</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">unsigned int&#160;</td>
<td class="paramname"><em>len</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int64_t&#160;</td>
<td class="paramname"><em>offset</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Async <a href="http://linux.die.net/man/2/pwritev">write</a>. </p>
<p>The request takes the ownership of the data and it is in charge of delete them.</p>
<p>Emit a <code><a class="el" href="structuvw_1_1FsEvent.html" title="Default FsEvent event.">FsEvent</a>&lt;FileReq::Type::WRITE&gt;</code> event when completed.<br />
Emit an <a class="el" href="structuvw_1_1ErrorEvent.html" title="The ErrorEvent event.">ErrorEvent</a> event in case of errors.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">buf</td><td>The data to be written. </td></tr>
<tr><td class="paramname">len</td><td>The lenght of the submitted data. </td></tr>
<tr><td class="paramname">offset</td><td>Offset, as described in the official documentation. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a387579205e35a358c8f756424f165849"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a387579205e35a358c8f756424f165849">&#9670;&nbsp;</a></span>writeSync()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::pair&lt;bool, std::size_t&gt; uvw::FileReq::writeSync </td>
<td>(</td>
<td class="paramtype">std::unique_ptr&lt; char[]&gt;&#160;</td>
<td class="paramname"><em>buf</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">unsigned int&#160;</td>
<td class="paramname"><em>len</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int64_t&#160;</td>
<td class="paramname"><em>offset</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sync <a href="http://linux.die.net/man/2/pwritev">write</a>. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">buf</td><td>The data to be written. </td></tr>
<tr><td class="paramname">len</td><td>The lenght of the submitted data. </td></tr>
<tr><td class="paramname">offset</td><td>Offset, as described in the official documentation.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A <code>std::pair</code> composed as it follows:<ul>
<li>A boolean value that is true in case of success, false otherwise.</li>
<li>The amount of data written to the given path. </li>
</ul>
</dd></dl>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>src/uvw/<a class="el" href="fs_8h_source.html">fs.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1
</small></address>
</body>
</html>