Macros | Functions | Variables
unix/fs.c File Reference
#include "uv.h"
#include "internal.h"
#include <errno.h>
#include <dlfcn.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <limits.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/stat.h>
#include <sys/time.h>
#include <sys/uio.h>
#include <pthread.h>
#include <unistd.h>
#include <fcntl.h>
#include <poll.h>
#include <sys/statfs.h>
Include dependency graph for unix/fs.c:

Go to the source code of this file.

Macros

#define HAVE_PREADV   0
 
#define INIT(subtype)
 
#define PATH
 
#define PATH2
 
#define POST
 
#define UV_CONST_DIRENT   const uv__dirent_t
 
#define X(type, action)
 

Functions

static size_t uv__fs_buf_offset (uv_buf_t *bufs, size_t size)
 
static int uv__fs_close (int fd)
 
static int uv__fs_closedir (uv_fs_t *req)
 
static ssize_t uv__fs_copyfile (uv_fs_t *req)
 
static void uv__fs_done (struct uv__work *w, int status)
 
static ssize_t uv__fs_fdatasync (uv_fs_t *req)
 
static int uv__fs_fstat (int fd, uv_stat_t *buf)
 
static ssize_t uv__fs_fsync (uv_fs_t *req)
 
static ssize_t uv__fs_futime (uv_fs_t *req)
 
static int uv__fs_lstat (const char *path, uv_stat_t *buf)
 
static ssize_t uv__fs_lutime (uv_fs_t *req)
 
static ssize_t uv__fs_mkdtemp (uv_fs_t *req)
 
static int uv__fs_mkstemp (uv_fs_t *req)
 
static ssize_t uv__fs_open (uv_fs_t *req)
 
static int uv__fs_opendir (uv_fs_t *req)
 
static ssize_t uv__fs_pathmax_size (const char *path)
 
static ssize_t uv__fs_preadv (uv_file fd, uv_buf_t *bufs, unsigned int nbufs, off_t off)
 
static ssize_t uv__fs_read (uv_fs_t *req)
 
static int uv__fs_readdir (uv_fs_t *req)
 
static ssize_t uv__fs_readlink (uv_fs_t *req)
 
static ssize_t uv__fs_realpath (uv_fs_t *req)
 
static ssize_t uv__fs_scandir (uv_fs_t *req)
 
static int uv__fs_scandir_filter (UV_CONST_DIRENT *dent)
 
static int uv__fs_scandir_sort (UV_CONST_DIRENT **a, UV_CONST_DIRENT **b)
 
static ssize_t uv__fs_sendfile (uv_fs_t *req)
 
static ssize_t uv__fs_sendfile_emul (uv_fs_t *req)
 
static int uv__fs_stat (const char *path, uv_stat_t *buf)
 
static int uv__fs_statfs (uv_fs_t *req)
 
static int uv__fs_statx (int fd, const char *path, int is_fstat, int is_lstat, uv_stat_t *buf)
 
static ssize_t uv__fs_utime (uv_fs_t *req)
 
static void uv__fs_work (struct uv__work *w)
 
static ssize_t uv__fs_write (uv_fs_t *req)
 
static ssize_t uv__fs_write_all (uv_fs_t *req)
 
static void uv__mkostemp_initonce (void)
 
static void uv__to_stat (struct stat *src, uv_stat_t *dst)
 
int uv_fs_access (uv_loop_t *loop, uv_fs_t *req, const char *path, int flags, uv_fs_cb cb)
 
int uv_fs_chmod (uv_loop_t *loop, uv_fs_t *req, const char *path, int mode, uv_fs_cb cb)
 
int uv_fs_chown (uv_loop_t *loop, uv_fs_t *req, const char *path, uv_uid_t uid, uv_gid_t gid, uv_fs_cb cb)
 
int uv_fs_close (uv_loop_t *loop, uv_fs_t *req, uv_file file, uv_fs_cb cb)
 
int uv_fs_closedir (uv_loop_t *loop, uv_fs_t *req, uv_dir_t *dir, uv_fs_cb cb)
 
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)
 
int uv_fs_fchmod (uv_loop_t *loop, uv_fs_t *req, uv_file file, int mode, uv_fs_cb cb)
 
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 cb)
 
int uv_fs_fdatasync (uv_loop_t *loop, uv_fs_t *req, uv_file file, uv_fs_cb cb)
 
