Welcome to mirror list, hosted at ThFree Co, Russian Federation.

classllfio__v2__xxx_1_1handle.html - github.com/windirstat/llfio.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 9103767958143ddbd123680ae2a3417c7e82b380 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
<!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.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>LLFIO: llfio_v2_xxx::handle 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="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.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">LLFIO
   &#160;<span id="projectnumber">v2.00 late beta</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<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');
/* @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>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classllfio__v2__xxx_1_1handle.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- 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 class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-static-methods">Static Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="#friends">Friends</a> &#124;
<a href="classllfio__v2__xxx_1_1handle-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">llfio_v2_xxx::handle Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>A native_handle_type which is managed by the lifetime of this object instance.  
 <a href="classllfio__v2__xxx_1_1handle.html#details">More...</a></p>

<p><code>#include &quot;handle.hpp&quot;</code></p>
<div class="dynheader">
Inheritance diagram for llfio_v2_xxx::handle:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classllfio__v2__xxx_1_1handle.png" usemap="#llfio_5Fv2_5Fxxx::handle_map" alt=""/>
  <map id="llfio_5Fv2_5Fxxx::handle_map" name="llfio_5Fv2_5Fxxx::handle_map">
<area href="classllfio__v2__xxx_1_1awaitable__handle.html" title="An awaitable handle which attempts to execute the i/o immediately. If the i/o can complete immediatel..." alt="llfio_v2_xxx::awaitable_handle&lt; IoHandleType &gt;" shape="rect" coords="0,56,284,80"/>
<area href="classllfio__v2__xxx_1_1io__handle.html" title="A handle to something capable of scatter-gather byte i/o." alt="llfio_v2_xxx::io_handle" shape="rect" coords="441,56,725,80"/>
<area href="classllfio__v2__xxx_1_1io__multiplexer.html" title="A multiplexer of byte-orientated i/o." alt="llfio_v2_xxx::io_multiplexer" shape="rect" coords="735,56,1019,80"/>
<area href="classllfio__v2__xxx_1_1path__handle.html" title="A handle to somewhere originally identified by a path on the filing system. Typically used as the lig..." alt="llfio_v2_xxx::path_handle" shape="rect" coords="1029,56,1313,80"/>
<area href="classllfio__v2__xxx_1_1process__handle.html" title="A handle to this, or another, process." alt="llfio_v2_xxx::process_handle" shape="rect" coords="1323,56,1607,80"/>
<area href="classllfio__v2__xxx_1_1section__handle.html" title="A handle to a source of mapped memory." alt="llfio_v2_xxx::section_handle" shape="rect" coords="1617,56,1901,80"/>
<area href="classllfio__v2__xxx_1_1symlink__handle.html" title="A handle to an inode which redirects to a different path." alt="llfio_v2_xxx::symlink_handle" shape="rect" coords="1911,56,2195,80"/>
<area href="classllfio__v2__xxx_1_1lockable__io__handle.html" title="A handle to something capable of scatter-gather i/o and which can exclude other concurrent users...." alt="llfio_v2_xxx::lockable_io_handle" shape="rect" coords="294,112,578,136"/>
<area href="classllfio__v2__xxx_1_1pipe__handle.html" title="A handle to a named or anonymous pipe." alt="llfio_v2_xxx::pipe_handle" shape="rect" coords="588,112,872,136"/>
<area href="classllfio__v2__xxx_1_1directory__handle.html" title="A handle to a directory which can be enumerated." alt="llfio_v2_xxx::directory_handle" shape="rect" coords="1029,112,1313,136"/>
<area href="classllfio__v2__xxx_1_1file__handle.html" title="A handle to a regular file or device." alt="llfio_v2_xxx::file_handle" shape="rect" coords="147,168,431,192"/>
<area href="classllfio__v2__xxx_1_1map__handle.html" title="A handle to a memory mapped region of memory, either backed by the system page file or by a section." alt="llfio_v2_xxx::map_handle" shape="rect" coords="441,168,725,192"/>
<area href="classllfio__v2__xxx_1_1fast__random__file__handle.html" title="A handle to synthesised, non-cryptographic, pseudo-random data." alt="llfio_v2_xxx::fast_random_file_handle" shape="rect" coords="0,224,284,248"/>
<area href="classllfio__v2__xxx_1_1mapped__file__handle.html" title="A memory mapped regular file or device." alt="llfio_v2_xxx::mapped_file_handle" shape="rect" coords="294,224,578,248"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:aa3930273a2d4cabbac309e0b75701dca"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1handle.html#aa3930273a2d4cabbac309e0b75701dca">mode</a> : unsigned char { <br />
&#160;&#160;<b>unchanged</b> = 0, 
<a class="el" href="classllfio__v2__xxx_1_1handle.html#aa3930273a2d4cabbac309e0b75701dcaa334c4a4c42fdb79d7ebc3e73b517e6f8">mode::none</a> = 2, 
<a class="el" href="classllfio__v2__xxx_1_1handle.html#aa3930273a2d4cabbac309e0b75701dcaaa4daf6d1e8da35af49c33bbe9ee91d79">mode::attr_read</a> = 4, 
<a class="el" href="classllfio__v2__xxx_1_1handle.html#aa3930273a2d4cabbac309e0b75701dcaa9f56aff64cb748e078ab221474132d19">mode::attr_write</a> = 5, 
<br />
&#160;&#160;<a class="el" href="classllfio__v2__xxx_1_1handle.html#aa3930273a2d4cabbac309e0b75701dcaaecae13117d6f0584c25a9da6c8f8415e">mode::read</a> = 6, 
<a class="el" href="classllfio__v2__xxx_1_1handle.html#aa3930273a2d4cabbac309e0b75701dcaaefb2a684e4afb7d55e6147fbe5a332ee">mode::write</a> = 7, 
<a class="el" href="classllfio__v2__xxx_1_1handle.html#aa3930273a2d4cabbac309e0b75701dcaa9516dfb15f51c7ee19a4d46b8c0dbe1d">mode::append</a> = 9
<br />
 }</td></tr>
<tr class="memdesc:aa3930273a2d4cabbac309e0b75701dca"><td class="mdescLeft">&#160;</td><td class="mdescRight">The behaviour of the handle: does it read, read and write, or atomic append?  <a href="classllfio__v2__xxx_1_1handle.html#aa3930273a2d4cabbac309e0b75701dca">More...</a><br /></td></tr>
<tr class="separator:aa3930273a2d4cabbac309e0b75701dca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af0b352d0f273ba6fa70c178b2c2fee42"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1handle.html#af0b352d0f273ba6fa70c178b2c2fee42">creation</a> : unsigned char { <br />
&#160;&#160;<a class="el" href="classllfio__v2__xxx_1_1handle.html#af0b352d0f273ba6fa70c178b2c2fee42aa200dcd6176417e93be2405188ae7cc9">creation::open_existing</a> = 0, 
<a class="el" href="classllfio__v2__xxx_1_1handle.html#af0b352d0f273ba6fa70c178b2c2fee42abba3bc579480e6c94ecd81b7b5923255">creation::only_if_not_exist</a>, 
<a class="el" href="classllfio__v2__xxx_1_1handle.html#af0b352d0f273ba6fa70c178b2c2fee42a8f0339e854eb5321306a443ce9199e1d">creation::if_needed</a>, 
<a class="el" href="classllfio__v2__xxx_1_1handle.html#af0b352d0f273ba6fa70c178b2c2fee42abb872caae430ba70f670508aca38feed">creation::truncate_existing</a>, 
<br />
&#160;&#160;<a class="el" href="classllfio__v2__xxx_1_1handle.html#af0b352d0f273ba6fa70c178b2c2fee42af7cf95e0f43dc8f79e39ae628c85a11d">creation::always_new</a>
<br />
 }</td></tr>
<tr class="memdesc:af0b352d0f273ba6fa70c178b2c2fee42"><td class="mdescLeft">&#160;</td><td class="mdescRight">On opening, do we also create a new file or truncate an existing one?  <a href="classllfio__v2__xxx_1_1handle.html#af0b352d0f273ba6fa70c178b2c2fee42">More...</a><br /></td></tr>
<tr class="separator:af0b352d0f273ba6fa70c178b2c2fee42"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aecd3a7db6cee3aec07d32fe6f99e6852"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1handle.html#aecd3a7db6cee3aec07d32fe6f99e6852">caching</a> : unsigned char { <br />
&#160;&#160;<b>unchanged</b> = 0, 
<a class="el" href="classllfio__v2__xxx_1_1handle.html#aecd3a7db6cee3aec07d32fe6f99e6852a334c4a4c42fdb79d7ebc3e73b517e6f8">caching::none</a> = 1, 
<a class="el" href="classllfio__v2__xxx_1_1handle.html#aecd3a7db6cee3aec07d32fe6f99e6852ab8a61dd00ce6fc5888706bda8fab2e98">caching::only_metadata</a> = 2, 
<a class="el" href="classllfio__v2__xxx_1_1handle.html#aecd3a7db6cee3aec07d32fe6f99e6852a0fb9cf5f04f61bb6f1151da57ceb1ca1">caching::reads</a> = 3, 
<br />
&#160;&#160;<a class="el" href="classllfio__v2__xxx_1_1handle.html#aecd3a7db6cee3aec07d32fe6f99e6852adec4ecca8ae1593f84eea4656599a693">caching::reads_and_metadata</a> = 5, 
<a class="el" href="classllfio__v2__xxx_1_1handle.html#aecd3a7db6cee3aec07d32fe6f99e6852aa181a603769c1f98ad927e7367c7aa51">caching::all</a> = 6, 
<a class="el" href="classllfio__v2__xxx_1_1handle.html#aecd3a7db6cee3aec07d32fe6f99e6852a9cd65f46f55fb6a4b198fcee6f0a63c1">caching::safety_barriers</a> = 7, 
<a class="el" href="classllfio__v2__xxx_1_1handle.html#aecd3a7db6cee3aec07d32fe6f99e6852ad5197d93c063a2b1e22d1630a39b7aef">caching::temporary</a> = 8
<br />
 }</td></tr>
<tr class="memdesc:aecd3a7db6cee3aec07d32fe6f99e6852"><td class="mdescLeft">&#160;</td><td class="mdescRight">What i/o on the handle may complete immediately due to kernel caching.  <a href="classllfio__v2__xxx_1_1handle.html#aecd3a7db6cee3aec07d32fe6f99e6852">More...</a><br /></td></tr>
<tr class="separator:aecd3a7db6cee3aec07d32fe6f99e6852"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a33481bae57d9ccd0c97946416f9682f3"><td class="memItemLeft" align="right" valign="top"><a id="a33481bae57d9ccd0c97946416f9682f3"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1handle.html#a33481bae57d9ccd0c97946416f9682f3">path_type</a> = filesystem::path</td></tr>
<tr class="memdesc:a33481bae57d9ccd0c97946416f9682f3"><td class="mdescLeft">&#160;</td><td class="mdescRight">The path type used by this handle. <br /></td></tr>
<tr class="separator:a33481bae57d9ccd0c97946416f9682f3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4ee58f1b6a24af5e64d850d1e3eed07f"><td class="memItemLeft" align="right" valign="top"><a id="a4ee58f1b6a24af5e64d850d1e3eed07f"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1handle.html#a4ee58f1b6a24af5e64d850d1e3eed07f">extent_type</a> = unsigned long long</td></tr>
<tr class="memdesc:a4ee58f1b6a24af5e64d850d1e3eed07f"><td class="mdescLeft">&#160;</td><td class="mdescRight">The file extent type used by this handle. <br /></td></tr>
<tr class="separator:a4ee58f1b6a24af5e64d850d1e3eed07f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aed9587571c3fb932adadddc1beeeed58"><td class="memItemLeft" align="right" valign="top"><a id="aed9587571c3fb932adadddc1beeeed58"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1handle.html#aed9587571c3fb932adadddc1beeeed58">size_type</a> = size_t</td></tr>
<tr class="memdesc:aed9587571c3fb932adadddc1beeeed58"><td class="mdescLeft">&#160;</td><td class="mdescRight">The memory extent type used by this handle. <br /></td></tr>
<tr class="separator:aed9587571c3fb932adadddc1beeeed58"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><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:ac5222904f116c9beb0515a4a5aa850bf"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1handle.html#ac5222904f116c9beb0515a4a5aa850bf">QUICKCPPLIB_BITFIELD_BEGIN</a> (flag)</td></tr>
<tr class="memdesc:ac5222904f116c9beb0515a4a5aa850bf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Bitwise flags which can be specified.  <a href="classllfio__v2__xxx_1_1handle.html#ac5222904f116c9beb0515a4a5aa850bf">More...</a><br /></td></tr>
<tr class="separator:ac5222904f116c9beb0515a4a5aa850bf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa7e9bedf8c7a4c4a79a644a6e1857ee4"><td class="memItemLeft" align="right" valign="top"><a id="aa7e9bedf8c7a4c4a79a644a6e1857ee4"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>QUICKCPPLIB_BITFIELD_END</b> (flag)</td></tr>
<tr class="separator:aa7e9bedf8c7a4c4a79a644a6e1857ee4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aea43917ff5cc28f3da3c622c0b3382c4"><td class="memItemLeft" align="right" valign="top"><a id="aea43917ff5cc28f3da3c622c0b3382c4"></a>
constexpr&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1handle.html#aea43917ff5cc28f3da3c622c0b3382c4">handle</a> ()</td></tr>
<tr class="memdesc:aea43917ff5cc28f3da3c622c0b3382c4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default constructor. <br /></td></tr>
<tr class="separator:aea43917ff5cc28f3da3c622c0b3382c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad7912947fb8fe6270535eb6bddba50d4"><td class="memItemLeft" align="right" valign="top"><a id="ad7912947fb8fe6270535eb6bddba50d4"></a>
constexpr&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1handle.html#ad7912947fb8fe6270535eb6bddba50d4">handle</a> (<a class="el" href="structllfio__v2__xxx_1_1native__handle__type.html">native_handle_type</a> h, <a class="el" href="classllfio__v2__xxx_1_1handle.html#aecd3a7db6cee3aec07d32fe6f99e6852">caching</a> <a class="el" href="classllfio__v2__xxx_1_1handle.html#aecd3a7db6cee3aec07d32fe6f99e6852">caching</a>=<a class="el" href="classllfio__v2__xxx_1_1handle.html#aecd3a7db6cee3aec07d32fe6f99e6852a334c4a4c42fdb79d7ebc3e73b517e6f8">caching::none</a>, flag <a class="el" href="classllfio__v2__xxx_1_1handle.html#a013936bc1254b1a47567fe29698d1b1c">flags</a>=flag::none) noexcept</td></tr>
<tr class="memdesc:ad7912947fb8fe6270535eb6bddba50d4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct a handle from a supplied native handle. <br /></td></tr>
<tr class="separator:ad7912947fb8fe6270535eb6bddba50d4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a798fa51a935da9b16ed7bb565b3a4c11"><td class="memItemLeft" align="right" valign="top"><a id="a798fa51a935da9b16ed7bb565b3a4c11"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1handle.html#a798fa51a935da9b16ed7bb565b3a4c11">handle</a> (const <a class="el" href="classllfio__v2__xxx_1_1handle.html">handle</a> &amp;)=delete</td></tr>
<tr class="memdesc:a798fa51a935da9b16ed7bb565b3a4c11"><td class="mdescLeft">&#160;</td><td class="mdescRight">No copy construction (use clone()) <br /></td></tr>
<tr class="separator:a798fa51a935da9b16ed7bb565b3a4c11"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab7a7864db8369f8e62ae81586ef68ef0"><td class="memItemLeft" align="right" valign="top"><a id="ab7a7864db8369f8e62ae81586ef68ef0"></a>
<a class="el" href="classllfio__v2__xxx_1_1handle.html">handle</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1handle.html#ab7a7864db8369f8e62ae81586ef68ef0">operator=</a> (const <a class="el" href="classllfio__v2__xxx_1_1handle.html">handle</a> &amp;o)=delete</td></tr>
<tr class="memdesc:ab7a7864db8369f8e62ae81586ef68ef0"><td class="mdescLeft">&#160;</td><td class="mdescRight">No copy assignment. <br /></td></tr>
<tr class="separator:ab7a7864db8369f8e62ae81586ef68ef0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6ce55ea40b3a0c313f3cb34bb59750f0"><td class="memItemLeft" align="right" valign="top"><a id="a6ce55ea40b3a0c313f3cb34bb59750f0"></a>
constexpr&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1handle.html#a6ce55ea40b3a0c313f3cb34bb59750f0">handle</a> (<a class="el" href="classllfio__v2__xxx_1_1handle.html">handle</a> &amp;&amp;o) noexcept</td></tr>
<tr class="memdesc:a6ce55ea40b3a0c313f3cb34bb59750f0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Move the handle. <br /></td></tr>
<tr class="separator:a6ce55ea40b3a0c313f3cb34bb59750f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4acd6daf162e10373efedf7fd8528365"><td class="memItemLeft" align="right" valign="top"><a id="a4acd6daf162e10373efedf7fd8528365"></a>
<a class="el" href="classllfio__v2__xxx_1_1handle.html">handle</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1handle.html#a4acd6daf162e10373efedf7fd8528365">operator=</a> (<a class="el" href="classllfio__v2__xxx_1_1handle.html">handle</a> &amp;&amp;o) noexcept</td></tr>
<tr class="memdesc:a4acd6daf162e10373efedf7fd8528365"><td class="mdescLeft">&#160;</td><td class="mdescRight">Move assignment of handle. <br /></td></tr>
<tr class="separator:a4acd6daf162e10373efedf7fd8528365"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4716696b8700953889006251e0678aa4"><td class="memItemLeft" align="right" valign="top"><a id="a4716696b8700953889006251e0678aa4"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1handle.html#a4716696b8700953889006251e0678aa4">swap</a> (<a class="el" href="classllfio__v2__xxx_1_1handle.html">handle</a> &amp;o) noexcept</td></tr>
<tr class="memdesc:a4716696b8700953889006251e0678aa4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Swap with another instance. <br /></td></tr>
<tr class="separator:a4716696b8700953889006251e0678aa4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a00a85eec5a41f7edb2c574d40cf04535"><td class="memItemLeft" align="right" valign="top">virtual result&lt; <a class="el" href="classllfio__v2__xxx_1_1handle.html#a33481bae57d9ccd0c97946416f9682f3">path_type</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1handle.html#a00a85eec5a41f7edb2c574d40cf04535">current_path</a> () const noexcept</td></tr>
<tr class="separator:a00a85eec5a41f7edb2c574d40cf04535"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a62a75b1a4a24fbc9ad2e98a641167db6"><td class="memItemLeft" align="right" valign="top"><a id="a62a75b1a4a24fbc9ad2e98a641167db6"></a>
virtual result&lt; void &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1handle.html#a62a75b1a4a24fbc9ad2e98a641167db6">close</a> () noexcept</td></tr>
<tr class="memdesc:a62a75b1a4a24fbc9ad2e98a641167db6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Immediately close the native handle type managed by this handle. <br /></td></tr>
<tr class="separator:a62a75b1a4a24fbc9ad2e98a641167db6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeea4389189021b94dde6d8f2c3ccc5b3"><td class="memItemLeft" align="right" valign="top">result&lt; <a class="el" href="classllfio__v2__xxx_1_1handle.html">handle</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1handle.html#aeea4389189021b94dde6d8f2c3ccc5b3">clone</a> () const noexcept</td></tr>
<tr class="separator:aeea4389189021b94dde6d8f2c3ccc5b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1d273e38c061eb11f5012f624e9a202e"><td class="memItemLeft" align="right" valign="top"><a id="a1d273e38c061eb11f5012f624e9a202e"></a>
virtual <a class="el" href="structllfio__v2__xxx_1_1native__handle__type.html">native_handle_type</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1handle.html#a1d273e38c061eb11f5012f624e9a202e">release</a> () noexcept</td></tr>
<tr class="memdesc:a1d273e38c061eb11f5012f624e9a202e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Release the native handle type managed by this handle. <br /></td></tr>
<tr class="separator:a1d273e38c061eb11f5012f624e9a202e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5c7f6a0a8ffdea22763c75a9319ba0c2"><td class="memItemLeft" align="right" valign="top"><a id="a5c7f6a0a8ffdea22763c75a9319ba0c2"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1handle.html#a5c7f6a0a8ffdea22763c75a9319ba0c2">is_valid</a> () const noexcept</td></tr>
<tr class="memdesc:a5c7f6a0a8ffdea22763c75a9319ba0c2"><td class="mdescLeft">&#160;</td><td class="mdescRight">True if the handle is valid (and usually open) <br /></td></tr>
<tr class="separator:a5c7f6a0a8ffdea22763c75a9319ba0c2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a97e0884c27147b4929be98961b8e9254"><td class="memItemLeft" align="right" valign="top"><a id="a97e0884c27147b4929be98961b8e9254"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1handle.html#a97e0884c27147b4929be98961b8e9254">is_readable</a> () const noexcept</td></tr>
<tr class="memdesc:a97e0884c27147b4929be98961b8e9254"><td class="mdescLeft">&#160;</td><td class="mdescRight">True if the handle is readable. <br /></td></tr>
<tr class="separator:a97e0884c27147b4929be98961b8e9254"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a211fee447a47bdeb5424a2a5ae1de852"><td class="memItemLeft" align="right" valign="top"><a id="a211fee447a47bdeb5424a2a5ae1de852"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1handle.html#a211fee447a47bdeb5424a2a5ae1de852">is_writable</a> () const noexcept</td></tr>
<tr class="memdesc:a211fee447a47bdeb5424a2a5ae1de852"><td class="mdescLeft">&#160;</td><td class="mdescRight">True if the handle is writable. <br /></td></tr>
<tr class="separator:a211fee447a47bdeb5424a2a5ae1de852"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac3aa3dc009822c0e437f317864534feb"><td class="memItemLeft" align="right" valign="top"><a id="ac3aa3dc009822c0e437f317864534feb"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1handle.html#ac3aa3dc009822c0e437f317864534feb">is_append_only</a> () const noexcept</td></tr>
<tr class="memdesc:ac3aa3dc009822c0e437f317864534feb"><td class="mdescLeft">&#160;</td><td class="mdescRight">True if the handle is append only. <br /></td></tr>
<tr class="separator:ac3aa3dc009822c0e437f317864534feb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a101620e9fff0c0e8c346af0e9de58b6a"><td class="memItemLeft" align="right" valign="top">virtual result&lt; void &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1handle.html#a101620e9fff0c0e8c346af0e9de58b6a">set_append_only</a> (bool enable) noexcept</td></tr>
<tr class="memdesc:a101620e9fff0c0e8c346af0e9de58b6a"><td class="mdescLeft">&#160;</td><td class="mdescRight">EXTENSION: Changes whether this handle is append only or not.  <a href="classllfio__v2__xxx_1_1handle.html#a101620e9fff0c0e8c346af0e9de58b6a">More...</a><br /></td></tr>
<tr class="separator:a101620e9fff0c0e8c346af0e9de58b6a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ade2416b9154d1e56937c99cd514324f8"><td class="memItemLeft" align="right" valign="top"><a id="ade2416b9154d1e56937c99cd514324f8"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1handle.html#ade2416b9154d1e56937c99cd514324f8">is_multiplexable</a> () const noexcept</td></tr>
<tr class="memdesc:ade2416b9154d1e56937c99cd514324f8"><td class="mdescLeft">&#160;</td><td class="mdescRight">True if multiplexable. <br /></td></tr>
<tr class="separator:ade2416b9154d1e56937c99cd514324f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a501aa723172f6852e82738b0969278ae"><td class="memItemLeft" align="right" valign="top"><a id="a501aa723172f6852e82738b0969278ae"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1handle.html#a501aa723172f6852e82738b0969278ae">is_nonblocking</a> () const noexcept</td></tr>
<tr class="memdesc:a501aa723172f6852e82738b0969278ae"><td class="mdescLeft">&#160;</td><td class="mdescRight">True if nonblocking. <br /></td></tr>
<tr class="separator:a501aa723172f6852e82738b0969278ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a695ce0ed1606d540cfa452790ea71632"><td class="memItemLeft" align="right" valign="top"><a id="a695ce0ed1606d540cfa452790ea71632"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1handle.html#a695ce0ed1606d540cfa452790ea71632">is_seekable</a> () const noexcept</td></tr>
<tr class="memdesc:a695ce0ed1606d540cfa452790ea71632"><td class="mdescLeft">&#160;</td><td class="mdescRight">True if seekable. <br /></td></tr>
<tr class="separator:a695ce0ed1606d540cfa452790ea71632"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a751e912d8dab755ea969a418c1d544eb"><td class="memItemLeft" align="right" valign="top"><a id="a751e912d8dab755ea969a418c1d544eb"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1handle.html#a751e912d8dab755ea969a418c1d544eb">requires_aligned_io</a> () const noexcept</td></tr>
<tr class="memdesc:a751e912d8dab755ea969a418c1d544eb"><td class="mdescLeft">&#160;</td><td class="mdescRight">True if requires aligned i/o. <br /></td></tr>
<tr class="separator:a751e912d8dab755ea969a418c1d544eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7751fbb4b1aff527f469412ea33116ed"><td class="memItemLeft" align="right" valign="top"><a id="a7751fbb4b1aff527f469412ea33116ed"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1handle.html#a7751fbb4b1aff527f469412ea33116ed">is_regular</a> () const noexcept</td></tr>
<tr class="memdesc:a7751fbb4b1aff527f469412ea33116ed"><td class="mdescLeft">&#160;</td><td class="mdescRight">True if a regular file or device. <br /></td></tr>
<tr class="separator:a7751fbb4b1aff527f469412ea33116ed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4ca48bdcd6d6bf8b41d0cebb304fe9ce"><td class="memItemLeft" align="right" valign="top"><a id="a4ca48bdcd6d6bf8b41d0cebb304fe9ce"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1handle.html#a4ca48bdcd6d6bf8b41d0cebb304fe9ce">is_directory</a> () const noexcept</td></tr>
<tr class="memdesc:a4ca48bdcd6d6bf8b41d0cebb304fe9ce"><td class="mdescLeft">&#160;</td><td class="mdescRight">True if a directory. <br /></td></tr>
<tr class="separator:a4ca48bdcd6d6bf8b41d0cebb304fe9ce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae0d5de068f71628e9491c5669f89dca0"><td class="memItemLeft" align="right" valign="top"><a id="ae0d5de068f71628e9491c5669f89dca0"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1handle.html#ae0d5de068f71628e9491c5669f89dca0">is_symlink</a> () const noexcept</td></tr>
<tr class="memdesc:ae0d5de068f71628e9491c5669f89dca0"><td class="mdescLeft">&#160;</td><td class="mdescRight">True if a symlink. <br /></td></tr>
<tr class="separator:ae0d5de068f71628e9491c5669f89dca0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac52242425f6e71c3fddcb6cdbe2c3b4e"><td class="memItemLeft" align="right" valign="top"><a id="ac52242425f6e71c3fddcb6cdbe2c3b4e"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1handle.html#ac52242425f6e71c3fddcb6cdbe2c3b4e">is_pipe</a> () const noexcept</td></tr>
<tr class="memdesc:ac52242425f6e71c3fddcb6cdbe2c3b4e"><td class="mdescLeft">&#160;</td><td class="mdescRight">True if a pipe. <br /></td></tr>
<tr class="separator:ac52242425f6e71c3fddcb6cdbe2c3b4e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac9280ab1e6f2a65bc73ee0cba5a8deea"><td class="memItemLeft" align="right" valign="top"><a id="ac9280ab1e6f2a65bc73ee0cba5a8deea"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1handle.html#ac9280ab1e6f2a65bc73ee0cba5a8deea">is_socket</a> () const noexcept</td></tr>
<tr class="memdesc:ac9280ab1e6f2a65bc73ee0cba5a8deea"><td class="mdescLeft">&#160;</td><td class="mdescRight">True if a socket. <br /></td></tr>
<tr class="separator:ac9280ab1e6f2a65bc73ee0cba5a8deea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a018de0f7c177e3cff239016d14582e9a"><td class="memItemLeft" align="right" valign="top"><a id="a018de0f7c177e3cff239016d14582e9a"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1handle.html#a018de0f7c177e3cff239016d14582e9a">is_multiplexer</a> () const noexcept</td></tr>
<tr class="memdesc:a018de0f7c177e3cff239016d14582e9a"><td class="mdescLeft">&#160;</td><td class="mdescRight">True if a multiplexer like BSD kqueues, Linux epoll or Windows IOCP. <br /></td></tr>
<tr class="separator:a018de0f7c177e3cff239016d14582e9a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ade0d0e05b844e77f425669da87bf48bb"><td class="memItemLeft" align="right" valign="top"><a id="ade0d0e05b844e77f425669da87bf48bb"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1handle.html#ade0d0e05b844e77f425669da87bf48bb">is_process</a> () const noexcept</td></tr>
<tr class="memdesc:ade0d0e05b844e77f425669da87bf48bb"><td class="mdescLeft">&#160;</td><td class="mdescRight">True if a process. <br /></td></tr>
<tr class="separator:ade0d0e05b844e77f425669da87bf48bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a354c9168af7759f7151a071c1e1b7b19"><td class="memItemLeft" align="right" valign="top"><a id="a354c9168af7759f7151a071c1e1b7b19"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1handle.html#a354c9168af7759f7151a071c1e1b7b19">is_section</a> () const noexcept</td></tr>
<tr class="memdesc:a354c9168af7759f7151a071c1e1b7b19"><td class="mdescLeft">&#160;</td><td class="mdescRight">True if a memory section. <br /></td></tr>
<tr class="separator:a354c9168af7759f7151a071c1e1b7b19"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a028fbead3b3c4d4eed2da7fa51c75036"><td class="memItemLeft" align="right" valign="top"><a id="a028fbead3b3c4d4eed2da7fa51c75036"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1handle.html#a028fbead3b3c4d4eed2da7fa51c75036">is_allocation</a> () const noexcept</td></tr>
<tr class="memdesc:a028fbead3b3c4d4eed2da7fa51c75036"><td class="mdescLeft">&#160;</td><td class="mdescRight">True if a memory allocation. <br /></td></tr>
<tr class="separator:a028fbead3b3c4d4eed2da7fa51c75036"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a90bf8668df002dac5a7d9397486b2946"><td class="memItemLeft" align="right" valign="top"><a id="a90bf8668df002dac5a7d9397486b2946"></a>
<a class="el" href="classllfio__v2__xxx_1_1handle.html#aecd3a7db6cee3aec07d32fe6f99e6852">caching</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1handle.html#a90bf8668df002dac5a7d9397486b2946">kernel_caching</a> () const noexcept</td></tr>
<tr class="memdesc:a90bf8668df002dac5a7d9397486b2946"><td class="mdescLeft">&#160;</td><td class="mdescRight">Kernel cache strategy used by this handle. <br /></td></tr>
<tr class="separator:a90bf8668df002dac5a7d9397486b2946"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7126a726b2a06e4c1eca1a94c41163ff"><td class="memItemLeft" align="right" valign="top"><a id="a7126a726b2a06e4c1eca1a94c41163ff"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1handle.html#a7126a726b2a06e4c1eca1a94c41163ff">are_reads_from_cache</a> () const noexcept</td></tr>
<tr class="memdesc:a7126a726b2a06e4c1eca1a94c41163ff"><td class="mdescLeft">&#160;</td><td class="mdescRight">True if the handle uses the kernel page cache for reads. <br /></td></tr>
<tr class="separator:a7126a726b2a06e4c1eca1a94c41163ff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8036792f332459064172d7b0cfaee3cf"><td class="memItemLeft" align="right" valign="top"><a id="a8036792f332459064172d7b0cfaee3cf"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1handle.html#a8036792f332459064172d7b0cfaee3cf">are_writes_durable</a> () const noexcept</td></tr>
<tr class="memdesc:a8036792f332459064172d7b0cfaee3cf"><td class="mdescLeft">&#160;</td><td class="mdescRight">True if writes are safely on storage on completion. <br /></td></tr>
<tr class="separator:a8036792f332459064172d7b0cfaee3cf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0a2a5896f5e373fa032cdae1c1fff2c1"><td class="memItemLeft" align="right" valign="top"><a id="a0a2a5896f5e373fa032cdae1c1fff2c1"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1handle.html#a0a2a5896f5e373fa032cdae1c1fff2c1">are_safety_barriers_issued</a> () const noexcept</td></tr>
<tr class="memdesc:a0a2a5896f5e373fa032cdae1c1fff2c1"><td class="mdescLeft">&#160;</td><td class="mdescRight">True if issuing safety fsyncs is on. <br /></td></tr>
<tr class="separator:a0a2a5896f5e373fa032cdae1c1fff2c1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a013936bc1254b1a47567fe29698d1b1c"><td class="memItemLeft" align="right" valign="top"><a id="a013936bc1254b1a47567fe29698d1b1c"></a>
flag&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1handle.html#a013936bc1254b1a47567fe29698d1b1c">flags</a> () const noexcept</td></tr>
<tr class="memdesc:a013936bc1254b1a47567fe29698d1b1c"><td class="mdescLeft">&#160;</td><td class="mdescRight">The flags this handle was opened with. <br /></td></tr>
<tr class="separator:a013936bc1254b1a47567fe29698d1b1c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a942b0d276c9f20fe41baab679b88fe72"><td class="memItemLeft" align="right" valign="top"><a id="a942b0d276c9f20fe41baab679b88fe72"></a>
<a class="el" href="structllfio__v2__xxx_1_1native__handle__type.html">native_handle_type</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1handle.html#a942b0d276c9f20fe41baab679b88fe72">native_handle</a> () const noexcept</td></tr>
<tr class="memdesc:a942b0d276c9f20fe41baab679b88fe72"><td class="mdescLeft">&#160;</td><td class="mdescRight">The native handle used by this handle. <br /></td></tr>
<tr class="separator:a942b0d276c9f20fe41baab679b88fe72"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-static-methods"></a>
Static Protected Member Functions</h2></td></tr>
<tr class="memitem:a1dd1abc0bd1fa1f10782301dddf802b7"><td class="memItemLeft" align="right" valign="top"><a id="a1dd1abc0bd1fa1f10782301dddf802b7"></a>
static constexpr void&#160;</td><td class="memItemRight" valign="bottom"><b>_set_caching</b> (<a class="el" href="structllfio__v2__xxx_1_1native__handle__type.html">native_handle_type</a> &amp;nativeh, <a class="el" href="classllfio__v2__xxx_1_1handle.html#aecd3a7db6cee3aec07d32fe6f99e6852">caching</a> <a class="el" href="classllfio__v2__xxx_1_1handle.html#aecd3a7db6cee3aec07d32fe6f99e6852">caching</a>) noexcept</td></tr>
<tr class="separator:a1dd1abc0bd1fa1f10782301dddf802b7"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:a1d6911771ac743fd9d64063c12429deb"><td class="memItemLeft" align="right" valign="top"><a id="a1d6911771ac743fd9d64063c12429deb"></a>
<a class="el" href="structllfio__v2__xxx_1_1native__handle__type.html">native_handle_type</a>&#160;</td><td class="memItemRight" valign="bottom"><b>_v</b></td></tr>
<tr class="separator:a1d6911771ac743fd9d64063c12429deb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad758cf1eb2e0b4c63583eab05e7f6820"><td class="memItemLeft" align="right" valign="top"><a id="ad758cf1eb2e0b4c63583eab05e7f6820"></a>
flag&#160;</td><td class="memItemRight" valign="bottom"><b>_flags</b> {flag::none}</td></tr>
<tr class="separator:ad758cf1eb2e0b4c63583eab05e7f6820"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
Friends</h2></td></tr>
<tr class="memitem:a026944e947f6830e5bc5fd31aae205be"><td class="memItemLeft" align="right" valign="top"><a id="a026944e947f6830e5bc5fd31aae205be"></a>
class&#160;</td><td class="memItemRight" valign="bottom"><b>fs_handle</b></td></tr>
<tr class="separator:a026944e947f6830e5bc5fd31aae205be"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5c7d33dcd1f366fa378607e1dd087744"><td class="memItemLeft" align="right" valign="top"><a id="a5c7d33dcd1f366fa378607e1dd087744"></a>
std::ostream &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>operator&lt;&lt;</b> (std::ostream &amp;s, const <a class="el" href="classllfio__v2__xxx_1_1handle.html">handle</a> &amp;v)</td></tr>
<tr class="separator:a5c7d33dcd1f366fa378607e1dd087744"><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>A native_handle_type which is managed by the lifetime of this object instance. </p>
</div><h2 class="groupheader">Member Enumeration Documentation</h2>
<a id="aecd3a7db6cee3aec07d32fe6f99e6852"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aecd3a7db6cee3aec07d32fe6f99e6852">&#9670;&nbsp;</a></span>caching</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classllfio__v2__xxx_1_1handle.html#aecd3a7db6cee3aec07d32fe6f99e6852">llfio_v2_xxx::handle::caching</a> : unsigned char</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">strong</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>What i/o on the handle may complete immediately due to kernel caching. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="aecd3a7db6cee3aec07d32fe6f99e6852a334c4a4c42fdb79d7ebc3e73b517e6f8"></a>none&#160;</td><td class="fielddoc"><p>No caching whatsoever, all reads and writes come from storage (i.e. <code>O_DIRECT|O_SYNC</code>). Align all i/o to 4Kb boundaries for this to work. <code>disable_safety_barriers</code> can be used here. </p>
</td></tr>
<tr><td class="fieldname"><a id="aecd3a7db6cee3aec07d32fe6f99e6852ab8a61dd00ce6fc5888706bda8fab2e98"></a>only_metadata&#160;</td><td class="fielddoc"><p>Cache reads and writes of metadata but avoid caching data (<code>O_DIRECT</code>), thus i/o here does not affect other cached data for other handles. Align all i/o to 4Kb boundaries for this to work. </p>
</td></tr>
<tr><td class="fieldname"><a id="aecd3a7db6cee3aec07d32fe6f99e6852a0fb9cf5f04f61bb6f1151da57ceb1ca1"></a>reads&#160;</td><td class="fielddoc"><p>Cache reads only. Writes of data and metadata do not complete until reaching storage (<code>O_SYNC</code>). <code>disable_safety_barriers</code> can be used here. </p>
</td></tr>
<tr><td class="fieldname"><a id="aecd3a7db6cee3aec07d32fe6f99e6852adec4ecca8ae1593f84eea4656599a693"></a>reads_and_metadata&#160;</td><td class="fielddoc"><p>Cache reads and writes of metadata, but writes of data do not complete until reaching storage (<code>O_DSYNC</code>). <code>disable_safety_barriers</code> can be used here. </p>
</td></tr>
<tr><td class="fieldname"><a id="aecd3a7db6cee3aec07d32fe6f99e6852aa181a603769c1f98ad927e7367c7aa51"></a>all&#160;</td><td class="fielddoc"><p>Cache reads and writes of data and metadata so they complete immediately, sending writes to storage at some point when the kernel decides (this is the default file system caching on a system). </p>
</td></tr>
<tr><td class="fieldname"><a id="aecd3a7db6cee3aec07d32fe6f99e6852a9cd65f46f55fb6a4b198fcee6f0a63c1"></a>safety_barriers&#160;</td><td class="fielddoc"><p>Cache reads and writes of data and metadata so they complete immediately, but issue safety barriers at certain points. See documentation for <code>disable_safety_barriers</code>. </p>
</td></tr>
<tr><td class="fieldname"><a id="aecd3a7db6cee3aec07d32fe6f99e6852ad5197d93c063a2b1e22d1630a39b7aef"></a>temporary&#160;</td><td class="fielddoc"><p>Cache reads and writes of data and metadata so they complete immediately, only sending any updates to storage on last handle close in the system or if memory becomes tight as this file is expected to be temporary (Windows and FreeBSD only). </p>
</td></tr>
</table>
<div class="fragment"><div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;                     : <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span>  <span class="comment">// bit 0 set means safety barriers enabled</span></div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;  {</div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;    unchanged = 0,</div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;    none = 1,                <span class="comment">//!&lt; No caching whatsoever, all reads and writes come from storage (i.e. &lt;tt&gt;O_DIRECT|O_SYNC&lt;/tt&gt;). Align all i/o to 4Kb boundaries for this to work. &lt;tt&gt;disable_safety_barriers&lt;/tt&gt; can be used here.</span></div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;<span class="comment"></span>    only_metadata = 2,       <span class="comment">//!&lt; Cache reads and writes of metadata but avoid caching data (&lt;tt&gt;O_DIRECT&lt;/tt&gt;), thus i/o here does not affect other cached data for other handles. Align all i/o to 4Kb boundaries for this to work.</span></div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;<span class="comment"></span>    reads = 3,               <span class="comment">//!&lt; Cache reads only. Writes of data and metadata do not complete until reaching storage (&lt;tt&gt;O_SYNC&lt;/tt&gt;). &lt;tt&gt;disable_safety_barriers&lt;/tt&gt; can be used here.</span></div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;<span class="comment"></span>    reads_and_metadata = 5,  <span class="comment">//!&lt; Cache reads and writes of metadata, but writes of data do not complete until reaching storage (&lt;tt&gt;O_DSYNC&lt;/tt&gt;). &lt;tt&gt;disable_safety_barriers&lt;/tt&gt; can be used here.</span></div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;<span class="comment"></span>    all = 6,                 <span class="comment">//!&lt; Cache reads and writes of data and metadata so they complete immediately, sending writes to storage at some point when the kernel decides (this is the default file system caching on a system).</span></div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;<span class="comment"></span>    safety_barriers = 7,     <span class="comment">//!&lt; Cache reads and writes of data and metadata so they complete immediately, but issue safety barriers at certain points. See documentation for &lt;tt&gt;disable_safety_barriers&lt;/tt&gt;.</span></div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;<span class="comment"></span>    temporary = 8            <span class="comment">//!&lt; Cache reads and writes of data and metadata so they complete immediately, only sending any updates to storage on last handle close in the system or if memory becomes tight as this file is expected to be temporary (Windows and FreeBSD only).</span></div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;<span class="comment"></span>                             <span class="comment">// NOTE: IF UPDATING THIS UPDATE THE std::ostream PRINTER BELOW!!!</span></div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;  };</div>
</div><!-- fragment -->
</div>
</div>
<a id="af0b352d0f273ba6fa70c178b2c2fee42"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af0b352d0f273ba6fa70c178b2c2fee42">&#9670;&nbsp;</a></span>creation</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classllfio__v2__xxx_1_1handle.html#af0b352d0f273ba6fa70c178b2c2fee42">llfio_v2_xxx::handle::creation</a> : unsigned char</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">strong</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>On opening, do we also create a new file or truncate an existing one? </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="af0b352d0f273ba6fa70c178b2c2fee42aa200dcd6176417e93be2405188ae7cc9"></a>open_existing&#160;</td><td class="fielddoc"><p>Filesystem entry must already exist. </p>
</td></tr>
<tr><td class="fieldname"><a id="af0b352d0f273ba6fa70c178b2c2fee42abba3bc579480e6c94ecd81b7b5923255"></a>only_if_not_exist&#160;</td><td class="fielddoc"><p>Filesystem entry must NOT exist, and is atomically created by the success of this operation. </p>
</td></tr>
<tr><td class="fieldname"><a id="af0b352d0f273ba6fa70c178b2c2fee42a8f0339e854eb5321306a443ce9199e1d"></a>if_needed&#160;</td><td class="fielddoc"><p>If filesystem entry exists that is used, else one is created. </p>
</td></tr>
<tr><td class="fieldname"><a id="af0b352d0f273ba6fa70c178b2c2fee42abb872caae430ba70f670508aca38feed"></a>truncate_existing&#160;</td><td class="fielddoc"><p>Filesystem entry must already exist. It is atomically truncated on open, leaving creation date and unique identifier unmodified. </p>
</td></tr>
<tr><td class="fieldname"><a id="af0b352d0f273ba6fa70c178b2c2fee42af7cf95e0f43dc8f79e39ae628c85a11d"></a>always_new&#160;</td><td class="fielddoc"><p>If filesystem entry exists, it is atomically replaced with a new inode, else a new entry is created. </p>
</td></tr>
</table>
<div class="fragment"><div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;                      : <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span></div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;  {</div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;    open_existing = 0,  <span class="comment">//!&lt; Filesystem entry must already exist</span></div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;<span class="comment"></span>    only_if_not_exist,  <span class="comment">//!&lt; Filesystem entry must NOT exist, and is atomically created by the success of this operation</span></div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;<span class="comment"></span>    if_needed,          <span class="comment">//!&lt; If filesystem entry exists that is used, else one is created</span></div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;<span class="comment"></span>    truncate_existing,  <span class="comment">//!&lt; Filesystem entry must already exist. It is atomically truncated on open, leaving creation date and unique identifier unmodified.</span></div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;<span class="comment"></span>    always_new          <span class="comment">//!&lt; If filesystem entry exists, it is atomically replaced with a new inode, else a new entry is created.</span></div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;<span class="comment"></span>                        <span class="comment">// NOTE: IF UPDATING THIS UPDATE THE std::ostream PRINTER BELOW!!!</span></div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;  };</div>
</div><!-- fragment -->
</div>
</div>
<a id="aa3930273a2d4cabbac309e0b75701dca"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa3930273a2d4cabbac309e0b75701dca">&#9670;&nbsp;</a></span>mode</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classllfio__v2__xxx_1_1handle.html#aa3930273a2d4cabbac309e0b75701dca">llfio_v2_xxx::handle::mode</a> : unsigned char</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">strong</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>The behaviour of the handle: does it read, read and write, or atomic append? </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="aa3930273a2d4cabbac309e0b75701dcaa334c4a4c42fdb79d7ebc3e73b517e6f8"></a>none&#160;</td><td class="fielddoc"><p>No ability to read or write anything, but can synchronise (SYNCHRONIZE or 0) </p>
</td></tr>
<tr><td class="fieldname"><a id="aa3930273a2d4cabbac309e0b75701dcaaa4daf6d1e8da35af49c33bbe9ee91d79"></a>attr_read&#160;</td><td class="fielddoc"><p>Ability to read attributes (FILE_READ_ATTRIBUTES|SYNCHRONIZE or O_RDONLY) </p>
</td></tr>
<tr><td class="fieldname"><a id="aa3930273a2d4cabbac309e0b75701dcaa9f56aff64cb748e078ab221474132d19"></a>attr_write&#160;</td><td class="fielddoc"><p>Ability to read and write attributes (FILE_READ_ATTRIBUTES|FILE_WRITE_ATTRIBUTES|SYNCHRONIZE or O_RDONLY) </p>
</td></tr>
<tr><td class="fieldname"><a id="aa3930273a2d4cabbac309e0b75701dcaaecae13117d6f0584c25a9da6c8f8415e"></a>read&#160;</td><td class="fielddoc"><p>Ability to read (READ_CONTROL|FILE_READ_DATA|FILE_READ_ATTRIBUTES|FILE_READ_EA|SYNCHRONISE or O_RDONLY) </p>
</td></tr>
<tr><td class="fieldname"><a id="aa3930273a2d4cabbac309e0b75701dcaaefb2a684e4afb7d55e6147fbe5a332ee"></a>write&#160;</td><td class="fielddoc"><p>Ability to read and write (READ_CONTROL|FILE_READ_DATA|FILE_READ_ATTRIBUTES|FILE_READ_EA|FILE_WRITE_DATA|FILE_WRITE_ATTRIBUTES|FILE_WRITE_EA|FILE_APPEND_DATA|SYNCHRONISE or O_RDWR) </p>
</td></tr>
<tr><td class="fieldname"><a id="aa3930273a2d4cabbac309e0b75701dcaa9516dfb15f51c7ee19a4d46b8c0dbe1d"></a>append&#160;</td><td class="fielddoc"><p>All mainstream OSs and CIFS guarantee this is atomic with respect to all other appenders (FILE_APPEND_DATA|SYNCHRONISE or O_APPEND) </p>
</td></tr>
</table>
<div class="fragment"><div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;                  : <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span>  <span class="comment">// bit 0 set means writable</span></div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;  {</div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;    unchanged = 0,</div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;    none = 2,        <span class="comment">//!&lt; No ability to read or write anything, but can synchronise (SYNCHRONIZE or 0)</span></div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;<span class="comment"></span>    attr_read = 4,   <span class="comment">//!&lt; Ability to read attributes (FILE_READ_ATTRIBUTES|SYNCHRONIZE or O_RDONLY)</span></div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;<span class="comment"></span>    attr_write = 5,  <span class="comment">//!&lt; Ability to read and write attributes (FILE_READ_ATTRIBUTES|FILE_WRITE_ATTRIBUTES|SYNCHRONIZE or O_RDONLY)</span></div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;<span class="comment"></span>    <a class="code" href="namespacellfio__v2__xxx.html#af678f58d20e1f0962ff0744150342683">read</a> = 6,        <span class="comment">//!&lt; Ability to read (READ_CONTROL|FILE_READ_DATA|FILE_READ_ATTRIBUTES|FILE_READ_EA|SYNCHRONISE or O_RDONLY)</span></div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;<span class="comment"></span>    <a class="code" href="namespacellfio__v2__xxx.html#a5a8908704c9988bbecc69c2359e6fd4a">write</a> = 7,       <span class="comment">//!&lt; Ability to read and write (READ_CONTROL|FILE_READ_DATA|FILE_READ_ATTRIBUTES|FILE_READ_EA|FILE_WRITE_DATA|FILE_WRITE_ATTRIBUTES|FILE_WRITE_EA|FILE_APPEND_DATA|SYNCHRONISE or O_RDWR)</span></div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;<span class="comment"></span>    append = 9       <span class="comment">//!&lt; All mainstream OSs and CIFS guarantee this is atomic with respect to all other appenders (FILE_APPEND_DATA|SYNCHRONISE or O_APPEND)</span></div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;<span class="comment"></span>                     <span class="comment">// NOTE: IF UPDATING THIS UPDATE THE std::ostream PRINTER BELOW!!!</span></div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;  };</div>
</div><!-- fragment -->
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="aeea4389189021b94dde6d8f2c3ccc5b3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeea4389189021b94dde6d8f2c3ccc5b3">&#9670;&nbsp;</a></span>clone()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">result&lt;<a class="el" href="classllfio__v2__xxx_1_1handle.html">handle</a>&gt; llfio_v2_xxx::handle::clone </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">inline</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Clone this handle (copy constructor is disabled to avoid accidental copying)</p>
<dl class="section user"><dt>Errors returnable\n Any of the values POSIX dup() or DuplicateHandle() can return.</dt><dd></dd></dl>

</div>
</div>
<a id="a00a85eec5a41f7edb2c574d40cf04535"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a00a85eec5a41f7edb2c574d40cf04535">&#9670;&nbsp;</a></span>current_path()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual result&lt;<a class="el" href="classllfio__v2__xxx_1_1handle.html#a33481bae57d9ccd0c97946416f9682f3">path_type</a>&gt; llfio_v2_xxx::handle::current_path </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">inline</span><span class="mlabel">virtual</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Returns the current path of the open handle as said by the operating system. Note that you are NOT guaranteed that any path refreshed bears any resemblance to the original, some operating systems will return some different path which still reaches the same inode via some other route e.g. hardlinks, dereferenced symbolic links, etc. Windows and Linux correctly track changes to the specific path the handle was opened with, not getting confused by other hard links. MacOS nearly gets it right, but under some circumstances e.g. renaming may switch to a different hard link's path which is almost certainly a bug.</p>
<p>If LLFIO was not able to determine the current path for this open handle e.g. the inode has been unlinked, it returns an empty path. Be aware that FreeBSD can return an empty (deleted) path for file inodes no longer cached by the kernel path cache, LLFIO cannot detect the difference. FreeBSD will also return any path leading to the inode if it is hard linked. FreeBSD does implement path retrieval for directory inodes correctly however, and see <code>algorithm::cached_parent_handle_adapter&lt;T&gt;</code> for a handle adapter which makes use of that.</p>
<p>On Linux if <code>/proc</code> is not mounted, this call fails with an error. All APIs in LLFIO which require the use of <code>current_path()</code> can be told to not use it e.g. <code>flag::disable_safety_unlinks</code>. It is up to you to detect if <code>current_path()</code> is not working, and to change how you call LLFIO appropriately.</p>
<p>On Windows, you will almost certainly get back a path of the form <code>\!!\Device\HarddiskVolume10\Users\ned\...</code>. See <code>path_view</code> for what all the path prefix sequences mean, but to summarise the <code>\!!\</code> prefix is LLFIO-only and will not be accepted by other Windows APIs. Pass LLFIO derived paths through the function <code>to_win32_path()</code> to Win32-ise them. This function is also available on Linux where it does nothing, so you can use it in portable code.</p>
<dl class="section warning"><dt>Warning</dt><dd>This call is expensive, it always asks the kernel for the current path, and no checking is done to ensure what the kernel returns is accurate or even sensible. Be aware that despite these precautions, paths are unstable and <b>can change randomly at any moment</b>. Most code written to use absolute file systems paths is <b>racy</b>, so don't do it, use <code>path_handle</code> to fix a base location on the file system and work from that anchor instead!</dd></dl>
<dl class="section user"><dt>Memory Allocations\n At least one malloc for the path_type, likely several more.</dt><dd></dd></dl>
<dl class="section see"><dt>See also</dt><dd><code>algorithm::cached_parent_handle_adapter&lt;T&gt;</code> which overrides this with an implementation based on retrieving the current path of a cached handle to the parent directory. On platforms with instability or failure to retrieve the correct current path for regular files, the cached parent handle adapter works around the problem by taking advantage of directory inodes not having the same instability problems on any platform. </dd></dl>

<p>Reimplemented in <a class="el" href="classllfio__v2__xxx_1_1symlink__handle.html#aea44ed050acfd8e4f9dec59ff194c746">llfio_v2_xxx::symlink_handle</a>, and <a class="el" href="classllfio__v2__xxx_1_1process__handle.html#a8ed1f5dda9dcf9d59710acc9c91df943">llfio_v2_xxx::process_handle</a>.</p>

</div>
</div>
<a id="ac5222904f116c9beb0515a4a5aa850bf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac5222904f116c9beb0515a4a5aa850bf">&#9670;&nbsp;</a></span>QUICKCPPLIB_BITFIELD_BEGIN()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">llfio_v2_xxx::handle::QUICKCPPLIB_BITFIELD_BEGIN </td>
          <td>(</td>
          <td class="paramtype">flag&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Bitwise flags which can be specified. </p>
<p>&lt; No flags</p>
<p>Unlinks the file on handle close. On POSIX, this simply unlinks whatever is pointed to by <code>path()</code> upon the call of <code>close()</code> if and only if the inode matches. On Windows, if you are on Windows 10 1709 or later, exactly the same thing occurs. If on previous editions of Windows, the file entry does not disappears but becomes unavailable for anyone else to open with an <code>errc::resource_unavailable_try_again</code> error return. Because this is confusing, unless the <code>win_disable_unlink_emulation</code> flag is also specified, this POSIX behaviour is somewhat emulated by LLFIO on older Windows by renaming the file to a random name on <code>close()</code> causing it to appear to have been unlinked immediately.</p>
<p>Some kernel caching modes have unhelpfully inconsistent behaviours in getting your data onto storage, so by default unless this flag is specified LLFIO adds extra fsyncs to the following operations for the caching modes specified below: truncation of file length either explicitly or during file open. closing of the handle either explicitly or in the destructor.</p>
<p>Additionally on Linux only to prevent loss of file metadata: On the parent directory whenever a file might have been created. On the parent directory on file close.</p>
<p>This only occurs for these kernel caching modes: caching::none caching::reads caching::reads_and_metadata caching::safety_barriers</p>
<p><code>file_handle::unlink()</code> could accidentally delete the wrong file if someone has renamed the open file handle since the time it was opened. To prevent this occuring, where the OS doesn't provide race free unlink-by-open-handle we compare the inode of the path we are about to unlink with that of the open handle before unlinking. </p><dl class="section warning"><dt>Warning</dt><dd>This does not prevent races where in between the time of checking the inode and executing the unlink a third party changes the item about to be unlinked. Only operating systems with a true race-free unlink syscall are race free.</dd></dl>
<p>Ask the OS to disable prefetching of data. This can improve random i/o performance.</p>
<p>Ask the OS to maximise prefetching of data, possibly prefetching the entire file into kernel cache. This can improve sequential i/o performance.</p>
<p>&lt; See the documentation for <code>unlink_on_first_close</code></p>
<p>Microsoft Windows NTFS, having been created in the late 1980s, did not originally implement extents-based storage and thus could only represent sparse files via efficient compression of intermediate zeros. With NTFS v3.0 (Microsoft Windows 2000), a proper extents-based on-storage representation was added, thus allowing only 64Kb extent chunks written to be stored irrespective of whatever the maximum file extent was set to.</p>
<p>For various historical reasons, extents-based storage is disabled by default in newly created files on NTFS, unlike in almost every other major filing system. You have to explicitly "opt in" to extents-based storage.</p>
<p>As extents-based storage is nearly cost free on NTFS, LLFIO by default opts in to extents-based storage for any empty file it creates. If you don't want this, you can specify this flag to prevent that happening.</p>
<p>Filesystems tend to be embarrassingly parallel for operations performed to different inodes. Where LLFIO performs i/o to multiple inodes at a time, it will use OpenMP or the Parallelism or Concurrency standard library extensions to usually complete the operation in constant rather than linear time. If you don't want this default, you can disable default using this flag.</p>
<p>Microsoft Windows NTFS has the option, when creating a directory, to set whether leafname lookup will be case sensitive. This is the only way of getting exact POSIX semantics on Windows without resorting to editing the system registry, however it also affects all code doing lookups within that directory, so we must default it to off.</p>
<p>Create the handle in a way where i/o upon it can be multiplexed with other i/o on the same initiating thread of execution i.e. you can perform more than one read concurrently, without using threads. The blocking operations <code>.read()</code> and <code>.write()</code> may have to use a less efficient, but cancellable, blocking implementation for handles created in this way. On Microsoft Windows, this creates handles with <code>OVERLAPPED</code> semantics. On POSIX, this creates handles with nonblocking semantics for non-file handles such as pipes and sockets, however for file, directory and symlink handles it does not set nonblocking, as it is non-portable.</p>
<p>&lt; Using insane POSIX byte range locks</p>
<p>&lt; This is an inode created with no representation on the filing system</p>
<div class="fragment"><div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;                                  {</div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;  none = 0,  <span class="comment">//!&lt; No flags</span></div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;<span class="comment"></span><span class="comment">  /*! Unlinks the file on handle close. On POSIX, this simply unlinks whatever is pointed</span></div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;<span class="comment">  to by `path()` upon the call of `close()` if and only if the inode matches. On Windows,</span></div>
<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;<span class="comment">  if you are on Windows 10 1709 or later, exactly the same thing occurs. If on previous</span></div>
<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;<span class="comment">  editions of Windows, the file entry does not disappears but becomes unavailable for</span></div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;<span class="comment">  anyone else to open with an `errc::resource_unavailable_try_again` error return. Because this is confusing, unless the</span></div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;<span class="comment">  `win_disable_unlink_emulation` flag is also specified, this POSIX behaviour is</span></div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;<span class="comment">  somewhat emulated by LLFIO on older Windows by renaming the file to a random name on `close()`</span></div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;<span class="comment">  causing it to appear to have been unlinked immediately.</span></div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;<span class="comment">  */</span></div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;  unlink_on_first_close = 1U &lt;&lt; 0U,</div>
<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;<span class="comment">  /*! Some kernel caching modes have unhelpfully inconsistent behaviours</span></div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;<span class="comment">  in getting your data onto storage, so by default unless this flag is</span></div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;<span class="comment">  specified LLFIO adds extra fsyncs to the following operations for the</span></div>
<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;<span class="comment">  caching modes specified below:</span></div>
<div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;<span class="comment">  * truncation of file length either explicitly or during file open.</span></div>
<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;<span class="comment">  * closing of the handle either explicitly or in the destructor.</span></div>
<div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;<span class="comment">  Additionally on Linux only to prevent loss of file metadata:</span></div>
<div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;<span class="comment">  * On the parent directory whenever a file might have been created.</span></div>
<div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;<span class="comment">  * On the parent directory on file close.</span></div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;<span class="comment">  This only occurs for these kernel caching modes:</span></div>
<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;<span class="comment">  * caching::none</span></div>
<div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;<span class="comment">  * caching::reads</span></div>
<div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;<span class="comment">  * caching::reads_and_metadata</span></div>
<div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;<span class="comment">  * caching::safety_barriers</span></div>
<div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;<span class="comment">  */</span></div>
<div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;  disable_safety_barriers = 1U &lt;&lt; 2U,<span class="comment"></span></div>
<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;<span class="comment">  /*! `file_handle::unlink()` could accidentally delete the wrong file if someone has</span></div>
<div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;<span class="comment">  renamed the open file handle since the time it was opened. To prevent this occuring,</span></div>
<div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;<span class="comment">  where the OS doesn&#39;t provide race free unlink-by-open-handle we compare the inode of</span></div>
<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;<span class="comment">  the path we are about to unlink with that of the open handle before unlinking.</span></div>
<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;<span class="comment">  \warning This does not prevent races where in between the time of checking the inode</span></div>
<div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;<span class="comment">  and executing the unlink a third party changes the item about to be unlinked. Only</span></div>
<div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;<span class="comment">  operating systems with a true race-free unlink syscall are race free.</span></div>
<div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;<span class="comment">  */</span></div>
<div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;  disable_safety_unlinks = 1U &lt;&lt; 3U,<span class="comment"></span></div>
<div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;<span class="comment">  /*! Ask the OS to disable prefetching of data. This can improve random</span></div>
<div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;<span class="comment">  i/o performance.</span></div>
<div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;<span class="comment">  */</span></div>
<div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;  disable_prefetching = 1U &lt;&lt; 4U,<span class="comment"></span></div>
<div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;<span class="comment">  /*! Ask the OS to maximise prefetching of data, possibly prefetching the entire file</span></div>
<div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;<span class="comment">  into kernel cache. This can improve sequential i/o performance.</span></div>
<div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;<span class="comment">  */</span></div>
<div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;  maximum_prefetching = 1U &lt;&lt; 5U,</div>
<div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160; </div>
<div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;  win_disable_unlink_emulation = 1U &lt;&lt; 24U,  <span class="comment">//!&lt; See the documentation for `unlink_on_first_close`</span></div>
<div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;<span class="comment"></span><span class="comment">  /*! Microsoft Windows NTFS, having been created in the late 1980s, did not originally</span></div>
<div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;<span class="comment">  implement extents-based storage and thus could only represent sparse files via</span></div>
<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;<span class="comment">  efficient compression of intermediate zeros. With NTFS v3.0 (Microsoft Windows 2000),</span></div>
<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;<span class="comment">  a proper extents-based on-storage representation was added, thus allowing only 64Kb</span></div>
<div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;<span class="comment">  extent chunks written to be stored irrespective of whatever the maximum file extent</span></div>
<div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;<span class="comment">  was set to.</span></div>
<div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;<span class="comment">  For various historical reasons, extents-based storage is disabled by default in newly</span></div>
<div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;<span class="comment">  created files on NTFS, unlike in almost every other major filing system. You have to</span></div>
<div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;<span class="comment">  explicitly &quot;opt in&quot; to extents-based storage.</span></div>
<div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;<span class="comment">  As extents-based storage is nearly cost free on NTFS, LLFIO by default opts in to</span></div>
<div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;<span class="comment">  extents-based storage for any empty file it creates. If you don&#39;t want this, you</span></div>
<div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;<span class="comment">  can specify this flag to prevent that happening.</span></div>
<div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;<span class="comment">  */</span></div>
<div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;  win_disable_sparse_file_creation = 1U &lt;&lt; 25U,<span class="comment"></span></div>
<div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;<span class="comment">  /*! Filesystems tend to be embarrassingly parallel for operations performed to different</span></div>
<div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;<span class="comment">  inodes. Where LLFIO performs i/o to multiple inodes at a time, it will use OpenMP or</span></div>
<div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;<span class="comment">  the Parallelism or Concurrency standard library extensions to usually complete the</span></div>
<div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;<span class="comment">  operation in constant rather than linear time. If you don&#39;t want this default, you can</span></div>
<div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;<span class="comment">  disable default using this flag.</span></div>
<div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;<span class="comment">  */</span></div>
<div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;  disable_parallelism = 1U &lt;&lt; 26U,<span class="comment"></span></div>
<div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;<span class="comment">  /*! Microsoft Windows NTFS has the option, when creating a directory, to set whether</span></div>
<div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;<span class="comment">  leafname lookup will be case sensitive. This is the only way of getting exact POSIX</span></div>
<div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160;<span class="comment">  semantics on Windows without resorting to editing the system registry, however it also</span></div>
<div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;<span class="comment">  affects all code doing lookups within that directory, so we must default it to off.</span></div>
<div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;<span class="comment">  */</span></div>
<div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;  win_create_case_sensitive_directory = 1U &lt;&lt; 27U,</div>
<div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;<span class="comment">  /*! Create the handle in a way where i/o upon it can be multiplexed with other i/o</span></div>
<div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;<span class="comment">  on the same initiating thread of execution i.e. you can perform more than one read</span></div>
<div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;<span class="comment">  concurrently, without using threads. The blocking operations `.read()` and `.write()`</span></div>
<div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;<span class="comment">  may have to use a less efficient, but cancellable, blocking implementation for handles created</span></div>
<div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;<span class="comment">  in this way. On Microsoft Windows, this creates handles with `OVERLAPPED` semantics.</span></div>
<div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;<span class="comment">  On POSIX, this creates handles with nonblocking semantics for non-file handles such</span></div>
<div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;<span class="comment">  as pipes and sockets, however for file, directory and symlink handles it does not set</span></div>
<div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;<span class="comment">  nonblocking, as it is non-portable.</span></div>
<div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;<span class="comment">  */</span></div>
<div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;  multiplexable = 1U &lt;&lt; 28U,</div>
<div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160; </div>
<div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;  <span class="comment">// NOTE: IF UPDATING THIS UPDATE THE std::ostream PRINTER BELOW!!!</span></div>
<div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160; </div>
<div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;  byte_lock_insanity = 1U &lt;&lt; 29U,  <span class="comment">//!&lt; Using insane POSIX byte range locks</span></div>
<div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160;<span class="comment"></span>  anonymous_inode = 1U &lt;&lt; 30U      <span class="comment">//!&lt; This is an inode created with no representation on the filing system</span></div>
<div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;<span class="comment"></span>  } QUICKCPPLIB_BITFIELD_END(flag);</div>
</div><!-- fragment -->
</div>
</div>
<a id="a101620e9fff0c0e8c346af0e9de58b6a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a101620e9fff0c0e8c346af0e9de58b6a">&#9670;&nbsp;</a></span>set_append_only()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual result&lt;void&gt; llfio_v2_xxx::handle::set_append_only </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>enable</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>EXTENSION: Changes whether this handle is append only or not. </p>
<dl class="section warning"><dt>Warning</dt><dd>On Windows this is implemented as a bit of a hack to make it fast like on POSIX, so make sure you open the handle for read/write originally. Note unlike on POSIX the append_only disposition will be the only one toggled, seekable and readable will remain turned on.</dd></dl>
<dl class="section user"><dt>Errors returnable\n Whatever POSIX fcntl() returns. On Windows nothing is changed on the handle.</dt><dd></dd></dl>
<dl class="section user"><dt>Memory Allocations\n No memory allocation.</dt><dd></dd></dl>

