Lines Matching refs:c

21 again. In order to enable io_uring the :c:type:`uv_loop_t` instance must be
22 configured with the :c:type:`UV_LOOP_ENABLE_IO_URING_SQPOLL` option.
30 .. c:type:: uv_fs_t
34 .. c:type:: uv_timespec_t
37 Will be replaced with :c:type:`uv_timespec64_t` in libuv v2.0.
46 .. c:type:: uv_stat_t
71 .. c:enum:: uv_fs_type
117 .. c:type:: uv_statfs_t
120 Used in :c:func:`uv_fs_statfs`.
135 .. c:enum:: uv_dirent_type_t
153 .. c:type:: uv_dirent_t
156 Used in :c:func:`uv_fs_scandir_next`.
165 .. c:type:: uv_dir_t
168 Used by :c:func:`uv_fs_opendir()`, :c:func:`uv_fs_readdir()`, and
169 :c:func:`uv_fs_closedir()`. `dirents` represents a user provided array of
180 .. c:type:: void (*uv_fs_cb)(uv_fs_t* req)
188 .. c:member:: uv_loop_t* uv_fs_t.loop
193 .. c:member:: uv_fs_type uv_fs_t.fs_type
197 .. c:member:: const char* uv_fs_t.path
201 .. c:member:: ssize_t uv_fs_t.result
204 as :c:func:`uv_fs_read` or :c:func:`uv_fs_write` it indicates the amount of
207 .. c:member:: uv_stat_t uv_fs_t.statbuf
209 Stores the result of :c:func:`uv_fs_stat` and other stat requests.
211 .. c:member:: void* uv_fs_t.ptr
213 Stores the result of :c:func:`uv_fs_readlink` and
214 :c:func:`uv_fs_realpath` and serves as an alias to `statbuf`.
216 .. seealso:: The :c:type:`uv_req_t` members also apply.
222 .. c:function:: void uv_fs_req_cleanup(uv_fs_t* req)
227 .. c:function:: int uv_fs_close(uv_loop_t* loop, uv_fs_t* req, uv_file file, uv_fs_cb cb)
231 .. c:function:: int uv_fs_open(uv_loop_t* loop, uv_fs_t* req, const char* path, int flags, int mode…
240 .. c:function:: int uv_fs_read(uv_loop_t* loop, uv_fs_t* req, uv_file file, const uv_buf_t bufs[], …
250 .. c:function:: int uv_fs_unlink(uv_loop_t* loop, uv_fs_t* req, const char* path, uv_fs_cb cb)
254 .. c:function:: int uv_fs_write(uv_loop_t* loop, uv_fs_t* req, uv_file file, const uv_buf_t bufs[],…
264 .. c:function:: int uv_fs_mkdir(uv_loop_t* loop, uv_fs_t* req, const char* path, int mode, uv_fs_cb…
271 .. c:function:: int uv_fs_mkdtemp(uv_loop_t* loop, uv_fs_t* req, const char* tpl, uv_fs_cb cb)
275 .. c:function:: int uv_fs_mkstemp(uv_loop_t* loop, uv_fs_t* req, const char* tpl, uv_fs_cb cb)
282 .. c:function:: int uv_fs_rmdir(uv_loop_t* loop, uv_fs_t* req, const char* path, uv_fs_cb cb)
286 .. c:function:: int uv_fs_opendir(uv_loop_t* loop, uv_fs_t* req, const char* path, uv_fs_cb cb)
299 .. c:function:: int uv_fs_closedir(uv_loop_t* loop, uv_fs_t* req, uv_dir_t* dir, uv_fs_cb cb)
306 .. c:function:: int uv_fs_readdir(uv_loop_t* loop, uv_fs_t* req, uv_dir_t* dir, uv_fs_cb cb)
311 :c:type:`uv_dirent_t` elements used to hold the read directory entries and
330 .. c:function:: int uv_fs_scandir(uv_loop_t* loop, uv_fs_t* req, const char* path, int flags, uv_fs…
331 .. c:function:: int uv_fs_scandir_next(uv_fs_t* req, uv_dirent_t* ent)
334 for the request is called, the user can use :c:func:`uv_fs_scandir_next` to
345 .. c:function:: int uv_fs_stat(uv_loop_t* loop, uv_fs_t* req, const char* path, uv_fs_cb cb)
346 .. c:function:: int uv_fs_fstat(uv_loop_t* loop, uv_fs_t* req, uv_file file, uv_fs_cb cb)
347 .. c:function:: int uv_fs_lstat(uv_loop_t* loop, uv_fs_t* req, const char* path, uv_fs_cb cb)
351 .. c:function:: int uv_fs_statfs(uv_loop_t* loop, uv_fs_t* req, const char* path, uv_fs_cb cb)
362 .. c:function:: int uv_fs_rename(uv_loop_t* loop, uv_fs_t* req, const char* path, const char* new_p…
366 .. c:function:: int uv_fs_fsync(uv_loop_t* loop, uv_fs_t* req, uv_file file, uv_fs_cb cb)
374 .. c:function:: int uv_fs_fdatasync(uv_loop_t* loop, uv_fs_t* req, uv_file file, uv_fs_cb cb)
378 .. c:function:: int uv_fs_ftruncate(uv_loop_t* loop, uv_fs_t* req, uv_file file, int64_t offset, uv…
382 .. c:function:: int uv_fs_copyfile(uv_loop_t* loop, uv_fs_t* req, const char* path, const char* new…
393 :c:func:`uv_fs_sendfile()` is used.
414 .. c:function:: int uv_fs_sendfile(uv_loop_t* loop, uv_fs_t* req, uv_file out_fd, uv_file in_fd, in…
418 .. c:function:: int uv_fs_access(uv_loop_t* loop, uv_fs_t* req, const char* path, int mode, uv_fs_c…
422 .. c:function:: int uv_fs_chmod(uv_loop_t* loop, uv_fs_t* req, const char* path, int mode, uv_fs_cb…
423 .. c:function:: int uv_fs_fchmod(uv_loop_t* loop, uv_fs_t* req, uv_file file, int mode, uv_fs_cb cb)
427 .. c:function:: int uv_fs_utime(uv_loop_t* loop, uv_fs_t* req, const char* path, double atime, doub…
428 .. c:function:: int uv_fs_futime(uv_loop_t* loop, uv_fs_t* req, uv_file file, double atime, double …
429 .. c:function:: int uv_fs_lutime(uv_loop_t* loop, uv_fs_t* req, const char* path, double atime, dou…
443 .. c:function:: int uv_fs_link(uv_loop_t* loop, uv_fs_t* req, const char* path, const char* new_pat…
447 .. c:function:: int uv_fs_symlink(uv_loop_t* loop, uv_fs_t* req, const char* path, const char* new_…
460 .. c:function:: int uv_fs_readlink(uv_loop_t* loop, uv_fs_t* req, const char* path, uv_fs_cb cb)
465 .. c:function:: int uv_fs_realpath(uv_loop_t* loop, uv_fs_t* req, const char* path, uv_fs_cb cb)
491 .. c:function:: int uv_fs_chown(uv_loop_t* loop, uv_fs_t* req, const char* path, uv_uid_t uid, uv_g…
492 .. c:function:: int uv_fs_fchown(uv_loop_t* loop, uv_fs_t* req, uv_file file, uv_uid_t uid, uv_gid_…
493 .. c:function:: int uv_fs_lchown(uv_loop_t* loop, uv_fs_t* req, const char* path, uv_uid_t uid, uv_…
502 .. c:function:: uv_fs_type uv_fs_get_type(const uv_fs_t* req)
508 .. c:function:: ssize_t uv_fs_get_result(const uv_fs_t* req)
514 .. c:function:: int uv_fs_get_system_error(const uv_fs_t* req)
521 .. c:function:: void* uv_fs_get_ptr(const uv_fs_t* req)
527 .. c:function:: const char* uv_fs_get_path(const uv_fs_t* req)
533 .. c:function:: uv_stat_t* uv_fs_get_statbuf(uv_fs_t* req)
539 .. seealso:: The :c:type:`uv_req_t` API functions also apply.
544 .. c:function:: uv_os_fd_t uv_get_osfhandle(int fd)
547 …n Windows, this calls `_get_osfhandle <https://docs.microsoft.com/en-us/cpp/c-runtime-library/refe…
553 .. c:function:: int uv_open_osfhandle(uv_os_fd_t os_fd)
556 … Windows, this calls `_open_osfhandle <https://docs.microsoft.com/en-us/cpp/c-runtime-library/refe…
565 .. c:macro:: UV_FS_O_APPEND
570 .. c:macro:: UV_FS_O_CREAT
574 .. c:macro:: UV_FS_O_DIRECT
585 .. c:macro:: UV_FS_O_DIRECTORY
592 .. c:macro:: UV_FS_O_DSYNC
601 .. c:macro:: UV_FS_O_EXCL
612 .. c:macro:: UV_FS_O_EXLOCK
621 .. c:macro:: UV_FS_O_FILEMAP
629 .. c:macro:: UV_FS_O_NOATIME
636 .. c:macro:: UV_FS_O_NOCTTY
645 .. c:macro:: UV_FS_O_NOFOLLOW
652 .. c:macro:: UV_FS_O_NONBLOCK
659 .. c:macro:: UV_FS_O_RANDOM
668 .. c:macro:: UV_FS_O_RDONLY
672 .. c:macro:: UV_FS_O_RDWR
676 .. c:macro:: UV_FS_O_SEQUENTIAL
685 .. c:macro:: UV_FS_O_SHORT_LIVED
693 .. c:macro:: UV_FS_O_SYMLINK
697 .. c:macro:: UV_FS_O_SYNC
706 .. c:macro:: UV_FS_O_TEMPORARY
714 .. c:macro:: UV_FS_O_TRUNC
719 .. c:macro:: UV_FS_O_WRONLY