int uv_fs_fstat (uv_loop_t *loop, uv_fs_t *req, uv_file file, uv_fs_cb cb)
 
int uv_fs_fsync (uv_loop_t *loop, uv_fs_t *req, uv_file file, uv_fs_cb cb)
 
int uv_fs_ftruncate (uv_loop_t *loop, uv_fs_t *req, uv_file file, int64_t off, uv_fs_cb cb)
 
int uv_fs_futime (uv_loop_t *loop, uv_fs_t *req, uv_file file, double atime, double mtime, uv_fs_cb cb)
 
int uv_fs_lchown (uv_loop_t *loop, uv_fs_t *req, const char *path, uv_uid_t uid, uv_gid_t gid, uv_fs_cb cb)
 
int uv_fs_link (uv_loop_t *loop, uv_fs_t *req, const char *path, const char *new_path, uv_fs_cb cb)
 
int uv_fs_lstat (uv_loop_t *loop, uv_fs_t *req, const char *path, uv_fs_cb cb)
 
int uv_fs_lutime (uv_loop_t *loop, uv_fs_t *req, const char *path, double atime, double mtime, uv_fs_cb cb)
 
int uv_fs_mkdir (uv_loop_t *loop, uv_fs_t *req, const char *path, int mode, uv_fs_cb cb)
 
int uv_fs_mkdtemp (uv_loop_t *loop, uv_fs_t *req, const char *tpl, uv_fs_cb cb)
 
int uv_fs_mkstemp (uv_loop_t *loop, uv_fs_t *req, const char *tpl, uv_fs_cb cb)
 
int uv_fs_open (uv_loop_t *loop, uv_fs_t *req, const char *path, int flags, int mode, uv_fs_cb cb)
 
int uv_fs_opendir (uv_loop_t *loop, uv_fs_t *req, const char *path, uv_fs_cb cb)
 
int uv_fs_read (uv_loop_t *loop, uv_fs_t *req, uv_file file, const uv_buf_t bufs[], unsigned int nbufs, int64_t off, uv_fs_cb cb)
 
int uv_fs_readdir (uv_loop_t *loop, uv_fs_t *req, uv_dir_t *dir, uv_fs_cb cb)
 
int uv_fs_readlink (uv_loop_t *loop, uv_fs_t *req, const char *path, uv_fs_cb cb)
 
int uv_fs_realpath (uv_loop_t *loop, uv_fs_t *req, const char *path, uv_fs_cb cb)
 
int uv_fs_rename (uv_loop_t *loop, uv_fs_t *req, const char *path, const char *new_path, uv_fs_cb cb)
 
void uv_fs_req_cleanup (uv_fs_t *req)
 
int uv_fs_rmdir (uv_loop_t *loop, uv_fs_t *req, const char *path, uv_fs_cb cb)
 
int uv_fs_scandir (uv_loop_t *loop, uv_fs_t *req, const char *path, int flags, uv_fs_cb cb)
 
int uv_fs_sendfile (uv_loop_t *loop, uv_fs_t *req, uv_file out_fd, uv_file in_fd, int64_t off, size_t len, uv_fs_cb cb)
 
int uv_fs_stat (uv_loop_t *loop, uv_fs_t *req, const char *path, uv_fs_cb cb)
 
int uv_fs_statfs (uv_loop_t *loop, uv_fs_t *req, const char *path, uv_fs_cb cb)
 
int uv_fs_symlink (uv_loop_t *loop, uv_fs_t *req, const char *path, const char *new_path, int flags, uv_fs_cb cb)
 
int uv_fs_unlink (uv_loop_t *loop, uv_fs_t *req, const char *path, uv_fs_cb cb)
 
int uv_fs_utime (uv_loop_t *loop, uv_fs_t *req, const char *path, double atime, double mtime, uv_fs_cb cb)
 
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 off, uv_fs_cb cb)
 
 UV_UNUSED (static struct timespec uv__fs_to_timespec(double time))
 
 UV_UNUSED (static struct timeval uv__fs_to_timeval(double time))
 

Variables

static int(* uv__mkostemp )(char *, int)
 

Macro Definition Documentation

◆ HAVE_PREADV

#define HAVE_PREADV   0

Definition at line 56 of file unix/fs.c.

◆ INIT

