Lines Matching refs:file

29 A file descriptor is obtained using
43 int uv_fs_close(uv_loop_t* loop, uv_fs_t* req, uv_file file, uv_fs_cb cb)
53 a callback for when the file is opened:
55 .. rubric:: uvcat/main.c - opening a file
62 The ``result`` field of a ``uv_fs_t`` is the file descriptor in case of the
63 ``uv_fs_open`` callback. If the file is successfully opened, we start reading it.
127 int uv_fs_close(uv_loop_t* loop, uv_fs_t* req, uv_file file, uv_fs_cb cb);
129 …int uv_fs_read(uv_loop_t* loop, uv_fs_t* req, uv_file file, const uv_buf_t bufs[], unsigned int nb…
131 …int uv_fs_write(uv_loop_t* loop, uv_fs_t* req, uv_file file, const uv_buf_t bufs[], unsigned int n…
143 int uv_fs_fstat(uv_loop_t* loop, uv_fs_t* req, uv_file file, uv_fs_cb cb);
145 int uv_fs_fsync(uv_loop_t* loop, uv_fs_t* req, uv_file file, uv_fs_cb cb);
146 int uv_fs_fdatasync(uv_loop_t* loop, uv_fs_t* req, uv_file file, uv_fs_cb cb);
147 int uv_fs_ftruncate(uv_loop_t* loop, uv_fs_t* req, uv_file file, int64_t offset, uv_fs_cb cb);
152 …int uv_fs_futime(uv_loop_t* loop, uv_fs_t* req, uv_file file, double atime, double mtime, uv_fs_cb…
159 int uv_fs_fchmod(uv_loop_t* loop, uv_fs_t* req, uv_file file, int mode, uv_fs_cb cb);
161 …int uv_fs_fchown(uv_loop_t* loop, uv_fs_t* req, uv_file file, uv_uid_t uid, uv_gid_t gid, uv_fs_cb…
172 sockets, and pipes for file I/O and IPC are all treated as stream subclasses.
208 We start off opening pipes on the files we require. libuv pipes to a file are
220 associates the pipe with the file descriptor, in this case ``0`` (standard
283 file change notification libraries [#fsnotify]_. This is one of the more
298 The file change notification is started using ``uv_fs_event_init()``:
307 The third argument is the actual file or directory to monitor. The last
328 is the file on which the watch was set.
330 file which was changed. Only non-``null`` on Linux and Windows. May be ``null``
339 .. rubric:: onchange/main.c - file change notification callback