Skip to content

Latest commit

 

History

History
689 lines (458 loc) · 23 KB

fs.rst

File metadata and controls

689 lines (458 loc) · 23 KB

File system operations

libuv provides a wide variety of cross-platform sync and async file system operations. All functions defined in this document take a callback, which is allowed to be NULL. If the callback is NULL the request is completed synchronously, otherwise it will be performed asynchronously.

All file operations are run on the threadpool. See threadpool for information on the threadpool size.

Note

On Windows uv_fs_* functions use utf-8 encoding.

Data types

Public members

The :cuv_req_t members also apply.

API

The :cuv_req_t API functions also apply.

Helper functions

File open constants