Go to the documentation of this file.
25 #if defined(__unix__) || defined(__POSIX__) || \
26 defined(__APPLE__) || defined(__sun) || \
27 defined(_AIX) || defined(__MVS__) || \
33 # define unlink _unlink
36 static const char fixture[] =
"test/fixtures/load_error.node";
37 static const char dst[] =
"test_file_dst";
42 FATAL(
"fail_cb should not have been called");
78 S_IWUSR | S_IRUSR, NULL);
99 const char src[] =
"test_file_src";
200 chmod(
dst, S_IRUSR|S_IRGRP|S_IROTH);
#define UV_FS_COPYFILE_EXCL
UV_EXTERN int uv_fs_open(uv_loop_t *loop, uv_fs_t *req, const char *path, int flags, int mode, uv_fs_cb cb)
UV_EXTERN int uv_fs_copyfile(uv_loop_t *loop, uv_fs_t *req, const char *path, const char *new_path, int flags, uv_fs_cb cb)
const grpc_generator::File * file
UV_EXTERN int uv_fs_stat(uv_loop_t *loop, uv_fs_t *req, const char *path, uv_fs_cb cb)
UV_EXTERN int uv_run(uv_loop_t *, uv_run_mode mode)
UV_EXTERN uv_loop_t * uv_default_loop(void)
static const char fixture[]
#define UV_FS_COPYFILE_FICLONE
unsigned __int64 uint64_t
UV_EXTERN int uv_fs_close(uv_loop_t *loop, uv_fs_t *req, uv_file file, uv_fs_cb cb)
static void fail_cb(uv_fs_t *req)
#define UV_FS_COPYFILE_FICLONE_FORCE
UV_EXTERN int uv_fs_write(uv_loop_t *loop, uv_fs_t *req, uv_file file, const uv_buf_t bufs[], unsigned int nbufs, int64_t offset, uv_fs_cb cb)
UV_EXTERN uv_buf_t uv_buf_init(char *base, unsigned int len)
static void handle_result(uv_fs_t *req)
UV_EXTERN void uv_fs_req_cleanup(uv_fs_t *req)
static int result_check_count
static void touch_file(const char *name, unsigned int size)
grpc
Author(s):
autogenerated on Fri May 16 2025 03:00:26