#define INIT (   subtype)
Value:
do { \
if (req == NULL) \
return UV_EINVAL; \
UV_REQ_INIT(req, UV_FS); \
req->fs_type = UV_FS_ ## subtype; \
req->result = 0; \
req->ptr = NULL; \
req->loop = loop; \
req->path = NULL; \
req->new_path = NULL; \
req->bufs = NULL; \
req->cb = cb; \
} \
while (0)

Definition at line 92 of file unix/fs.c.

◆ PATH

#define PATH
Value:
do { \
assert(path != NULL); \
if (cb == NULL) { \
req->path = path; \
} else { \
req->path = uv__strdup(path); \
if (req->path == NULL) \
return UV_ENOMEM; \
} \
} \
while (0)

Definition at line 108 of file unix/fs.c.

◆ PATH2

#define PATH2
Value:
do { \
if (cb == NULL) { \
req->path = path; \
req->new_path = new_path; \
} else { \
size_t path_len; \
size_t new_path_len; \
path_len = strlen(path) + 1; \
new_path_len = strlen(new_path) + 1; \
req->path = uv__malloc(path_len + new_path_len); \
if (req->path == NULL) \
return UV_ENOMEM; \
req->new_path = req->path + path_len; \
memcpy((void*) req->path, path, path_len); \
memcpy((void*) req->new_path, new_path, new_path_len); \
} \
} \
while (0)

Definition at line 121 of file unix/fs.c.

◆ POST

#define POST
Value:
do { \
if (cb != NULL) { \
uv__req_register(loop, req); \
uv__work_submit(loop, \
&req->work_req, \
return 0; \
} \
else { \
uv__fs_work(&req->work_req); \
return req->result; \
} \
} \
while (0)

Definition at line 141 of file unix/fs.c.

◆ UV_CONST_DIRENT

#define UV_CONST_DIRENT   const uv__dirent_t

Definition at line 510 of file unix/fs.c.

◆ X

#define X (   type,
  action 
)
Value:
case UV_FS_ ## type: \
r = action; \
break;

Function Documentation

◆ uv__fs_buf_offset()

static size_t uv__fs_buf_offset ( uv_buf_t bufs,
size_t  size 
)
static

Definition at line 1466 of file unix/fs.c.

◆ uv__fs_close()

static int uv__fs_close ( int  fd)
static

Definition at line 160 of file unix/fs.c.

◆ uv__fs_closedir()

static int uv__fs_closedir ( uv_fs_t req)
static

Definition at line 615 of file unix/fs.c.

◆ uv__fs_copyfile()

static ssize_t uv__fs_copyfile ( uv_fs_t req)
static

Definition at line 1104 of file unix/fs.c.

◆ uv__fs_done()

static void uv__fs_done ( struct uv__work w,
int  status 
)
static

Definition at line 1598 of file unix/fs.c.

◆ uv__fs_fdatasync()

static ssize_t uv__fs_fdatasync ( uv_fs_t req)
static

Definition at line 196 of file unix/fs.c.

◆ uv__fs_fstat()

static int uv__fs_fstat ( int  fd,
uv_stat_t buf 
)
static

Definition at line 1451 of file unix/fs.c.

◆ uv__fs_fsync()

static ssize_t uv__fs_fsync ( uv_fs_t req)
static

Definition at line 172 of file unix/fs.c.

◆ uv__fs_futime()

static ssize_t uv__fs_futime ( uv_fs_t req)
static

Definition at line 222 of file unix/fs.c.

◆ uv__fs_lstat()

static int uv__fs_lstat ( const char *  path,
uv_stat_t buf 
)
static

Definition at line 1435 of file unix/fs.c.

◆ uv__fs_lutime()

static ssize_t uv__fs_lutime ( uv_fs_t req)
static

Definition at line 1019 of file unix/fs.c.

◆ uv__fs_mkdtemp()

static ssize_t uv__fs_mkdtemp ( uv_fs_t req)
static

Definition at line 267 of file unix/fs.c.

◆ uv__fs_mkstemp()

static int uv__fs_mkstemp ( uv_fs_t req)
static

Definition at line 291 of file unix/fs.c.

◆ uv__fs_open()

static ssize_t uv__fs_open ( uv_fs_t req)
static

Definition at line 358 of file unix/fs.c.

◆ uv__fs_opendir()

static int uv__fs_opendir ( uv_fs_t req)
static

Definition at line 549 of file unix/fs.c.

◆ uv__fs_pathmax_size()

static ssize_t uv__fs_pathmax_size ( const char *  path)
static

Definition at line 664 of file unix/fs.c.

