Functions | Variables
libuv/docs/code/uvcat/main.c File Reference
#include <assert.h>
#include <stdio.h>
#include <fcntl.h>
#include <unistd.h>
#include <uv.h>
Include dependency graph for libuv/docs/code/uvcat/main.c:

Go to the source code of this file.

Functions

int main (int argc, char **argv)
 
void on_open (uv_fs_t *req)
 
void on_read (uv_fs_t *req)
 
void on_write (uv_fs_t *req)
 

Variables

static char buffer [1024]
 
static uv_buf_t iov
 
uv_fs_t open_req
 
uv_fs_t read_req
 
uv_fs_t write_req
 

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 55 of file libuv/docs/code/uvcat/main.c.

◆ on_open()

void on_open ( uv_fs_t req)

Definition at line 41 of file libuv/docs/code/uvcat/main.c.

◆ on_read()

void on_read ( uv_fs_t req)

Definition at line 26 of file libuv/docs/code/uvcat/main.c.

◆ on_write()

void on_write ( uv_fs_t req)

Definition at line 17 of file libuv/docs/code/uvcat/main.c.

Variable Documentation

◆ buffer

char buffer[1024]
static

Definition at line 13 of file libuv/docs/code/uvcat/main.c.

◆ iov

uv_buf_t iov
static

Definition at line 15 of file libuv/docs/code/uvcat/main.c.

◆ open_req

uv_fs_t open_req

Definition at line 9 of file libuv/docs/code/uvcat/main.c.

◆ read_req

uv_fs_t read_req

Definition at line 10 of file libuv/docs/code/uvcat/main.c.

◆ write_req

Definition at line 11 of file libuv/docs/code/uvcat/main.c.



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