Functions | Variables
test-close-fd.c File Reference
#include "uv.h"
#include "task.h"
#include <fcntl.h>
#include <unistd.h>
Include dependency graph for test-close-fd.c:

Go to the source code of this file.

Functions

static void alloc_cb (uv_handle_t *handle, size_t size, uv_buf_t *buf)
 
static void read_cb (uv_stream_t *handle, ssize_t nread, const uv_buf_t *buf)
 
 TEST_IMPL (close_fd)
 

Variables

static unsigned int read_cb_called
 

Function Documentation

◆ alloc_cb()

static void alloc_cb ( uv_handle_t handle,
size_t  size,
uv_buf_t buf 
)
static

Definition at line 31 of file test-close-fd.c.

◆ read_cb()

static void read_cb ( uv_stream_t handle,
ssize_t  nread,
const uv_buf_t buf 
)
static

Definition at line 37 of file test-close-fd.c.

◆ TEST_IMPL()

TEST_IMPL ( close_fd  )

Definition at line 52 of file test-close-fd.c.

Variable Documentation

◆ read_cb_called

unsigned int read_cb_called
static

Definition at line 29 of file test-close-fd.c.



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