◆ uv__fs_preadv()

static ssize_t uv__fs_preadv ( uv_file  fd,
uv_buf_t bufs,
unsigned int  nbufs,
off_t  off 
)
static

Definition at line 388 of file unix/fs.c.

◆ uv__fs_read()

static ssize_t uv__fs_read ( uv_fs_t req)
static

Definition at line 437 of file unix/fs.c.

◆ uv__fs_readdir()

static int uv__fs_readdir ( uv_fs_t req)
static

Definition at line 569 of file unix/fs.c.

◆ uv__fs_readlink()

static ssize_t uv__fs_readlink ( uv_fs_t req)
static

Definition at line 675 of file unix/fs.c.

◆ uv__fs_realpath()

static ssize_t uv__fs_realpath ( uv_fs_t req)
static

Definition at line 734 of file unix/fs.c.

◆ uv__fs_scandir()

static ssize_t uv__fs_scandir ( uv_fs_t req)
static

Definition at line 524 of file unix/fs.c.

◆ uv__fs_scandir_filter()

static int uv__fs_scandir_filter ( UV_CONST_DIRENT dent)
static

Definition at line 514 of file unix/fs.c.

◆ uv__fs_scandir_sort()

static int uv__fs_scandir_sort ( UV_CONST_DIRENT **  a,
UV_CONST_DIRENT **  b 
)
static

Definition at line 519 of file unix/fs.c.

◆ uv__fs_sendfile()

static ssize_t uv__fs_sendfile ( uv_fs_t req)
static

Definition at line 877 of file unix/fs.c.

◆ uv__fs_sendfile_emul()

static ssize_t uv__fs_sendfile_emul ( uv_fs_t req)
static

Definition at line 763 of file unix/fs.c.

◆ uv__fs_stat()

static int uv__fs_stat ( const char *  path,
uv_stat_t buf 
)
static

Definition at line 1419 of file unix/fs.c.

◆ uv__fs_statfs()

static int uv__fs_statfs ( uv_fs_t req)
static

Definition at line 630 of file unix/fs.c.

◆ uv__fs_statx()

static int uv__fs_statx ( int  fd,
const char *  path,
int  is_fstat,
int  is_lstat,
uv_stat_t buf 
)
static

Definition at line 1340 of file unix/fs.c.

◆ uv__fs_utime()

static ssize_t uv__fs_utime ( uv_fs_t req)
static

Definition at line 976 of file unix/fs.c.

◆ uv__fs_work()

static void uv__fs_work ( struct uv__work w)
static

Definition at line 1526 of file unix/fs.c.

◆ uv__fs_write()

static ssize_t uv__fs_write ( uv_fs_t req)
static

Definition at line 1044 of file unix/fs.c.

◆ uv__fs_write_all()

static ssize_t uv__fs_write_all ( uv_fs_t req)
static

Definition at line 1480 of file unix/fs.c.

◆ uv__mkostemp_initonce()

static void uv__mkostemp_initonce ( void  )
static

Definition at line 275 of file unix/fs.c.

◆ uv__to_stat()

static void uv__to_stat ( struct stat src,
uv_stat_t dst 
)
static

Definition at line 1263 of file unix/fs.c.

◆ uv_fs_access()

int uv_fs_access ( uv_loop_t loop,
uv_fs_t req,
const char *  path,
int  flags,
uv_fs_cb  cb 
)

Definition at line 1613 of file unix/fs.c.

◆ uv_fs_chmod()

int uv_fs_chmod ( uv_loop_t loop,
uv_fs_t req,
const char *  path,
int  mode,
uv_fs_cb  cb 
)

Definition at line 1625 of file unix/fs.c.

◆ uv_fs_chown()

int uv_fs_chown ( uv_loop_t loop,
uv_fs_t req,
const char *  path,
uv_uid_t  uid,
uv_gid_t  gid,
uv_fs_cb  cb 
)

Definition at line 1637 of file unix/fs.c.

◆ uv_fs_close()

int uv_fs_close ( uv_loop_t loop,
uv_fs_t req,
uv_file  file,
uv_fs_cb  cb 
)

Definition at line 1651 of file unix/fs.c.

◆ uv_fs_closedir()

int uv_fs_closedir ( uv_loop_t loop,
uv_fs_t req,
uv_dir_t dir,
uv_fs_cb  cb 
)

Definition at line 1887 of file unix/fs.c.

◆ uv_fs_copyfile()

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 
)