<p>Reimplemented in <a class="el" href="classllfio__v2__xxx_1_1process__handle.html#ab64c9fc14fc555b5ec8571863458bf83">llfio_v2_xxx::process_handle</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>include/llfio/v2.0/<a class="el" href="handle_8hpp.html">handle.hpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<div class="ttc" id="anamespacellfio__v2__xxx_html_a5a8908704c9988bbecc69c2359e6fd4a"><div class="ttname"><a href="namespacellfio__v2__xxx.html#a5a8908704c9988bbecc69c2359e6fd4a">llfio_v2_xxx::write</a></div><div class="ttdeci">io_handle::io_result&lt; io_handle::const_buffers_type &gt; write(io_handle &amp;self, io_handle::io_request&lt; io_handle::const_buffers_type &gt; reqs, deadline d=deadline()) noexcept</div><div class="ttdoc">Write data to the open handle.</div><div class="ttdef"><b>Definition:</b> io_handle.hpp:596</div></div>
<div class="ttc" id="anamespacellfio__v2__xxx_html_af678f58d20e1f0962ff0744150342683"><div class="ttname"><a href="namespacellfio__v2__xxx.html#af678f58d20e1f0962ff0744150342683">llfio_v2_xxx::read</a></div><div class="ttdeci">file_handle::io_result&lt; file_handle::size_type &gt; read(file_handle &amp;self, file_handle::extent_type offset, std::initializer_list&lt; file_handle::buffer_type &gt; lst, deadline d=deadline()) noexcept</div><div class="ttdoc">This is an overloaded member function, provided for convenience. It differs from the above function o...</div><div class="ttdef"><b>Definition:</b> file_handle.hpp:479</div></div>
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespacellfio__v2__xxx.html">llfio_v2_xxx</a></li><li class="navelem"><a class="el" href="classllfio__v2__xxx_1_1handle.html">handle</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.17 </li>
  </ul>
</div>
</body>
</html>