@@ -8767,10 +8767,36 @@ The following constants are meant for use with `fs.open()`.
87678767 is available on Windows operating systems only. On other operating systems,
87688768 this flag is ignored.</td>
87698769 </tr>
8770+ <tr>
8771+ <td><code>UV_FS_O_TEMPORARY</code></td>
8772+ <td>When set, the file is deleted automatically when the last handle to it
8773+ is closed. This flag is available on Windows operating systems only. On
8774+ other operating systems, this flag is ignored.</td>
8775+ </tr>
8776+ <tr>
8777+ <td><code>UV_FS_O_SHORT_LIVED</code></td>
8778+ <td>Hint that the file is short-lived, so the system avoids flushing it to
8779+ disk when possible. This flag is available on Windows operating systems
8780+ only. On other operating systems, this flag is ignored.</td>
8781+ </tr>
8782+ <tr>
8783+ <td><code>UV_FS_O_SEQUENTIAL</code></td>
8784+ <td>Hint that the file is accessed sequentially from beginning to end, to
8785+ optimize caching. This flag is available on Windows operating systems only.
8786+ On other operating systems, this flag is ignored.</td>
8787+ </tr>
8788+ <tr>
8789+ <td><code>UV_FS_O_RANDOM</code></td>
8790+ <td>Hint that the file is accessed randomly, to optimize caching. This flag
8791+ is available on Windows operating systems only. On other operating systems,
8792+ this flag is ignored.</td>
8793+ </tr>
87708794</table>
87718795
87728796On Windows, only ` O_APPEND ` , ` O_CREAT ` , ` O_EXCL ` , ` O_RDONLY ` , ` O_RDWR ` ,
8773- ` O_TRUNC ` , ` O_WRONLY ` , and ` UV_FS_O_FILEMAP ` are available.
8797+ ` O_TRUNC ` , ` O_WRONLY ` , ` UV_FS_O_FILEMAP ` , ` UV_FS_O_TEMPORARY ` ,
8798+ ` UV_FS_O_SHORT_LIVED ` , ` UV_FS_O_SEQUENTIAL ` , and ` UV_FS_O_RANDOM ` are
8799+ available.
87748800
87758801##### File type constants
87768802
0 commit comments