Definition at line 2057 of file unix/fs.c.

◆ uv_fs_fchmod()

int uv_fs_fchmod ( uv_loop_t loop,
uv_fs_t req,
uv_file  file,
int  mode,
uv_fs_cb  cb 
)

Definition at line 1658 of file unix/fs.c.

◆ uv_fs_fchown()

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  cb 
)

Definition at line 1670 of file unix/fs.c.

◆ uv_fs_fdatasync()

int uv_fs_fdatasync ( uv_loop_t loop,
uv_fs_t req,
uv_file  file,
uv_fs_cb  cb 
)

Definition at line 1698 of file unix/fs.c.

◆ uv_fs_fstat()

int uv_fs_fstat ( uv_loop_t loop,
uv_fs_t req,
uv_file  file,
uv_fs_cb  cb 
)

Definition at line 1705 of file unix/fs.c.

◆ uv_fs_fsync()

int uv_fs_fsync ( uv_loop_t loop,
uv_fs_t req,
uv_file  file,
uv_fs_cb  cb 
)

Definition at line 1712 of file unix/fs.c.

◆ uv_fs_ftruncate()

int uv_fs_ftruncate ( uv_loop_t loop,
uv_fs_t req,
uv_file  file,
int64_t  off,
uv_fs_cb  cb 
)

Definition at line 1719 of file unix/fs.c.

◆ uv_fs_futime()

int uv_fs_futime ( uv_loop_t loop,
uv_fs_t req,
uv_file  file,
double  atime,
double  mtime,
uv_fs_cb  cb 
)

Definition at line 1731 of file unix/fs.c.

◆ uv_fs_lchown()

int uv_fs_lchown ( uv_loop_t loop,
uv_fs_t req,
const char *  path,
uv_uid_t  uid,
uv_gid_t  gid,
uv_fs_cb  cb 
)

Definition at line 1684 of file unix/fs.c.

◆ uv_fs_link()

int uv_fs_link ( uv_loop_t loop,
uv_fs_t req,
const char *  path,
const char *  new_path,
uv_fs_cb  cb 
)

Definition at line 1765 of file unix/fs.c.

◆ uv_fs_lstat()

int uv_fs_lstat ( uv_loop_t loop,
uv_fs_t req,
const char *  path,
uv_fs_cb  cb 
)

Definition at line 1758 of file unix/fs.c.

◆ uv_fs_lutime()

int uv_fs_lutime ( uv_loop_t loop,
uv_fs_t req,
const char *  path,
double  atime,
double  mtime,
uv_fs_cb  cb 
)

Definition at line 1744 of file unix/fs.c.

◆ uv_fs_mkdir()

int uv_fs_mkdir ( uv_loop_t loop,
uv_fs_t req,
const char *  path,
int  mode,
uv_fs_cb  cb 
)

Definition at line 1776 of file unix/fs.c.

◆ uv_fs_mkdtemp()

int uv_fs_mkdtemp ( uv_loop_t loop,
uv_fs_t req,
const char *  tpl,
uv_fs_cb  cb 
)

Definition at line 1788 of file unix/fs.c.

◆ uv_fs_mkstemp()

int uv_fs_mkstemp ( uv_loop_t loop,
uv_fs_t req,
const char *  tpl,
uv_fs_cb  cb 
)

Definition at line 1800 of file unix/fs.c.

◆ uv_fs_open()

int uv_fs_open ( uv_loop_t loop,
uv_fs_t req,
const char *  path,
int  flags,
int  mode,
uv_fs_cb  cb 
)

Definition at line 1812 of file unix/fs.c.

◆ uv_fs_opendir()

int uv_fs_opendir ( uv_loop_t loop,
uv_fs_t req,
const char *  path,
uv_fs_cb  cb 
)

Definition at line 1865 of file unix/fs.c.

◆ uv_fs_read()

int uv_fs_read ( uv_loop_t loop,
uv_fs_t req,
uv_file  file,
const uv_buf_t  bufs[],
unsigned int  nbufs,
int64_t  off,
uv_fs_cb  cb 
)

Definition at line 1826 of file unix/fs.c.

◆ uv_fs_readdir()

int uv_fs_readdir ( uv_loop_t loop,
uv_fs_t req,
uv_dir_t dir,
uv_fs_cb  cb 
)

Definition at line 1874 of file unix/fs.c.

◆ uv_fs_readlink()

int uv_fs_readlink ( uv_loop_t loop,
uv_fs_t req,
const char *  path,
uv_fs_cb  cb 
)

Definition at line 1900 of file unix/fs.c.

◆ uv_fs_realpath()

int uv_fs_realpath ( uv_loop_t loop,
uv_fs_t req,
const char *  path,
uv_fs_cb  cb 
)

Definition at line 1910 of file unix/fs.c.

◆ uv_fs_rename()

int uv_fs_rename ( uv_loop_t loop,
uv_fs_t req,
const char *  path,
const char *  new_path,
uv_fs_cb  cb 
)

Definition at line 1920 of file unix/fs.c.

◆ uv_fs_req_cleanup()

void uv_fs_req_cleanup ( uv_fs_t req)

Definition at line 2024 of file unix/fs.c.

◆ uv_fs_rmdir()

int uv_fs_rmdir ( uv_loop_t loop,
uv_fs_t req,
const char *  path,
uv_fs_cb  cb 
)

Definition at line 1931 of file unix/fs.c.

◆ uv_fs_scandir()

int uv_fs_scandir ( uv_loop_t loop,
uv_fs_t req,
const char *  path,
int  flags,
uv_fs_cb  cb 
)

Definition at line 1854 of file unix/fs.c.

◆ uv_fs_sendfile()

int uv_fs_sendfile ( uv_loop_t loop,
uv_fs_t req,
uv_file  out_fd,
uv_file  in_fd,
int64_t  off,
size_t  len,
uv_fs_cb  cb 
)

Definition at line 1938 of file unix/fs.c.

◆ uv_fs_stat()

int uv_fs_stat ( uv_loop_t loop,
uv_fs_t req,
const char *  path,
uv_fs_cb  cb 
)

Definition at line 1954 of file unix/fs.c.

◆ uv_fs_statfs()

int uv_fs_statfs ( uv_loop_t loop,
uv_fs_t req,
const char *  path,
uv_fs_cb  cb 
)

Definition at line 2077 of file unix/fs.c.

◆ uv_fs_symlink()

int uv_fs_symlink ( uv_loop_t loop,
uv_fs_t req,
const char *  path,
const char *  new_path,
int  flags,
uv_fs_cb  cb 
)

Definition at line 1961 of file unix/fs.c.

◆ uv_fs_unlink()

int uv_fs_unlink ( uv_loop_t loop,
uv_fs_t req,
const char *  path,
uv_fs_cb  cb 
)

Definition at line 1974 of file unix/fs.c.

◆ uv_fs_utime()

int uv_fs_utime ( uv_loop_t loop,
uv_fs_t req,
const char *  path,
double  atime,
double  mtime,
uv_fs_cb  cb 
)

Definition at line 1981 of file unix/fs.c.

◆ uv_fs_write()

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  off,
uv_fs_cb  cb 
)

Definition at line 1995 of file unix/fs.c.

◆ UV_UNUSED() [1/2]

UV_UNUSED ( static struct timespec   uv__fs_to_timespecdouble time)

Definition at line 208 of file unix/fs.c.

◆ UV_UNUSED() [2/2]

UV_UNUSED ( static struct timeval   uv__fs_to_timevaldouble time)

Definition at line 215 of file unix/fs.c.

Variable Documentation

◆ uv__mkostemp

int(* uv__mkostemp) (char *, int)
static

Definition at line 272 of file unix/fs.c.

async_greeter_server_with_graceful_shutdown.loop
loop
Definition: async_greeter_server_with_graceful_shutdown.py:59
uv__fs_work
static void uv__fs_work(struct uv__work *w)
Definition: unix/fs.c:1526
uv__fs_done
static void uv__fs_done(struct uv__work *w, int status)
Definition: unix/fs.c:1598
uv__malloc
void * uv__malloc(size_t size)
Definition: uv-common.c:75
check_documentation.path
path
Definition: check_documentation.py:57
req
static uv_connect_t req
Definition: test-connection-fail.c:30
uv__strdup
char * uv__strdup(const char *s)
Definition: uv-common.c:55
client.action
action
Definition: examples/python/xds/client.py:49
UV__WORK_FAST_IO
@ UV__WORK_FAST_IO
Definition: uv-common.h:180
asyncio_get_stats.type
type
Definition: asyncio_get_stats.py:37
cb
OPENSSL_EXPORT pem_password_cb * cb
Definition: pem.h:351


grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:13